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

Macros

#define DERIVATIVE(type)
 
#define h21(n)   h21c[n]
 
#define h41(n)   h41c[n]
 

Functions

void divFDerivative (const realMappedGridFunction &ugf, RealDistributedArray &derivative, const Index &I1, const Index &I2, const Index &I3, const Index &N, MappedGridOperators &mgop)
 

Macro Definition Documentation

#define DERIVATIVE (   type)
Value:
if( mgop.mappedGrid.numberOfDimensions()==2 ) \
derivative(I1,I2,I3)=UX ## type(I1,I2,I3,n)+UY ## type(I1,I2,I3,n+1); \
else if( mgop.mappedGrid.numberOfDimensions()==3 ) \
derivative(I1,I2,I3)=UX ## type(I1,I2,I3,n)+UY ## type(I1,I2,I3,n+1)+UZ ## type(I1,I2,I3,n+2); \
else \
derivative(I1,I2,I3)=UX ## type(I1,I2,I3,n);

Referenced by divFDerivative().

#define h21 (   n)    h21c[n]
#define h41 (   n)    h41c[n]

Function Documentation

void divFDerivative ( const realMappedGridFunction ugf,
RealDistributedArray derivative,
const Index &  I1,
const Index &  I2,
const Index &  I3,
const Index &  N,
MappedGridOperators mgop 
)