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

Macros

#define GET_LENGTH   getLength
 
#define NRM(axis, grid)   ( cg[grid].indexRange()(End,axis)-cg[grid].indexRange()(Start,axis)+1 )
 
#define MODR(i, axis, grid)
 

Functions

int interpolatePoints (const realArray &positionToInterpolate, const realCompositeGridFunction &u, realArray &uInterpolated, const Range &R0=nullRange, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, intArray &indexGuess=Overture::nullIntegerDistributedArray(), intArray &interpoleeGrid=Overture::nullIntegerDistributedArray(), intArray &wasInterpolated=Overture::nullIntegerDistributedArray())
 
int interpolateAllPoints (const realCompositeGridFunction &uFrom, realMappedGridFunction &uTo, bool useNewWay)
 
int interpolateAllPoints (const realCompositeGridFunction &uFrom, realCompositeGridFunction &uTo, bool useNewWay)
 

Macro Definition Documentation

#define GET_LENGTH   getLength
#define MODR (   i,
  axis,
  grid 
)
Value:
( \
( (i-cg[grid].indexRange()(Start,axis)+NRM(axis,grid)) % NRM(axis,grid)) \
+cg[grid].indexRange()(Start,axis) \
)

Referenced by interpolatePoints().

#define NRM (   axis,
  grid 
)    ( cg[grid].indexRange()(End,axis)-cg[grid].indexRange()(Start,axis)+1 )

Function Documentation

int interpolateAllPoints ( const realCompositeGridFunction uFrom,
realMappedGridFunction uTo,
bool  useNewWay 
)
int interpolateAllPoints ( const realCompositeGridFunction uFrom,
realCompositeGridFunction uTo,
bool  useNewWay 
)
int interpolatePoints ( const realArray positionToInterpolate,
const realCompositeGridFunction u,
realArray uInterpolated,
const Range &  R0 = nullRange,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
intArray &  indexGuess = Overture::nullIntegerDistributedArray(),
intArray &  interpoleeGrid = Overture::nullIntegerDistributedArray(),
intArray &  wasInterpolated = Overture::nullIntegerDistributedArray() 
)