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

Macros

#define CGNRST   EXTERN_C_NAME(cgnrst)
 
#define CGNRSC   EXTERN_C_NAME(cgnrsc)
 
#define NRM(axis, grid)   ( gc[grid].indexRange()(End,axis)-gc[grid].indexRange()(Start,axis) )
 
#define MODR(i, axis, grid)
 
#define INVERSE_CENTER_DERIVATIVE(i1, i2, i3, m, n)   inverseCenterDerivative(i1,i2,i3,(m)+numberOfDimensions*(n))
 
#define CENTER_DERIVATIVE(i1, i2, i3, m, n)   centerDerivative(i1,i2,i3,(m)+numberOfDimensions*(n))
 
#define XR(i1, i2, i3, m, n)   centerDerivative(i1,i2,i3,m+numberOfDimensions*(n))
 

Functions

void CGNRST (const int &ndra, const int &ndrb, const int &ndsa, const int &ndsb, int &mrsab, const real &xy, real &x, real &y, int &ip, int &jp, real &distmn)
 
void CGNRSC (const int &ndra, const int &ndrb, const int &ndsa, const int &ndsb, int &mrsab, const real &xy, real &x, real &y, int &ip, int &jp, real &distmn)
 
int xInterpolate (const int numberOfPointsToInterpolate, const IntegerArray &componentsToInterpolate, const RealArray &positionToInterpolate, IntegerArray &indexGuess, RealArray &uInterpolated, const realGridCollectionFunction &u, const GridCollection &gc, const int intopt)
 

Macro Definition Documentation

#define CENTER_DERIVATIVE (   i1,
  i2,
  i3,
  m,
 
)    centerDerivative(i1,i2,i3,(m)+numberOfDimensions*(n))

Referenced by xInterpolate().

#define CGNRSC   EXTERN_C_NAME(cgnrsc)
#define CGNRST   EXTERN_C_NAME(cgnrst)
#define INVERSE_CENTER_DERIVATIVE (   i1,
  i2,
  i3,
  m,
 
)    inverseCenterDerivative(i1,i2,i3,(m)+numberOfDimensions*(n))

Referenced by xInterpolate().

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

Referenced by xInterpolate().

#define NRM (   axis,
  grid 
)    ( gc[grid].indexRange()(End,axis)-gc[grid].indexRange()(Start,axis) )
#define XR (   i1,
  i2,
  i3,
  m,
 
)    centerDerivative(i1,i2,i3,m+numberOfDimensions*(n))

Function Documentation

void CGNRSC ( const int &  ndra,
const int &  ndrb,
const int &  ndsa,
const int &  ndsb,
int &  mrsab,
const real xy,
real x,
real y,
int &  ip,
int &  jp,
real distmn 
)
void CGNRST ( const int &  ndra,
const int &  ndrb,
const int &  ndsa,
const int &  ndsb,
int &  mrsab,
const real xy,
real x,
real y,
int &  ip,
int &  jp,
real distmn 
)
int xInterpolate ( const int  numberOfPointsToInterpolate,
const IntegerArray componentsToInterpolate,
const RealArray positionToInterpolate,
IntegerArray indexGuess,
RealArray uInterpolated,
const realGridCollectionFunction u,
const GridCollection gc,
const int  intopt 
)