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

Macros

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

Functions

void vorticityFDerivative (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( numberOfDimensions==2 ) \
{ \
derivative(I1,I2,I3,0)=UX ## type(I1,I2,I3,1) - UY ## type(I1,I2,I3,0); \
} \
else if( numberOfDimensions==3 ) \
{ \
derivative(I1,I2,I3,0)=UY ## type(I1,I2,I3,2) - UZ ## type(I1,I2,I3,1); \
derivative(I1,I2,I3,1)=UZ ## type(I1,I2,I3,0) - UX ## type(I1,I2,I3,2); \
derivative(I1,I2,I3,2)=UX ## type(I1,I2,I3,1) - UY ## type(I1,I2,I3,0); \
}

Referenced by vorticityFDerivative().

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

Function Documentation

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