Overture  Version 25
Macros | Functions
interpolateExposedPoints.C File Reference
#include "Overture.h"
#include "OGFunction.h"
#include "InterpolatePoints.h"
#include "display.h"
Include dependency graph for interpolateExposedPoints.C:

Macros

#define FOR_3D(i1, i2, i3, I1, I2, I3)
 
#define FOR_3(i1, i2, i3, I1, I2, I3)
 
#define FOR_2D(i1, i2, I1, I2)
 
#define XY(i1, i2, i3)   center(i1,i2,i3,axis1),center(i1,i2,i3,axis2)
 
#define XYZ(i1, i2, i3)   center(i1,i2,i3,axis1),center(i1,i2,i3,axis2),center(i1,i2,i3,axis3)
 
#define ia(i0, i1)   iap[i0+iaDim0*(i1)]
 
#define mask1(i0, i1, i2)   mask1p[i0+mask1Dim0*(i1+mask1Dim1*(i2))]
 
#define mask2(i0, i1, i2)   mask2p[i0+mask2Dim0*(i1+mask2Dim1*(i2))]
 
#define MASK5(i2)
 
#define MASK5(i2, i3)
 
#define MASK55(i3)   MASK5(i2m2,i3) || MASK5(i2m1,i3) || MASK5(i2,i3) || MASK5(i2p1,i3) || MASK5(i2p2,i3)
 
#define x(i0, i1)   xp[i0+xDim0*(i1)]
 
#define uInterpolated(i0, i1)   uInterpolatedp[i0+uInterpolatedDim0*(i1)]
 
#define COORD0(i0, i1, i2)   (xa+dx0*(i0-i0a))
 
#define COORD1(i0, i1, i2)   (ya+dy0*(i1-i1a))
 
#define COORD2(i0, i1, i2)   (za+dz0*(i2-i2a))
 
#define center(i0, i1, i2, i3)   centerp[i0+centerDim0*(i1+centerDim1*(i2+centerDim2*(i3)))]
 
#define u1g(i0, i1, i2, i3)   u1gp[i0+u1gDim0*(i1+u1gDim1*(i2+u1gDim2*(i3)))]
 

Functions

int interpolateExposedPoints (CompositeGrid &cg1, CompositeGrid &cg2, realCompositeGridFunction &u1, OGFunction *TZFlow, real t, const bool &returnIndexValues, IntegerArray &numberPerGrid0, intArray &ia0, int stencilWidth)
 

Macro Definition Documentation

#define center (   i0,
  i1,
  i2,
  i3 
)    centerp[i0+centerDim0*(i1+centerDim1*(i2+centerDim2*(i3)))]
#define COORD0 (   i0,
  i1,
  i2 
)    (xa+dx0*(i0-i0a))
#define COORD1 (   i0,
  i1,
  i2 
)    (ya+dy0*(i1-i1a))
#define COORD2 (   i0,
  i1,
  i2 
)    (za+dz0*(i2-i2a))
#define FOR_2D (   i1,
  i2,
  I1,
  I2 
)
Value:
int I1Base =I1.getBase(), I2Base =I2.getBase(); \
int I1Bound=I1.getBound(), I2Bound=I2.getBound(); \
for(i2=I2Base; i2<=I2Bound; i2++) \
for(i1=I1Base; i1<=I1Bound; i1++)

Referenced by interpolateExposedPoints().

#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 ia (   i0,
  i1 
)    iap[i0+iaDim0*(i1)]
#define mask1 (   i0,
  i1,
  i2 
)    mask1p[i0+mask1Dim0*(i1+mask1Dim1*(i2))]
#define mask2 (   i0,
  i1,
  i2 
)    mask2p[i0+mask2Dim0*(i1+mask2Dim1*(i2))]
#define MASK5 (   i2)
Value:
mask2(i1m2,i2,i3)>0 || mask2(i1m1,i2,i3)>0 || mask2(i1,i2,i3)>0 || \
mask2(i1p1,i2,i3)>0 || mask2(i1p2,i2,i3)>0
#define MASK5 (   i2,
  i3 
)
Value:
mask2(i1m2,i2,i3)>0 || mask2(i1m1,i2,i3)>0 || mask2(i1,i2,i3)>0 || \
mask2(i1p1,i2,i3)>0 || mask2(i1p2,i2,i3)>0
#define MASK55 (   i3)    MASK5(i2m2,i3) || MASK5(i2m1,i3) || MASK5(i2,i3) || MASK5(i2p1,i3) || MASK5(i2p2,i3)
#define u1g (   i0,
  i1,
  i2,
  i3 
)    u1gp[i0+u1gDim0*(i1+u1gDim1*(i2+u1gDim2*(i3)))]
#define uInterpolated (   i0,
  i1 
)    uInterpolatedp[i0+uInterpolatedDim0*(i1)]
#define x (   i0,
  i1 
)    xp[i0+xDim0*(i1)]
#define XY (   i1,
  i2,
  i3 
)    center(i1,i2,i3,axis1),center(i1,i2,i3,axis2)
#define XYZ (   i1,
  i2,
  i3 
)    center(i1,i2,i3,axis1),center(i1,i2,i3,axis2),center(i1,i2,i3,axis3)

Function Documentation

int interpolateExposedPoints ( CompositeGrid cg1,
CompositeGrid cg2,
realCompositeGridFunction u1,
OGFunction TZFlow,
real  t,
const bool &  returnIndexValues,
IntegerArray numberPerGrid0,
intArray &  ia0,
int  stencilWidth 
)