rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups Pages
get_leafgids.m
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
4 % elements
5 %
6 % Return values:
7 % vector of global leaf indices
8 %
9 % Bernard Haasdonk 27.3.2007
10 
11 gids = find(grid.isleaf);
12 
13 end