amroc/hds/GridFunctionIndex.h File Reference

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   } } }

Detailed Description

Looping over all GridDataBlock inside GridFunction.

Author:
Manish Parashar

Define Documentation

#define end_forallBB   } } }
#define forall ( gf,
t,
l,
 ) 
Value:
{                                           \
   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   ) 
Value:
{                              \
   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 {
Generated on Thu Jun 30 02:19:00 2016 for AMROC's Hierachical Data Structures by  doxygen 1.6.3