Overture  Version 25
Macros
neumann.C File Reference
#include "MappedGridOperators.h"
#include "SparseRep.h"
#include "display.h"
#include "MappedGridOperatorsInclude.h"
#include "ParallelUtility.h"
#include "assignBoundaryConditions.h"
Include dependency graph for neumann.C:

Macros

#define FOR_4D(m, i1, i2, i3, M, I1, I2, I3)
 
#define FOR_4(m, i1, i2, i3, M, I1, I2, I3)
 
#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define FOR_3(i1, i2, i3, I1, I2, I3)
 
#define NORMAL(i0, i1, i2, i3)   normalp[i0+normalDim0*(i1+normalDim1*(i2+normalDim2*(i3)))]
 
#define OPX(i0, i1, i2, i3)   opXp[i0+opXDim0*(i1+opXDim1*(i2+opXDim2*(i3)))]
 
#define NMCOEFF(i0, i1, i2, i3)   nmCoeffp[i0+nmCoeffDim0*(i1+nmCoeffDim1*(i2+nmCoeffDim2*(i3)))]
 
#define M2(m1, m2)   ((m1)+1+3*((m2)+1))
 
#define M3(m1, m2, m3)   ((m1)+1+3*((m2)+1+3*((m3)+1)))
 
#define coeffSaved(side, axis, m)   (mCoeffValues[(side)+2*((axis)+3*(m))])
 
#define NORMAL(i0, i1, i2, i3)   normalp[i0+normalDim0*(i1+normalDim1*(i2+normalDim2*(i3)))]
 
#define RHS(i0, i1, i2, i3)   rhsp[i0+rhsDim0*(i1+rhsDim1*(i2+rhsDim2*(i3)))]
 
#define UX(i0, i1, i2)   uxp[i0+uxDim0*(i1+uxDim1*(i2))]
 
#define UY(i0, i1, i2)   uyp[i0+uyDim0*(i1+uyDim1*(i2))]
 
#define UZ(i0, i1, i2)   uzp[i0+uzDim0*(i1+uzDim1*(i2))]
 

Macro Definition Documentation

#define coeffSaved (   side,
  axis,
 
)    (mCoeffValues[(side)+2*((axis)+3*(m))])
#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 =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 MappedGridOperators::applyBCneumann().

#define FOR_4 (   m,
  i1,
  i2,
  i3,
  M,
  I1,
  I2,
  I3 
)
Value:
mBase=M.getBase(), mBound=M.getBound(); \
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++) \
for(m=mBase; m<=mBound; m++)

Referenced by MappedGridOperators::buildNeumannCoefficientMatrix().

#define FOR_4D (   m,
  i1,
  i2,
  i3,
  M,
  I1,
  I2,
  I3 
)
Value:
int mBase=M.getBase(), mBound=M.getBound(); \
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++) \
for(m=mBase; m<=mBound; m++)

Referenced by MappedGridOperators::buildNeumannCoefficientMatrix().

#define M2 (   m1,
  m2 
)    ((m1)+1+3*((m2)+1))
#define M3 (   m1,
  m2,
  m3 
)    ((m1)+1+3*((m2)+1+3*((m3)+1)))
#define NMCOEFF (   i0,
  i1,
  i2,
  i3 
)    nmCoeffp[i0+nmCoeffDim0*(i1+nmCoeffDim1*(i2+nmCoeffDim2*(i3)))]
#define NORMAL (   i0,
  i1,
  i2,
  i3 
)    normalp[i0+normalDim0*(i1+normalDim1*(i2+normalDim2*(i3)))]
#define NORMAL (   i0,
  i1,
  i2,
  i3 
)    normalp[i0+normalDim0*(i1+normalDim1*(i2+normalDim2*(i3)))]
#define OPX (   i0,
  i1,
  i2,
  i3 
)    opXp[i0+opXDim0*(i1+opXDim1*(i2+opXDim2*(i3)))]
#define RHS (   i0,
  i1,
  i2,
  i3 
)    rhsp[i0+rhsDim0*(i1+rhsDim1*(i2+rhsDim2*(i3)))]
#define UX (   i0,
  i1,
  i2 
)    uxp[i0+uxDim0*(i1+uxDim1*(i2))]
#define UY (   i0,
  i1,
  i2 
)    uyp[i0+uyDim0*(i1+uyDim1*(i2))]
#define UZ (   i0,
  i1,
  i2 
)    uzp[i0+uzDim0*(i1+uzDim1*(i2))]