Loop over all GridFunction. More...
#include "generic.h"
Go to the source code of this file.
Defines | |
#define | foreachGF(gh, gf, DIM, Type) |
#define | end_foreachGF } } } |
Loop over all GridFunction.
#define end_foreachGF } } } |
#define foreachGF | ( | gh, | |||
gf, | |||||
DIM, | |||||
Type | ) |
{ \ const int name2(faGF,_GFNUM) = (gh).gfnum; \ for (int gfid = 0; gfid < name2(faGF,_GFNUM); gfid++) { \ if(!(gh).gflist[gfid]) ; else { \ GridFunction(DIM)<Type> & gf = \ *((GridFunction(DIM)<Type> *) gh.gflist[gfid]);