CG  Version 25
Macros | Functions
advanceFOS.C File Reference
#include "Cgsm.h"
#include "display.h"
#include "CompositeGridOperators.h"
#include "ParallelUtility.h"
#include "ParallelOverlappingGridInterpolator.h"
#include "SmParameters.h"
#include "GridMaterialProperties.h"
Include dependency graph for advanceFOS.C:

Macros

#define solidMechanicsGodunov   EXTERN_C_NAME(solidmechanicsgodunov)
 
#define solidMechanicsHemp   EXTERN_C_NAME(solidmechanicshemp)
 
#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 FN(m)   fn[m+numberOfFunctions*(grid)]
 
#define dbc(s, a, side, axis)   (pdbc[(s)+2*((a)+3*((side)+2*(axis)))])
 
#define addBoundaryForcing(side, axis)   (pAddBoundaryForcing[(side)+2*(axis)])
 
#define bcfOffset(side, axis)   pbcfOffset[(side)+2*(axis)]
 

Functions

void solidMechanicsGodunov (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &mask, const real &rx, const real &xy, const real &det, const real &u, real &up, const real &f1, const real &f2, const int &ndMatProp, const int &matIndex, const real &matValpc, const real &matVal, const real &ad, const real &ad4, const int &ipar, real &rpar, const int &niwk, const int &iwk, const int &nrwk, const real &rwk, const int &ierr)
 
void solidMechanicsHemp (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &mask, const real &f0, const real &u, real &up, real &xy, const int &boundaryCondition, const int &dim, const real &bcf0, const int64_t &bcOffset, const int &ipar, real &rpar, const int &niwk, const int &iwk, const int &nrwk, const real &rwk, const int &ierr)
 

Macro Definition Documentation

#define addBoundaryForcing (   side,
  axis 
)    (pAddBoundaryForcing[(side)+2*(axis)])
#define bcfOffset (   side,
  axis 
)    pbcfOffset[(side)+2*(axis)]
#define dbc (   s,
  a,
  side,
  axis 
)    (pdbc[(s)+2*((a)+3*((side)+2*(axis)))])
#define FN (   m)    fn[m+numberOfFunctions*(grid)]
#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 solidMechanicsGodunov   EXTERN_C_NAME(solidmechanicsgodunov)

Referenced by Cgsm::advanceFOS().

#define solidMechanicsHemp   EXTERN_C_NAME(solidmechanicshemp)

Referenced by Cgsm::advanceFOS().

Function Documentation

void solidMechanicsGodunov ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  mask,
const real &  rx,
const real &  xy,
const real &  det,
const real &  u,
real &  up,
const real &  f1,
const real &  f2,
const int &  ndMatProp,
const int &  matIndex,
const real &  matValpc,
const real &  matVal,
const real &  ad,
const real &  ad4,
const int &  ipar,
real &  rpar,
const int &  niwk,
const int &  iwk,
const int &  nrwk,
const real &  rwk,
const int &  ierr 
)
void solidMechanicsHemp ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  mask,
const real &  f0,
const real &  u,
real &  up,
real &  xy,
const int &  boundaryCondition,
const int &  dim,
const real &  bcf0,
const int64_t &  bcOffset,
const int &  ipar,
real &  rpar,
const int &  niwk,
const int &  iwk,
const int &  nrwk,
const real &  rwk,
const int &  ierr 
)