Overture  Version 25
Macros
mappingUtil.C File Reference
#include "Mapping.h"
#include "ParallelUtility.h"
Include dependency graph for mappingUtil.C:

Macros

#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define X(i1, i2, i3, m)   xyp[(i1)+xyDim0*(i2+xyDim1*(i3+xyDim2*(m)))]
 
#define DS(i)   dsp[i]
 
#define X(i1, m)   xyp[(i1)+xyDim0*(m)]
 
#define U(i0, i1, i2, i3)   up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
 

Macro Definition Documentation

#define DS (   i)    dsp[i]
#define FOR_3D (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); \
int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); \
for(i3=I3Base; i3<=I3Bound; i3++) \
for(i2=I2Base; i2<=I2Bound; i2++) \
for(i1=I1Base; i1<=I1Bound; i1++)

Referenced by Mapping::getGridMinAndMax().

#define U (   i0,
  i1,
  i2,
  i3 
)    up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
#define X (   i1,
  i2,
  i3,
 
)    xyp[(i1)+xyDim0*(i2+xyDim1*(i3+xyDim2*(m)))]
#define X (   i1,
 
)    xyp[(i1)+xyDim0*(m)]