CG  Version 25
Macros | Functions
boundaryDistance.C File Reference
#include "Overture.h"
#include "CompositeGrid.h"
#include "ReductionMapping.h"
Include dependency graph for boundaryDistance.C:

Macros

#define loop3d(i1, i2, i3, I1, I2, I3)
 
#define FOR_3(i1, i2, i3, I1, I2, I3)
 
#define DW(i0, i1, i2)   dwp[i0+dwDim0*(i1+dwDim1*(i2))]
 
#define VERTEX0(i0, i1, i2)   (xa+dx0*(i0-i0a))
 
#define VERTEX1(i0, i1, i2)   (ya+dy0*(i1-i1a))
 
#define VERTEX2(i0, i1, i2)   (za+dz0*(i2-i2a))
 
#define VERTEX(i0, i1, i2, i3)   vertexp[i0+vertexDim0*(i1+vertexDim1*(i2+vertexDim2*(i3)))]
 
#define IA(i0, i1)   iap[i0+iaDim0*(i1)]
 
#define XX(i0, i1)   xxp[i0+xxDim0*(i1)]
 
#define BB(i0, i1)   bbp[i0+bbDim0*(i1)]
 

Functions

int boundaryDistance (CompositeGrid &cg, realCompositeGridFunction &d, const IntegerArray &wall)
 

Macro Definition Documentation

#define BB (   i0,
  i1 
)    bbp[i0+bbDim0*(i1)]

Referenced by boundaryDistance().

#define DW (   i0,
  i1,
  i2 
)    dwp[i0+dwDim0*(i1+dwDim1*(i2))]

Referenced by boundaryDistance().

#define FOR_3 (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
I3Bound=I3.getBound(); I2Bound=I2.getBound(); I1Bound=I1.getBound();\
for( i3=I3.getBase(); i3<=I3Bound; i3++ )\
for( i2=I2.getBase(); i2<=I2Bound; i2++ )\
for( i1=I1.getBase(); i1<=I1Bound; i1++ )
#define IA (   i0,
  i1 
)    iap[i0+iaDim0*(i1)]
#define loop3d (   i1,
  i2,
  i3,
  I1,
  I2,
  I3 
)
Value:
I3Bound=I3.getBound(); I2Bound=I2.getBound(); I1Bound=I1.getBound();\
for( i3=I3.getBase(); i3<=I3Bound; i3++ )\
for( i2=I2.getBase(); i2<=I2Bound; i2++ )\
for( i1=I1.getBase(); i1<=I1Bound; i1++ )
#define VERTEX (   i0,
  i1,
  i2,
  i3 
)    vertexp[i0+vertexDim0*(i1+vertexDim1*(i2+vertexDim2*(i3)))]

Referenced by boundaryDistance().

#define VERTEX0 (   i0,
  i1,
  i2 
)    (xa+dx0*(i0-i0a))
#define VERTEX1 (   i0,
  i1,
  i2 
)    (ya+dy0*(i1-i1a))
#define VERTEX2 (   i0,
  i1,
  i2 
)    (za+dz0*(i2-i2a))
#define XX (   i0,
  i1 
)    xxp[i0+xxDim0*(i1)]

Referenced by boundaryDistance(), and insbe1().

Function Documentation

int boundaryDistance ( CompositeGrid &  cg,
realCompositeGridFunction &  d,
const IntegerArray &  wall 
)