CG  Version 25
Macros | Variables
formAllSpeedPressureEquation.C File Reference
#include "Cgasf.h"
#include "MappedGridOperators.h"
#include "interpPoints.h"
#include "Reactions.h"
#include "CompositeGridOperators.h"
#include "Oges.h"
#include "ParallelUtility.h"
#include "SparseRep.h"
#include "AsfParameters.h"
Include dependency graph for formAllSpeedPressureEquation.C:

Macros

#define ForBoundary(side, axis)
 
#define CE(c, e)   (stencilSize*((c)+numberOfComponentsForCoefficients*(e)))
 
#define M123CE(m1, m2, m3, c, e)   (M123(m1,m2,m3)+CE(c,e))
 
#define M123(m1, m2, m3)   (m1+halfWidth1+width*(m2+halfWidth2+width*(m3+halfWidth3)))
 
#define M123N(m1, m2, m3, n)   (M123(m1,m2,m3)+stencilLength0*(n))
 
#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 mixedRHS(component, side, axis, grid)   bcData(component+numberOfComponents*(0),side,axis,grid)
 
#define mixedCoeff(component, side, axis, grid)   bcData(component+numberOfComponents*(1),side,axis,grid)
 
#define mixedNormalCoeff(component, side, axis, grid)   bcData(component+numberOfComponents*(2),side,axis,grid)
 

Variables

bool refactorImplicitMatrix
 

Macro Definition Documentation

#define CE (   c,
  e 
)    (stencilSize*((c)+numberOfComponentsForCoefficients*(e)))
#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++)
#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++)
#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 Cgasf::formAllSpeedPressureEquation().

#define ForBoundary (   side,
  axis 
)
Value:
for( axis=0; axis<c.numberOfDimensions(); axis++ ) \
for( side=0; side<=1; side++ )

Referenced by Cgasf::formAllSpeedPressureEquation().

#define M123 (   m1,
  m2,
  m3 
)    (m1+halfWidth1+width*(m2+halfWidth2+width*(m3+halfWidth3)))
#define M123CE (   m1,
  m2,
  m3,
  c,
  e 
)    (M123(m1,m2,m3)+CE(c,e))
#define M123N (   m1,
  m2,
  m3,
  n 
)    (M123(m1,m2,m3)+stencilLength0*(n))
#define mixedCoeff (   component,
  side,
  axis,
  grid 
)    bcData(component+numberOfComponents*(1),side,axis,grid)
#define mixedNormalCoeff (   component,
  side,
  axis,
  grid 
)    bcData(component+numberOfComponents*(2),side,axis,grid)
#define mixedRHS (   component,
  side,
  axis,
  grid 
)    bcData(component+numberOfComponents*(0),side,axis,grid)

Variable Documentation

bool refactorImplicitMatrix