CG  Version 25
Macros | Functions
assignHempInitialConditions.C File Reference
#include "Cgsm.h"
#include "SmParameters.h"
#include "CompositeGridOperators.h"
#include "display.h"
#include "OGPolyFunction.h"
#include "OGTrigFunction.h"
#include "OGPulseFunction.h"
#include "ParallelUtility.h"
Include dependency graph for assignHempInitialConditions.C:

Macros

#define getEng   EXTERN_C_NAME(geteng)
 
#define getArea   EXTERN_C_NAME(getarea)
 
#define FOR_3D(i1, i2, i3, I1, I2, I3)   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_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 U(i0, i1, i2, i3)   up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
 
#define X(i0, i1, i2, i3)   xp[i0+xDim0*(i1+xDim1*(i2+xDim2*(i3)))]
 
#define U0(x, y, z, n, t)   (0.)
 
#define U0T(x, y, z, n, t)   (0.)
 
#define S110(x, y, z, t)   (0.)
 
#define S120(x, y, z, t)   (0.)
 
#define S220(x, y, z, t)   (0.)
 
#define P0(x, y, z, t)   (1.0e-10)
 
#define Q0(x, y, z, t)   (0.)
 

Functions

void getEng (const real &eta, const real &p, real &e, real &a, real &b, real &c, real &d)
 
void getArea (const real &x1, const real &x2, const real &x3, const real &x4, const real &y1, const real &y2, const real &y3, const real &y4, real &Area)
 

Macro Definition Documentation

#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 =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 getArea   EXTERN_C_NAME(getarea)
#define getEng   EXTERN_C_NAME(geteng)
#define P0 (   x,
  y,
  z,
 
)    (1.0e-10)
#define Q0 (   x,
  y,
  z,
 
)    (0.)
#define S110 (   x,
  y,
  z,
 
)    (0.)
#define S120 (   x,
  y,
  z,
 
)    (0.)
#define S220 (   x,
  y,
  z,
 
)    (0.)
#define U (   i0,
  i1,
  i2,
  i3 
)    up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
#define U0 (   x,
  y,
  z,
  n,
 
)    (0.)
#define U0T (   x,
  y,
  z,
  n,
 
)    (0.)
#define X (   i0,
  i1,
  i2,
  i3 
)    xp[i0+xDim0*(i1+xDim1*(i2+xDim2*(i3)))]

Function Documentation

void getArea ( const real &  x1,
const real &  x2,
const real &  x3,
const real &  x4,
const real &  y1,
const real &  y2,
const real &  y3,
const real &  y4,
real &  Area 
)
void getEng ( const real &  eta,
const real &  p,
real &  e,
real &  a,
real &  b,
real &  c,
real &  d 
)