Overture  Version 25
Macros
cutHolesNewer.C File Reference
#include "Overture.h"
#include "Ogen.h"
#include "display.h"
#include "conversion.h"
#include "ParallelUtility.h"
Include dependency graph for cutHolesNewer.C:

Macros

#define GET_LOCAL(type, xd, xs)   type ## SerialArray & xs = xd
 
#define GET_LOCAL_CONST(type, xd, xs)   const type ## SerialArray & xs = xd
 
#define FOR_3(i1, i2, i3, I1, I2, I3)   I1Base=I1.getBase(); I2Base=I2.getBase(); I3Base=I3.getBase();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++ )
 
#define FOR_3D(i1, i2, i3, I1, I2, I3)   int I1Base,I2Base,I3Base;int I1Bound,I2Bound,I3Bound;I1Base=I1.getBase(); I2Base=I2.getBase(); I3Base=I3.getBase();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++ )
 
#define holeMarker(axis)   pHoleMarker[axis]
 
#define XV(iv, axis)   (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))
 
#define pxBoundary(side, axis, grid)   (ppxBoundary[(side)+2*((axis)+numberOfDimensions*(grid))])
 
#define xBoundary(side, axis, grid)   (*pxBoundary(side,axis,grid))
 
#define RB(i0, i1, i2, i3)   rbp[i0+rbDim0*(i1+rbDim1*(i2+rbDim2*(i3)))]
 
#define XV(iv, axis)   (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))
 
#define R(i0, i1, i2, i3)   rp[i0+rDim0*(i1+rDim1*(i2+rDim2*(i3)))]
 
#define RR(i0, i1)   rrp[i0+rrDim0*(i1)]
 
#define X(i0, i1)   xp[i0+xDim0*(i1)]
 
#define IA(i0, i1)   iap[i0+iaDim0*(i1)]
 
#define XC2(iv, axis)   (xab2[0][axis]+dvx2[axis]*(iv[axis]-iv20[axis]))
 
#define indexRange2(side, axis)   pIndexRange2[(side)+2*(axis)]
 
#define extendedIndexRange2(side, axis)   pExtendedIndexRange2[(side)+2*(axis)]
 
#define gridSpacing2(axis)   pGridSpacing2[axis]
 
#define localIndexBounds2(side, axis)   plocalIndexBounds2[(side)+2*(axis)]
 
#define XR(m, n)   xra[n][m]
 
#define XC(iv, axis)   (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))
 

Macro Definition Documentation

#define extendedIndexRange2 (   side,
  axis 
)    pExtendedIndexRange2[(side)+2*(axis)]
#define FOR_3 (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)    I1Base=I1.getBase(); I2Base=I2.getBase(); I3Base=I3.getBase();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 Ogen::cutHolesNewer().

#define FOR_3D (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)    int I1Base,I2Base,I3Base;int I1Bound,I2Bound,I3Bound;I1Base=I1.getBase(); I2Base=I2.getBase(); I3Base=I3.getBase();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 Ogen::cutHolesNewer().

#define GET_LOCAL (   type,
  xd,
  xs 
)    type ## SerialArray & xs = xd

Referenced by Ogen::cutHolesNewer().

#define GET_LOCAL_CONST (   type,
  xd,
  xs 
)    const type ## SerialArray & xs = xd

Referenced by Ogen::cutHolesNewer().

#define gridSpacing2 (   axis)    pGridSpacing2[axis]
#define holeMarker (   axis)    pHoleMarker[axis]
#define IA (   i0,
  i1 
)    iap[i0+iaDim0*(i1)]
#define indexRange2 (   side,
  axis 
)    pIndexRange2[(side)+2*(axis)]
#define localIndexBounds2 (   side,
  axis 
)    plocalIndexBounds2[(side)+2*(axis)]
#define pxBoundary (   side,
  axis,
  grid 
)    (ppxBoundary[(side)+2*((axis)+numberOfDimensions*(grid))])
#define R (   i0,
  i1,
  i2,
  i3 
)    rp[i0+rDim0*(i1+rDim1*(i2+rDim2*(i3)))]
#define RB (   i0,
  i1,
  i2,
  i3 
)    rbp[i0+rbDim0*(i1+rbDim1*(i2+rbDim2*(i3)))]
#define RR (   i0,
  i1 
)    rrp[i0+rrDim0*(i1)]
#define X (   i0,
  i1 
)    xp[i0+xDim0*(i1)]
#define xBoundary (   side,
  axis,
  grid 
)    (*pxBoundary(side,axis,grid))
#define XC (   iv,
  axis 
)    (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))
#define XC2 (   iv,
  axis 
)    (xab2[0][axis]+dvx2[axis]*(iv[axis]-iv20[axis]))
#define XR (   m,
 
)    xra[n][m]
#define XV (   iv,
  axis 
)    (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))
#define XV (   iv,
  axis 
)    (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))