CG  Version 25
Macros | Functions
ins/src/implicit.C File Reference
#include "Cgins.h"
#include "Parameters.h"
#include "MappedGridOperators.h"
#include "ParallelUtility.h"
#include "ParallelGridUtility.h"
#include "Oges.h"
#include "SparseRep.h"
#include "App.h"
#include "GridMaterialProperties.h"
Include dependency graph for ins/src/implicit.C:

Macros

#define insimp   EXTERN_C_NAME(insimp)
 
#define ForBoundary(side, axis)
 
#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define FOR_3(i1, i2, i3, I1, I2, I3)
 
#define FOR_M(m, M)
 
#define U(c)   u(I1,I2,I3,c)
 
#define UU(c)   uu(I1,I2,I3,c)
 
#define UX(c)   ux(I1,I2,I3,c)
 
#define UY(c)   uy(I1,I2,I3,c)
 
#define UZ(c)   uz(I1,I2,I3,c)
 
#define mixedRHS(component, side, axis, grid)   bcData(component+nc*(0),side,axis,grid)
 
#define mixedCoeff(component, side, axis, grid)   bcData(component+nc*(1),side,axis,grid)
 
#define mixedNormalCoeff(component, side, axis, grid)   bcData(component+nc*(2),side,axis,grid)
 

Functions

void insimp (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &nd4a, const int &nd4b, const int &mask, const real &xy, const real &rsxy, real &radisuInverse, const real &u, const int &ndc, real &coeff, real &fe, real &fi, const real &ul, const real &gv, const real &gvl, const real &dw, const int &ndMatProp, const int &matIndex, const real &matValpc, const real &matVal, const int &bc, const int &boundaryCondition, const int &ndbcd1a, const int &ndbcd1b, const int &ndbcd2a, const int &ndbcd2b, const int &ndbcd3a, const int &ndbcd3b, const int &ndbcd4a, const int &ndbcd4b, const real &bcData, const int &nde, int &equationNumber, int &classify, const int &nr1a, const int &nr1b, const int &nr2a, const int &nr2b, const int &nr3a, const int &nr3b, const int &ipar, const real &rpar, const DataBase *pdb, int &ierr)
 

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 =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_M (   m,
 
)
Value:
int mBase=M.getBase(), mBound=M.getBound(); \
for(m=mBase; m<=mBound; m++)
#define ForBoundary (   side,
  axis 
)
Value:
for( int axis=0; axis<mg.numberOfDimensions(); axis++ ) \
for( int side=0; side<=1; side++ )

Referenced by Cgins::applyBoundaryConditionsForImplicitTimeStepping(), and Cgins::setOgesBoundaryConditions().

#define insimp   EXTERN_C_NAME(insimp)
#define mixedCoeff (   component,
  side,
  axis,
  grid 
)    bcData(component+nc*(1),side,axis,grid)
#define mixedNormalCoeff (   component,
  side,
  axis,
  grid 
)    bcData(component+nc*(2),side,axis,grid)
#define mixedRHS (   component,
  side,
  axis,
  grid 
)    bcData(component+nc*(0),side,axis,grid)
#define U (   c)    u(I1,I2,I3,c)
#define UU (   c)    uu(I1,I2,I3,c)
#define UX (   c)    ux(I1,I2,I3,c)
#define UY (   c)    uy(I1,I2,I3,c)
#define UZ (   c)    uz(I1,I2,I3,c)

Function Documentation

void insimp ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  nd4a,
const int &  nd4b,
const int &  mask,
const real &  xy,
const real &  rsxy,
real &  radisuInverse,
const real &  u,
const int &  ndc,
real &  coeff,
real &  fe,
real &  fi,
const real &  ul,
const real &  gv,
const real &  gvl,
const real &  dw,
const int &  ndMatProp,
const int &  matIndex,
const real &  matValpc,
const real &  matVal,
const int &  bc,
const int &  boundaryCondition,
const int &  ndbcd1a,
const int &  ndbcd1b,
const int &  ndbcd2a,
const int &  ndbcd2b,
const int &  ndbcd3a,
const int &  ndbcd3b,
const int &  ndbcd4a,
const int &  ndbcd4b,
const real &  bcData,
const int &  nde,
int &  equationNumber,
int &  classify,
const int &  nr1a,
const int &  nr1b,
const int &  nr2a,
const int &  nr2b,
const int &  nr3a,
const int &  nr3b,
const int &  ipar,
const real &  rpar,
const DataBase *  pdb,
int &  ierr 
)