Overture  Version 25
Macros
InterpolatePointsOnAGrid.C File Reference
#include "Overture.h"
#include "display.h"
#include "InterpolatePointsOnAGrid.h"
#include "MappingProjectionParameters.h"
#include "ParallelUtility.h"
#include "CanInterpolate.h"
#include "Ogen.h"
Include dependency graph for InterpolatePointsOnAGrid.C:

Macros

#define NRM(axis)   ( indexRange(End,axis)-indexRange(Start,axis)+1 )
 
#define MODR(i, axis)   ( ( (i-indexRange(Start,axis)+NRM(axis)) % NRM(axis)) +indexRange(Start,axis) )
 
#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 IA(i0)   iap[i0]
 
#define IP(i0, i1)   ipp[i0+ipDim0*(i1)]
 
#define NUMBEROFINTERPOLATIONPOINTS(i0)   numberOfInterpolationPointsp[i0]
 
#define STATUS(i0)   statusp[i0]
 
#define IA0(i0)   ia0p[i0]
 
#define X(i0, i1)   xp[i0+xDim0*(i1)]
 
#define XPROJECT(i0, i1)   xProjectp[i0+xProjectDim0*(i1)]
 
#define DIMENSION(i0, i1)   dimensionp[i0+dimensionDim0*(i1)]
 
#define INDEXRANGE(i0, i1)   indexRangep[i0+indexRangeDim0*(i1)]
 
#define GRIDSPACING(i0)   gridSpacingp[i0]
 
#define rbb(side, axis)   (prbb[(side)+2*(axis)])
 
#define RA(i0, i1)   rap[i0+raDim0*(i1)]
 
#define XA(i0, i1)   xap[i0+xaDim0*(i1)]
 
#define IA(i0)   iap[i0]
 
#define RPROJECT(i0, i1)   rProjectp[i0+rProjectDim0*(i1)]
 
#define IP(i0, i1)   ipp[i0+ipDim0*(i1)]
 
#define CI(i0, i1)   cip[i0+ciDim0*(i1)]
 
#define IA0(i0)   ia0p[i0]
 
#define RA(i0, i1)   rap[i0+raDim0*(i1)]
 
#define XA(i0, i1)   xap[i0+xaDim0*(i1)]
 
#define IL(i0, i1)   ilp[i0+ilDim0*(i1)]
 
#define IA(i0)   iap[i0]
 
#define IP(i0, i1)   ipp[i0+ipDim0*(i1)]
 
#define CI(i0, i1)   cip[i0+ciDim0*(i1)]
 
#define IA(i0)   iap[i0]
 
#define IA(i0, i1)   iap[i0+iaDim0*(i1)]
 
#define MASK(i0, i1, i2)   maskp[i0+maskDim0*(i1+maskDim1*(i2))]
 
#define X(i0, i1)   xp[i0+xDim0*(i1)]
 
#define IA(i0, i1)   iap[i0+iaDim0*(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 UINTERPOLATED(i0, i1)   uInterpolatedp[i0+uInterpolatedDim0*(i1)]
 
#define IA(i0, i1)   iap[i0+iaDim0*(i1)]
 
#define U(i0, i1, i2, i3)   up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
 

Macro Definition Documentation

#define CENTER (   i0,
  i1,
  i2,
  i3 
)    centerp[i0+centerDim0*(i1+centerDim1*(i2+centerDim2*(i3)))]
#define CI (   i0,
  i1 
)    cip[i0+ciDim0*(i1)]
#define CI (   i0,
  i1 
)    cip[i0+ciDim0*(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 DIMENSION (   i0,
  i1 
)    dimensionp[i0+dimensionDim0*(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 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 GRIDSPACING (   i0)    gridSpacingp[i0]
#define IA (   i0)    iap[i0]
#define IA (   i0)    iap[i0]
#define IA (   i0)    iap[i0]
#define IA (   i0)    iap[i0]
#define IA (   i0,
  i1 
)    iap[i0+iaDim0*(i1)]
#define IA (   i0,
  i1 
)    iap[i0+iaDim0*(i1)]
#define IA (   i0,
  i1 
)    iap[i0+iaDim0*(i1)]
#define IA0 (   i0)    ia0p[i0]
#define IA0 (   i0)    ia0p[i0]
#define IL (   i0,
  i1 
)    ilp[i0+ilDim0*(i1)]
#define INDEXRANGE (   i0,
  i1 
)    indexRangep[i0+indexRangeDim0*(i1)]
#define IP (   i0,
  i1 
)    ipp[i0+ipDim0*(i1)]
#define IP (   i0,
  i1 
)    ipp[i0+ipDim0*(i1)]
#define IP (   i0,
  i1 
)    ipp[i0+ipDim0*(i1)]
#define MASK (   i0,
  i1,
  i2 
)    maskp[i0+maskDim0*(i1+maskDim1*(i2))]
#define MODR (   i,
  axis 
)    ( ( (i-indexRange(Start,axis)+NRM(axis)) % NRM(axis)) +indexRange(Start,axis) )
#define NRM (   axis)    ( indexRange(End,axis)-indexRange(Start,axis)+1 )
#define NUMBEROFINTERPOLATIONPOINTS (   i0)    numberOfInterpolationPointsp[i0]
#define RA (   i0,
  i1 
)    rap[i0+raDim0*(i1)]
#define RA (   i0,
  i1 
)    rap[i0+raDim0*(i1)]
#define rbb (   side,
  axis 
)    (prbb[(side)+2*(axis)])
#define RPROJECT (   i0,
  i1 
)    rProjectp[i0+rProjectDim0*(i1)]
#define STATUS (   i0)    statusp[i0]
#define U (   i0,
  i1,
  i2,
  i3 
)    up[i0+uDim0*(i1+uDim1*(i2+uDim2*(i3)))]
#define UINTERPOLATED (   i0,
  i1 
)    uInterpolatedp[i0+uInterpolatedDim0*(i1)]
#define X (   i0,
  i1 
)    xp[i0+xDim0*(i1)]
#define X (   i0,
  i1 
)    xp[i0+xDim0*(i1)]
#define XA (   i0,
  i1 
)    xap[i0+xaDim0*(i1)]
#define XA (   i0,
  i1 
)    xap[i0+xaDim0*(i1)]
#define XPROJECT (   i0,
  i1 
)    xProjectp[i0+xProjectDim0*(i1)]