Looping over all GridDataBlock inside GridFunction. More...
#include "generic.h"
Go to the source code of this file.
Defines | |
#define | forall(gf, t, l, c) |
#define | forallBB(gf, t, l, c, where, bb) |
#define | end_forallBB } } } |
Looping over all GridDataBlock inside GridFunction.
#define end_forallBB } } } |
#define forall | ( | gf, | |||
t, | |||||
l, | |||||
c | ) |
{ \ const int name2(c,_CU) = (gf).len(l); \ for (int c = 0; c < name2(c,_CU); c++) { \ if(!(gf).exists(t,l,c)) ; else {
Referenced by DAGHCluster().
#define forallBB | ( | gf, | |||
t, | |||||
l, | |||||
c, | |||||
where, | |||||
bb | ) |
{ \ const int name2(gf,_CU) = (gf).len(l); \ for (int c = 0; c < name2(gf,_CU); c++) { \ if(!(gf).exists(t,l,c) || \ ((bb)=(where)*((gf).databbox(t,l,c))).empty()) ; else {