1 function gids = get_leafgids(grid)
2 %
function gids = get_leafgids(grid)
3 %
return leaf ids of
cubegrid, i.e. vector with global element indices of
leaf
7 % vector of global
leaf indices
9 % Bernard Haasdonk 27.3.2007
11 gids = find(grid.isleaf);
A hierarchical cubegrid of arbitrary dimension.