CG  Version 25
Macros | Functions
mx/src/project.C File Reference
#include "Maxwell.h"
#include "display.h"
#include "Oges.h"
#include "SparseRep.h"
#include "CompositeGridOperators.h"
#include "checkGridFunction.h"
#include "ParallelUtility.h"
#include "ParallelGridUtility.h"
#include "ArrayUtil.h"
Include dependency graph for mx/src/project.C:

Macros

#define mxProjectInterp   EXTERN_C_NAME(mxprojectinterp)
 
#define ForBoundary(side, axis)
 
#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define FOR_3(i1, i2, i3, I1, I2, I3)
 

Functions

void mxProjectInterp (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &gridIndexRange, real &u, const int &mask, const real &rsxy, const real &xy, const int &boundaryCondition, const int &ipar, const real &rpar, 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 ForBoundary (   side,
  axis 
)
Value:
for( axis=0; axis<cg.numberOfDimensions(); axis++ ) \
for( side=0; side<=1; side++ )

Referenced by Maxwell::project(), and Maxwell::updateProjectionEquation().

#define mxProjectInterp   EXTERN_C_NAME(mxprojectinterp)

Function Documentation

void mxProjectInterp ( const int &  nd,
const int &  nd1a,
const int &  nd1b,
const int &  nd2a,
const int &  nd2b,
const int &  nd3a,
const int &  nd3b,
const int &  gridIndexRange,
real &  u,
const int &  mask,
const real &  rsxy,
const real &  xy,
const int &  boundaryCondition,
const int &  ipar,
const real &  rpar,
int &  ierr 
)