rbmatlab 0.10.01
grid/@cubegrid/get_leafgids.m
00001 function gids = get_leafgids(grid)
00002 %function gids = get_leafgids(grid)
00003 % return leaf ids of cubegrid, i.e. vector with global element indices of leaf
00004 % elements
00005 %
00006 % Return values:
00007 %  vector of global leaf indices
00008 %
00009 % Bernard Haasdonk 27.3.2007
00010   
00011 gids = find(grid.isleaf);  
00012 
00013 end
All Classes Namespaces Files Functions Variables