Overture
Version 25
|
#include "MappedGridOperators.h"
#include "UnstructuredOperators.h"
#include "ParallelUtility.h"
#include "cgux2a.h"
#include "cgux4a.h"
Macros | |
#define | U(I1, I2, I3, N) u(I1,I2,I3,N) |
#define | UR2(I1, I2, I3, N) ur(I1,I2,I3,N) |
#define | US2(I1, I2, I3, N) us(I1,I2,I3,N) |
#define | UT2(I1, I2, I3, N) ut(I1,I2,I3,N) |
#define | UR4(I1, I2, I3, N) ur(I1,I2,I3,N) |
#define | US4(I1, I2, I3, N) us(I1,I2,I3,N) |
#define | UT4(I1, I2, I3, N) ut(I1,I2,I3,N) |
#define | DERIVATIVE(x, xDerivative) |
#define | xFDeriv EXTERN_C_NAME(xfderiv) |
#define | yFDeriv EXTERN_C_NAME(yfderiv) |
#define | zFDeriv EXTERN_C_NAME(zfderiv) |
#define | xxFDeriv EXTERN_C_NAME(xxfderiv) |
#define | xyFDeriv EXTERN_C_NAME(xyfderiv) |
#define | xzFDeriv EXTERN_C_NAME(xzfderiv) |
#define | yyFDeriv EXTERN_C_NAME(yyfderiv) |
#define | yzFDeriv EXTERN_C_NAME(yzfderiv) |
#define | zzFDeriv EXTERN_C_NAME(zzfderiv) |
#define | laplacianFDeriv EXTERN_C_NAME(laplacianfderiv) |
#define | divScalarGradFDeriv EXTERN_C_NAME(divscalargradfderiv) |
#define | DERIV_OPT(type) |
#define | DERIV_PROTO(type) |
#define | xFiniteDiffDeriv EXTERN_C_NAME(xfinitediffderiv) |
#define | yFiniteDiffDeriv EXTERN_C_NAME(yfinitediffderiv) |
#define | zFiniteDiffDeriv EXTERN_C_NAME(zfinitediffderiv) |
#define | xxFiniteDiffDeriv EXTERN_C_NAME(xxfinitediffderiv) |
#define | xyFiniteDiffDeriv EXTERN_C_NAME(xyfinitediffderiv) |
#define | xzFiniteDiffDeriv EXTERN_C_NAME(xzfinitediffderiv) |
#define | yyFiniteDiffDeriv EXTERN_C_NAME(yyfinitediffderiv) |
#define | yzFiniteDiffDeriv EXTERN_C_NAME(yzfinitediffderiv) |
#define | zzFiniteDiffDeriv EXTERN_C_NAME(zzfinitediffderiv) |
#define | laplacianFiniteDiffDeriv EXTERN_C_NAME(laplacianfinitediffderiv) |
#define | divFiniteDiffDeriv EXTERN_C_NAME(divfinitediffderiv) |
#define | gradFiniteDiffDeriv EXTERN_C_NAME(gradfinitediffderiv) |
#define | vorticityFiniteDiffDeriv EXTERN_C_NAME(vorticityfinitediffderiv) |
#define | DERIVATIVE_OPT(type) |
#define | DERIV_PROTOTYPE(type) |
Functions | |
void | divScalarGradFDerivative (const realMappedGridFunction &ugf, const realMappedGridFunction &s, RealDistributedArray &derivative, const Index &I1, const Index &I2, const Index &I3, const Index &N, MappedGridOperators &mgop) |
void | scalarGradFDerivative (const realMappedGridFunction &ugf, const realMappedGridFunction &s, RealDistributedArray &derivative, const Index &I1, const Index &I2, const Index &I3, const Index &N, MappedGridOperators &mgop) |
void | derivativeScalarDerivativeFDerivative (const realMappedGridFunction &ugf, const realMappedGridFunction &s, RealDistributedArray &derivative, const int &direction1, const int &direction2, const Index &I1, const Index &I2, const Index &I3, const Index &N, MappedGridOperators &mgop) |
void | divVectorScalarFDerivative (const realMappedGridFunction &ugf, const realMappedGridFunction &s, RealDistributedArray &derivative, const Index &I1, const Index &I2, const Index &I3, const Index &N, MappedGridOperators &mgop) |
DERIV_PROTO (xFDeriv) | |
DERIV_PROTO (yFDeriv) | |
DERIV_PROTO (zFDeriv) | |
DERIV_PROTO (xxFDeriv) | |
DERIV_PROTO (xyFDeriv) | |
DERIV_PROTO (xzFDeriv) | |
DERIV_PROTO (yyFDeriv) | |
DERIV_PROTO (yzFDeriv) | |
DERIV_PROTO (zzFDeriv) | |
DERIV_PROTO (laplacianFDeriv) | |
void | divScalarGradFDeriv (const int &nd, const int &nd1a, const int &nd1b, const int &nd2a, const int &nd2b, const int &nd3a, const int &nd3b, const int &ndu1a, const int &ndu1b, const int &ndu2a, const int &ndu2b, const int &ndu3a, const int &ndu3b, const int &ndu4a, const int &ndu4b, const int &ndd1a, const int &ndd1b, const int &ndd2a, const int &ndd2b, const int &ndd3a, const int &ndd3b, const int &ndd4a, const int &ndd4b, const int &n1a, const int &n1b, const int &n2a, const int &n2b, const int &n3a, const int &n3b, const int &ca, const int &cb, const real &dx, const real &dr, const real &rsxy, const real &jacobian, const real &u, const real &s, real &deriv, const int &ndw, const real &w, const int &derivative, const int &derivType, const int &gridType, const int &order, const int &averagingType, const int &dir1, const int &dir2) |
DERIV_PROTOTYPE (xFiniteDiffDeriv) | |
DERIV_PROTOTYPE (yFiniteDiffDeriv) | |
DERIV_PROTOTYPE (zFiniteDiffDeriv) | |
DERIV_PROTOTYPE (xxFiniteDiffDeriv) | |
DERIV_PROTOTYPE (xyFiniteDiffDeriv) | |
DERIV_PROTOTYPE (xzFiniteDiffDeriv) | |
DERIV_PROTOTYPE (yyFiniteDiffDeriv) | |
DERIV_PROTOTYPE (yzFiniteDiffDeriv) | |
DERIV_PROTOTYPE (zzFiniteDiffDeriv) | |
DERIV_PROTOTYPE (laplacianFiniteDiffDeriv) | |
DERIV_PROTOTYPE (divFiniteDiffDeriv) | |
DERIV_PROTOTYPE (gradFiniteDiffDeriv) | |
DERIV_PROTOTYPE (vorticityFiniteDiffDeriv) | |
#define DERIV_OPT | ( | type | ) |
Referenced by MappedGridOperators::derivativeInternal().
#define DERIV_PROTO | ( | type | ) |
#define DERIV_PROTOTYPE | ( | type | ) |
#define DERIVATIVE | ( | x, | |
xDerivative | |||
) |
#define DERIVATIVE_OPT | ( | type | ) |
Referenced by MappedGridOperators::derivativeInternal().
#define divFiniteDiffDeriv EXTERN_C_NAME(divfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define divScalarGradFDeriv EXTERN_C_NAME(divscalargradfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define gradFiniteDiffDeriv EXTERN_C_NAME(gradfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define laplacianFDeriv EXTERN_C_NAME(laplacianfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define laplacianFiniteDiffDeriv EXTERN_C_NAME(laplacianfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define U | ( | I1, | |
I2, | |||
I3, | |||
N | |||
) | u(I1,I2,I3,N) |
#define UR2 | ( | I1, | |
I2, | |||
I3, | |||
N | |||
) | ur(I1,I2,I3,N) |
#define UR4 | ( | I1, | |
I2, | |||
I3, | |||
N | |||
) | ur(I1,I2,I3,N) |
#define US2 | ( | I1, | |
I2, | |||
I3, | |||
N | |||
) | us(I1,I2,I3,N) |
#define US4 | ( | I1, | |
I2, | |||
I3, | |||
N | |||
) | us(I1,I2,I3,N) |
#define UT2 | ( | I1, | |
I2, | |||
I3, | |||
N | |||
) | ut(I1,I2,I3,N) |
#define UT4 | ( | I1, | |
I2, | |||
I3, | |||
N | |||
) | ut(I1,I2,I3,N) |
#define vorticityFiniteDiffDeriv EXTERN_C_NAME(vorticityfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define xFDeriv EXTERN_C_NAME(xfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define xFiniteDiffDeriv EXTERN_C_NAME(xfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define xxFDeriv EXTERN_C_NAME(xxfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define xxFiniteDiffDeriv EXTERN_C_NAME(xxfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define xyFDeriv EXTERN_C_NAME(xyfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define xyFiniteDiffDeriv EXTERN_C_NAME(xyfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define xzFDeriv EXTERN_C_NAME(xzfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define xzFiniteDiffDeriv EXTERN_C_NAME(xzfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define yFDeriv EXTERN_C_NAME(yfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define yFiniteDiffDeriv EXTERN_C_NAME(yfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define yyFDeriv EXTERN_C_NAME(yyfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define yyFiniteDiffDeriv EXTERN_C_NAME(yyfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define yzFDeriv EXTERN_C_NAME(yzfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define yzFiniteDiffDeriv EXTERN_C_NAME(yzfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define zFDeriv EXTERN_C_NAME(zfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define zFiniteDiffDeriv EXTERN_C_NAME(zfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define zzFDeriv EXTERN_C_NAME(zzfderiv) |
Referenced by MappedGridOperators::derivativeInternal().
#define zzFiniteDiffDeriv EXTERN_C_NAME(zzfinitediffderiv) |
Referenced by MappedGridOperators::derivativeInternal().
DERIV_PROTO | ( | xFDeriv | ) |
DERIV_PROTO | ( | yFDeriv | ) |
DERIV_PROTO | ( | zFDeriv | ) |
DERIV_PROTO | ( | xxFDeriv | ) |
DERIV_PROTO | ( | xyFDeriv | ) |
DERIV_PROTO | ( | xzFDeriv | ) |
DERIV_PROTO | ( | yyFDeriv | ) |
DERIV_PROTO | ( | yzFDeriv | ) |
DERIV_PROTO | ( | zzFDeriv | ) |
DERIV_PROTO | ( | laplacianFDeriv | ) |
DERIV_PROTOTYPE | ( | xFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | yFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | zFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | xxFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | xyFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | xzFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | yyFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | yzFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | zzFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | laplacianFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | divFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | gradFiniteDiffDeriv | ) |
DERIV_PROTOTYPE | ( | vorticityFiniteDiffDeriv | ) |
void derivativeScalarDerivativeFDerivative | ( | const realMappedGridFunction & | ugf, |
const realMappedGridFunction & | s, | ||
RealDistributedArray & | derivative, | ||
const int & | direction1, | ||
const int & | direction2, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3, | ||
const Index & | N, | ||
MappedGridOperators & | mgop | ||
) |
References Overture::abort(), derivativeScalarDerivativeFDerivative21(), derivativeScalarDerivativeFDerivative21R(), derivativeScalarDerivativeFDerivative22(), derivativeScalarDerivativeFDerivative22R(), derivativeScalarDerivativeFDerivative23(), derivativeScalarDerivativeFDerivative23R(), MappedGrid::inverseCenterDerivative(), MappedGrid::inverseVertexDerivative(), MappedGrid::isAllVertexCentered(), MappedGridOperators::isRectangular(), GenericMappedGridOperators::mappedGrid, MappedGrid::numberOfDimensions(), and GenericMappedGridOperators::orderOfAccuracy.
Referenced by MappedGridOperators::derivativeScalarDerivative().
void divScalarGradFDeriv | ( | const int & | nd, |
const int & | nd1a, | ||
const int & | nd1b, | ||
const int & | nd2a, | ||
const int & | nd2b, | ||
const int & | nd3a, | ||
const int & | nd3b, | ||
const int & | ndu1a, | ||
const int & | ndu1b, | ||
const int & | ndu2a, | ||
const int & | ndu2b, | ||
const int & | ndu3a, | ||
const int & | ndu3b, | ||
const int & | ndu4a, | ||
const int & | ndu4b, | ||
const int & | ndd1a, | ||
const int & | ndd1b, | ||
const int & | ndd2a, | ||
const int & | ndd2b, | ||
const int & | ndd3a, | ||
const int & | ndd3b, | ||
const int & | ndd4a, | ||
const int & | ndd4b, | ||
const int & | n1a, | ||
const int & | n1b, | ||
const int & | n2a, | ||
const int & | n2b, | ||
const int & | n3a, | ||
const int & | n3b, | ||
const int & | ca, | ||
const int & | cb, | ||
const real & | dx, | ||
const real & | dr, | ||
const real & | rsxy, | ||
const real & | jacobian, | ||
const real & | u, | ||
const real & | s, | ||
real & | deriv, | ||
const int & | ndw, | ||
const real & | w, | ||
const int & | derivative, | ||
const int & | derivType, | ||
const int & | gridType, | ||
const int & | order, | ||
const int & | averagingType, | ||
const int & | dir1, | ||
const int & | dir2 | ||
) |
void divScalarGradFDerivative | ( | const realMappedGridFunction & | ugf, |
const realMappedGridFunction & | s, | ||
RealDistributedArray & | derivative, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3, | ||
const Index & | N, | ||
MappedGridOperators & | mgop | ||
) |
References Overture::abort(), divScalarGradFDerivative21(), divScalarGradFDerivative21R(), divScalarGradFDerivative22(), divScalarGradFDerivative22R(), divScalarGradFDerivative23(), divScalarGradFDerivative23R(), MappedGrid::inverseCenterDerivative(), MappedGrid::inverseVertexDerivative(), MappedGrid::isAllVertexCentered(), MappedGridOperators::isRectangular(), GenericMappedGridOperators::mappedGrid, MappedGrid::numberOfDimensions(), and GenericMappedGridOperators::orderOfAccuracy.
Referenced by laplaceFDerivative().
void divVectorScalarFDerivative | ( | const realMappedGridFunction & | ugf, |
const realMappedGridFunction & | s, | ||
RealDistributedArray & | derivative, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3, | ||
const Index & | N, | ||
MappedGridOperators & | mgop | ||
) |
References Overture::abort(), divVectorScalarFDerivative21(), divVectorScalarFDerivative21R(), divVectorScalarFDerivative22(), divVectorScalarFDerivative22R(), divVectorScalarFDerivative23(), divVectorScalarFDerivative23R(), MappedGrid::inverseCenterDerivative(), MappedGrid::inverseVertexDerivative(), MappedGrid::isAllVertexCentered(), MappedGridOperators::isRectangular(), GenericMappedGridOperators::mappedGrid, MappedGrid::numberOfDimensions(), and GenericMappedGridOperators::orderOfAccuracy.
void scalarGradFDerivative | ( | const realMappedGridFunction & | ugf, |
const realMappedGridFunction & | s, | ||
RealDistributedArray & | derivative, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3, | ||
const Index & | N, | ||
MappedGridOperators & | mgop | ||
) |
References Overture::abort(), MappedGrid::gridSpacing(), MappedGrid::inverseCenterDerivative(), MappedGrid::inverseVertexDerivative(), MappedGrid::isAllVertexCentered(), MappedGridOperators::isRectangular(), GenericMappedGridOperators::mappedGrid, MappedGrid::numberOfDimensions(), GenericMappedGridOperators::orderOfAccuracy, scalarGradFDerivative21(), scalarGradFDerivative21R(), scalarGradFDerivative22(), scalarGradFDerivative22R(), scalarGradFDerivative23(), scalarGradFDerivative23R(), scalarGradFDerivative42(), scalarGradFDerivative43(), and SQR.