Overture  Version 25
Macros | Typedefs
boundaryAdjustment.C File Reference
#include "Ogen.h"
#include "conversion.h"
#include "display.h"
#include "ParallelUtility.h"
Include dependency graph for boundaryAdjustment.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)
 
#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define FOR_3IJD(i1, i2, i3, I1, I2, I3, j1, j2, j3, J1, J2, J3)
 
#define XV1(iv, axis)   (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))
 
#define RB(i0, i1, i2, i3)   rbp[i0+rbDim0*(i1+rbDim1*(i2+rbDim2*(i3)))]
 
#define XV1(iv, axis)   (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))
 

Typedefs

typedef TrivialArray
< BoundaryAdjustment, Range > 
BoundaryAdjustmentArray
 
typedef TrivialArray
< BoundaryAdjustmentArray,
Range > 
BoundaryAdjustmentArray2
 

Macro Definition Documentation

#define FOR_3 (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
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 
)
Value:
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::getAdjustmentVectors(), and Ogen::updateBoundaryAdjustment().

#define FOR_3IJD (   i1,
  i2,
  i3,
  I1,
  I2,
  I3,
  j1,
  j2,
  j3,
  J1,
  J2,
  J3 
)
Value:
int I1Base =I1.getBase(), I2Base =I2.getBase(), I3Base =I3.getBase(); \
int I1Bound=I1.getBound(), I2Bound=I2.getBound(), I3Bound=I3.getBound(); \
int J1Base =J1.getBase(), J2Base =J2.getBase(), J3Base =J3.getBase(); \
for(i3=I3Base,j3=J3Base; i3<=I3Bound; i3++,j3++) \
for(i2=I2Base,j2=J2Base; i2<=I2Bound; i2++,j2++) \
for(i1=I1Base,j1=J1Base; i1<=I1Bound; i1++,j1++)

Referenced by Ogen::getAdjustmentVectors().

#define GET_LOCAL (   type,
  xd,
  xs 
)    type ## SerialArray & xs = xd
#define GET_LOCAL_CONST (   type,
  xd,
  xs 
)    const type ## SerialArray & xs = xd
#define RB (   i0,
  i1,
  i2,
  i3 
)    rbp[i0+rbDim0*(i1+rbDim1*(i2+rbDim2*(i3)))]
#define XV1 (   iv,
  axis 
)    (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))
#define XV1 (   iv,
  axis 
)    (xab[0][axis]+dvx[axis]*(iv[axis]-iv0[axis]))

Typedef Documentation