Overture
Version 25
|
#include <MappedGridOperators.h>
Public Member Functions | |
MappedGridOperators () | |
MappedGridOperators (MappedGrid &mg) | |
MappedGridOperators (const MappedGridOperators &mgfd) | |
virtual GenericMappedGridOperators * | virtualConstructor () const |
virtual | ~MappedGridOperators () |
virtual MappedGridOperators & | operator= (const MappedGridOperators &dmgf) |
virtual GenericMappedGridOperators & | operator= (const GenericMappedGridOperators &mgo) |
virtual void | useConservativeApproximations (bool trueOrFalse=TRUE) |
virtual real | sizeOf (FILE *file=NULL) const |
virtual void | updateToMatchGrid (MappedGrid &mg) |
virtual void | updateToMatchUnstructuredGrid (MappedGrid &mg) |
FourierOperators * | getFourierOperators (const bool abortIfNull=TRUE) const |
virtual int | get (const GenericDataBase &dir, const aString &name) |
virtual int | put (GenericDataBase &dir, const aString &name) const |
void | setOrderOfAccuracy (const int &orderOfAccuracy) |
virtual void | setTwilightZoneFlow (const int &TwilightZoneFlow) |
virtual realMappedGridFunction | scalarCoefficients (const realMappedGridFunction &s, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &I4=nullIndex, const Index &I5=nullIndex, const Index &I6=nullIndex, const Index &I7=nullIndex, const Index &I8=nullIndex) |
virtual realMappedGridFunction | scalarCoefficients (const RealDistributedArray &s) |
virtual realMappedGridFunction | derivativeScalarDerivative (const realMappedGridFunction &u, const realMappedGridFunction &s, const int &direction1, const int &direction2, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &I4=nullIndex, const Index &I5=nullIndex, const Index &I6=nullIndex, const Index &I7=nullIndex, const Index &I8=nullIndex) |
virtual realMappedGridFunction | derivativeScalarDerivative (const realMappedGridFunction &u, const GridFunctionParameters &gfType, const realMappedGridFunction &s, const int &direction1, const int &direction2, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &I4=nullIndex, const Index &I5=nullIndex, const Index &I6=nullIndex, const Index &I7=nullIndex, const Index &I8=nullIndex) |
virtual realMappedGridFunction | derivativeScalarDerivativeCoefficients (const realMappedGridFunction &s, const int &direction1, const int &direction2, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &I4=nullIndex, const Index &I5=nullIndex, const Index &I6=nullIndex, const Index &I7=nullIndex, const Index &I8=nullIndex) |
virtual realMappedGridFunction | derivativeScalarDerivativeCoefficients (const GridFunctionParameters &gfType, const realMappedGridFunction &s, const int &direction1, const int &direction2, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &I4=nullIndex, const Index &I5=nullIndex, const Index &I6=nullIndex, const Index &I7=nullIndex, const Index &I8=nullIndex) |
virtual void | setNumberOfDerivativesToEvaluate (const int &numberOfDerivatives) |
virtual void | setDerivativeType (const int &index, const derivativeTypes &derivativeType, RealDistributedArray &ux1x2) |
virtual void | getDerivatives (const realMappedGridFunction &u, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &I4=nullIndex, const Index &Evalute=nullIndex) |
virtual bool | isRectangular () |
virtual void | setStencilSize (const int stencilSize) |
virtual int | coefficients (const derivativeTypes &derivativeType, realMappedGridFunction &coeff, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &E=nullIndex, const Index &C=nullIndex) |
Evaluate the coeffcients for a given derivative and add to "coeff". | |
virtual int | coefficients (const derivativeTypes &derivativeType, realMappedGridFunction &coeff, const realMappedGridFunction &scalar, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &E=nullIndex, const Index &C=nullIndex) |
This more general version takes a scalar too. | |
virtual int | assignCoefficients (const derivativeTypes &derivativeType, realArray &coeff, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &E=nullIndex, const Index &C=nullIndex) |
virtual int | assignCoefficients (const derivativeTypes &derivativeType, realArray &coeff, const realArray &scalar, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &E=nullIndex, const Index &C=nullIndex) |
virtual int | derivative (const derivativeTypes &derivativeType, const realArray &u, realArray &ux, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &C=nullIndex) |
virtual int | derivative (const derivativeTypes &derivativeType, const realArray &u, const realArray &scalar, realArray &ux, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &C=nullIndex) |
int | derivativeInternal (const derivativeTypes &derivativeType_, const realSerialArray &u, const realSerialArray &scalar, realSerialArray &ux, const Index &I1_=nullIndex, const Index &I2_=nullIndex, const Index &I3_=nullIndex, const Index &C=nullIndex) |
Evaluate a derivative. | |
int | assignCoefficientsInternal (const derivativeTypes &derivativeType_, realSerialArray &coeff, const realSerialArray &scalar, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &E=nullIndex, const Index &C=nullIndex) |
void | applyBoundaryCondition (realMappedGridFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType=BCTypes::dirichlet, const int &boundaryCondition=allBoundaries, const real &forcing=0., const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const int &grid=0) |
void | applyBoundaryCondition (realMappedGridFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const RealArray &forcing, const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const int &grid=0) |
virtual void | applyBoundaryCondition (realMappedGridFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const RealArray &forcing, RealArray *forcinga[2][3], const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const int &grid=0) |
void | applyBoundaryCondition (realMappedGridFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const realMappedGridFunction &forcing, const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const int &grid=0) |
void | applyBoundaryConditionCoefficients (realMappedGridFunction &coeff, const Index &Equations, const Index &Components, const BCTypes::BCNames &boundaryConditionType=BCTypes::dirichlet, const int &boundaryCondition=allBoundaries, const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const int &grid=0) |
void | updateBoundaryConditionArrays (const int newNumberOfBoundaryConditions, const int newNumberOfComponents) |
void | applyBoundaryCondition (realMappedGridFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, RealArray *forcinga[2][3], const realMappedGridFunction &forcing3, const real &time, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
int | getVelocityComponents (int &n1, int &n2, int &n3, int &m1, int &m2, int &m3, realMappedGridFunction &u, const BoundaryConditionParameters &bcParameters, const aString &bcName, const IntegerArray &uC, const IntegerArray &fC) |
void | applyBCaDotU (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCaDotGradU (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCdirichlet (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCextrapolate (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCgeneralMixedDerivative (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCnormalComponent (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCtangentialComponent (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCnormalDerivative (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCneumann (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCsymmetry (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCaDotGradU (realMappedGridFunction &u, const int side, const int axis, const real &scalarData, const RealArray &arrayData, const RealArray &forcing2d, const realMappedGridFunction &gfData, const real &t, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCGenDiv (realMappedGridFunction &u, const int side, const int axis, const real &scalarData, const RealArray &arrayData, const RealArray &forcing2d, const realMappedGridFunction &gfData, const real &t, const IntegerArray &uC, const IntegerArray &fC, const IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | applyBCnormalDotScalarGrad (realMappedGridFunction &u, const int side, const int axis, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const real &forcing1, const RealArray &forcing2, const RealArray &forcing2d, const realMappedGridFunction &forcing3, const real &time, const IntegerArray &uC, const IntegerArray &fC, IntegerDistributedArray &mask, const BoundaryConditionParameters &bcParameters, const BoundaryConditionOption bcOption, const int &grid=0) |
void | buildNeumannCoefficientMatrix (MappedGridOperators &op, realSerialArray &nmCoeff, Index &M, Index &I1, Index &I2, Index &I3, realSerialArray &normalLocal, real b0, real b1, int numberOfDimensions, int side, int axis, const BoundaryConditionParameters &bcParameters) |
Build the coefficient matrix used to apply the neumann BC. | |
Public Member Functions inherited from GenericMappedGridOperators | |
GenericMappedGridOperators () | |
GenericMappedGridOperators (MappedGrid &mg) | |
GenericMappedGridOperators (const GenericMappedGridOperators &mgo) | |
virtual | ~GenericMappedGridOperators () |
int | getOrderOfAccuracy () const |
int | setMaximumWidthForExtrapolateInterpolationNeighbours (const int width=4) |
int | getMaximumWidthForExtrapolateInterpolationNeighbours () const |
virtual void | setNumberOfComponentsForCoefficients (const int number) |
virtual void | setTwilightZoneFlowFunction (OGFunction &twilightZoneFlowFunction) |
virtual realMappedGridFunction | convectiveDerivative (const realMappedGridFunction &u, const realMappedGridFunction &w, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex) |
virtual realMappedGridFunction | convectiveDerivative (const realMappedGridFunction &u, const GridFunctionParameters &gfType, const realMappedGridFunction &w, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex) |
virtual realMappedGridFunction | FCgrad (const realMappedGridFunction &phi, const int c0=0, const int c1=0, const int c2=0, const int c3=0, const int c4=0, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &I4=nullIndex, const Index &I5=nullIndex, const Index &I6=nullIndex, const Index &I7=nullIndex, const Index &I8=nullIndex) |
virtual realMappedGridFunction | FCgrad (const realMappedGridFunction &phi, const GridFunctionParameters &gfType, const int c0=0, const int c1=0, const int c2=0, const int c3=0, const int c4=0, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &I4=nullIndex, const Index &I5=nullIndex, const Index &I6=nullIndex, const Index &I7=nullIndex, const Index &I8=nullIndex) |
void | setInterpolationPoint (intArray &interpolationPoint) |
virtual void | applyBoundaryConditions (realMappedGridFunction &u, const real &time=0.) |
virtual void | assignBoundaryConditionCoefficients (realMappedGridFunction &coeff, const real &time=0.) |
virtual void | finishBoundaryConditions (realMappedGridFunction &u, const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const Range &C0=nullRange) |
virtual void | finishBoundaryConditionsOld (realMappedGridFunction &u, const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const Range &C0=nullRange) |
virtual void | fixBoundaryCorners (realMappedGridFunction &u, const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const Range &C0=nullRange) |
bool | usingConservativeApproximations () const |
void | setAveragingType (const AveragingType &type) |
AveragingType | getAveragingType () const |
realArray | harmonic (const realArray &a, const realArray &b) |
virtual void | setCornerCoefficients (realMappedGridFunction &coeff, const int n, const Index &I1, const Index &I2, const Index &I3, int side1, int side2, int side3, const BoundaryConditionParameters &bcParameters) |
virtual void | setExtrapolationCoefficients (realMappedGridFunction &coeff, const int n, const Index &I1, const Index &I2, const Index &I3, const int order) |
virtual void | setSymmetryCoefficients (realMappedGridFunction &coeff, const int n, const Index &I1, const Index &I2, const Index &I3, const int option=0) |
virtual void | setPeriodicCoefficients (realMappedGridFunction &coeff) |
Public Attributes | |
RealDistributedArray * | urp |
RealDistributedArray * | usp |
RealDistributedArray * | utp |
real | dx [3] |
int | width |
int | halfWidth1 |
int | halfWidth2 |
int | halfWidth3 |
int | useNewOperators |
Public Attributes inherited from GenericMappedGridOperators | |
MappedGrid | mappedGrid |
int | orderOfAccuracy |
int | stencilSize |
int | numberOfComponentsForCoefficients |
int | twilightZoneFlow |
OGFunction * | twilightZoneFlowFunction |
enum GenericMappedGridOperators::ErrorStatusEnum | errorStatus |
Protected Types | |
enum | BoundaryConditionOption { unSpecifiedForcing =-1, scalarForcing =0, vectorForcing, vectorByFaceForcing, arrayForcing, gridFunctionForcing } |
Protected Member Functions | |
void | setup () |
virtual realMappedGridFunction | xi (const derivativeTypes &derivativeType, const realMappedGridFunction &u, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex) |
virtual realMappedGridFunction | xiCoefficients (const derivativeTypes &derivativeType, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex, const Index &E=nullIndex, const Index &C=nullIndex) |
virtual void | computeDerivatives (const int &numberOfDerivatives, const IntegerArray &derivativesToEvaluate, RealDistributedArray *derivative[], const realMappedGridFunction &u, const Index &I1, const Index &I2, const Index &I3, const Index &N, const bool &checkArrayDimensions=TRUE) |
virtual void | spectralDerivatives (const int &numberOfDerivatives, const IntegerArray &derivativesToEvaluate, RealDistributedArray *derivative[], const realMappedGridFunction &u, const Range &R1, const Range &R2, const Range &R3, const Range &R4) |
virtual void | updateDerivativeFunctions () |
bool | createBoundaryMatrix (const int &side, const int &axis, const BCTypes::BCNames &boundaryConditionType) |
Protected Member Functions inherited from GenericMappedGridOperators | |
virtual void | findInterpolationNeighbours () |
|
protected |
MappedGridOperators::MappedGridOperators | ( | ) |
References setup().
Referenced by virtualConstructor().
MappedGridOperators::MappedGridOperators | ( | MappedGrid & | mg | ) |
References setup(), and updateToMatchGrid().
MappedGridOperators::MappedGridOperators | ( | const MappedGridOperators & | mgfd | ) |
References GenericMappedGridOperators::orderOfAccuracy, and setup().
|
virtual |
void MappedGridOperators::applyBCaDotGradU | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCaDotGradU | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const real & | scalarData, | ||
const RealArray & | arrayData, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | gfData, | ||
const real & | t, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References BoundaryConditionParameters::a, Overture::abort(), aCoeffIsSet, BCTypes::aDotGradU, aDotGradUCoeff, arrayForcing, assert, assignBoundaryConditions(), boundaryNormalsUsed, c, MappedGrid::center(), coeffSaved, createBoundaryMatrix(), dr, dx, BoundaryConditionParameters::extraInTangentialDirections, F, FOR_3D, getCPU(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), BoundaryConditionParameters::getUseMask(), gridFunctionForcing, MappedGrid::gridSpacing(), i2, MappedGrid::indexRange(), isRectangular(), BoundaryConditionParameters::lineToAssign, M, GenericMappedGridOperators::mappedGrid, max(), min(), NORMAL, NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, pow(), RHS, scalarForcing, MappedGrid::THEcenter, MappedGrid::THEvertexBoundaryNormal, MappedGrid::THEvertexDerivative, GenericMappedGridOperators::timeForADotGradU, GenericMappedGridOperators::twilightZoneFlow, MappedGrid::update(), BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, UX, UY, UZ, MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), MappedGrid::vertexDerivative(), and x.
void MappedGridOperators::applyBCaDotU | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References BoundaryConditionParameters::a, arrayForcing, c, MappedGrid::center(), BoundaryConditionParameters::extraInTangentialDirections, doubleMappedGridFunction::getComponentDimension(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), getVelocityComponents(), gridFunctionForcing, MappedGrid::indexRange(), isRectangular(), BoundaryConditionParameters::lineToAssign, GenericMappedGridOperators::mappedGrid, max(), min(), MappedGrid::numberOfDimensions(), numberOfDimensions, scalarForcing, SQRT, GenericMappedGridOperators::twilightZoneFlow, and WHERE_MASK.
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCdirichlet | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References arrayForcing, c, MappedGrid::center(), BoundaryConditionParameters::extraInTangentialDirections, getCPU(), getGhostIndex(), getLocalArrayWithGhostBoundaries(), BoundaryConditionParameters::getUseMask(), gridFunctionForcing, MappedGrid::indexRange(), isRectangular(), BoundaryConditionParameters::lineToAssign, GenericMappedGridOperators::mappedGrid, max(), min(), MappedGrid::numberOfDimensions(), scalarForcing, GenericMappedGridOperators::timeForDirichlet, GenericMappedGridOperators::twilightZoneFlow, BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, and WHERE_MASK.
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCextrapolate | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References Overture::abort(), abs(), arrayForcing, axis1, axis2, axis3, boundaryNormalsUsed, boundaryTangentsUsed, c, MappedGrid::centerBoundaryTangent(), dim, dimension, MappedGrid::dimension(), e, End, MappedGrid::extendedIndexRange(), BoundaryConditionParameters::extraInTangentialDirections, BCTypes::extrapolate, GenericMappedGridOperators::extrapolate, BCTypes::extrapolateNormalComponent, GenericMappedGridOperators::extrapolateNormalComponent, extrapolateOpt, BCTypes::extrapolateTangentialComponent0, GenericMappedGridOperators::extrapolateTangentialComponent0, BCTypes::extrapolateTangentialComponent1, GenericMappedGridOperators::extrapolateTangentialComponent1, BoundaryConditionParameters::extrapolateWithLimiterParameters, BoundaryConditionParameters::extrapolationOption, getCPU(), getGhostIndex(), getLocalArrayWithGhostBoundaries(), doubleMappedGridFunction::getMappedGrid(), BoundaryConditionParameters::getUseMask(), getVelocityComponents(), BoundaryConditionParameters::ghostLineToAssign, gridFunctionForcing, MappedGrid::gridIndexRange(), MappedGrid::indexRange(), BoundaryConditionParameters::lineToAssign, GenericMappedGridOperators::mappedGrid, max(), min(), normal, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, BoundaryConditionParameters::orderOfExtrapolation, printF(), REAL_MIN, doubleMappedGridFunction::reference(), scalarForcing, Start, MappedGrid::THEcenterBoundaryTangent, MappedGrid::THEvertexBoundaryNormal, GenericMappedGridOperators::timeForExtrapolate, GenericMappedGridOperators::timeForExtrapolateNormalComponent, TRUE, GenericMappedGridOperators::twilightZoneFlow, MappedGrid::update(), BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, MappedGrid::vertexBoundaryNormal(), and WHERE_MASK.
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCGenDiv | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const real & | scalarData, | ||
const RealArray & | arrayData, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | gfData, | ||
const real & | t, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References BoundaryConditionParameters::a, Overture::abort(), arrayForcing, assert, assignBoundaryConditions(), axis1, axis2, axis3, c, MappedGrid::center(), createBoundaryMatrix(), derivative(), dr, dx, e, BoundaryConditionParameters::extraInTangentialDirections, fabs(), gdCoeffIsSet, BCTypes::generalizedDivergence, generalizedDivergenceCoeff, getCPU(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), MappedGrid::getName(), BoundaryConditionParameters::getUseMask(), getVelocityComponents(), gridFunctionForcing, MappedGrid::gridSpacing(), MappedGrid::indexRange(), isRectangular(), BoundaryConditionParameters::lineToAssign, GenericMappedGridOperators::mappedGrid, MappedGrid::mask(), max(), min(), NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, rectangular, scalarForcing, MappedGrid::THEcenter, GenericMappedGridOperators::timeForGeneralizedDivergence, GenericMappedGridOperators::twilightZoneFlow, GenericMappedGridOperators::twilightZoneFlowFunction, MappedGrid::update(), BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, MappedGrid::vertexDerivative(), x, xDerivative, yDerivative, and zDerivative.
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCgeneralMixedDerivative | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References BoundaryConditionParameters::a, Overture::abort(), abs(), arrayForcing, axis1, axis2, axis3, c, coeffSaved, createBoundaryMatrix(), dx, e, BoundaryConditionParameters::extraInTangentialDirections, gCoeffIsSet, generalMixedDerivativeCoeff, getCPU(), getGhostIndex(), gridFunctionForcing, MappedGrid::gridSpacing(), MappedGrid::indexRange(), BoundaryConditionParameters::lineToAssign, M, M2, M3, GenericMappedGridOperators::mappedGrid, max(), min(), Overture::nullRealDistributedArray(), MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, pow(), printF(), rectangular, scalarForcing, GenericMappedGridOperators::timeForGeneralMixedDerivative, GenericMappedGridOperators::twilightZoneFlow, MappedGrid::vertexDerivative(), WHERE_MASK, WHERE_MASK0, OGFunction::x(), OGFunction::y(), and OGFunction::z().
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCneumann | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References BoundaryConditionParameters::a, Overture::abort(), arrayForcing, assert, assignBoundaryConditions(), boundaryNormalsUsed, buildNeumannCoefficientMatrix(), c, MappedGrid::center(), coeffSaved, createBoundaryMatrix(), dr, dx, BoundaryConditionParameters::extraInTangentialDirections, F, FOR_3D, getCPU(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), BoundaryConditionParameters::getUseMask(), gridFunctionForcing, MappedGrid::gridSpacing(), i2, MappedGrid::indexRange(), isRectangular(), BoundaryConditionParameters::lineToAssign, M, GenericMappedGridOperators::mappedGrid, max(), mCoeffIsSet, min(), BCTypes::mixed, mixedDerivativeCoeff, nCoeffIsSet, BCTypes::neumann, neumannCoeff, NORMAL, NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, pow(), printF(), rectangular, RHS, scalarForcing, MappedGrid::THEcenter, MappedGrid::THEvertexBoundaryNormal, GenericMappedGridOperators::timeForNeumann, TRUE, GenericMappedGridOperators::twilightZoneFlow, MappedGrid::update(), BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, UX, UY, UZ, MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), MappedGrid::vertexDerivative(), and x.
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCnormalComponent | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References Overture::abort(), arrayForcing, assert, assignBoundaryConditions(), boundaryNormalsUsed, c, MappedGrid::center(), dr, dx, BoundaryConditionParameters::extraInTangentialDirections, doubleMappedGridFunction::getComponentDimension(), getCPU(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), BoundaryConditionParameters::getUseMask(), getVelocityComponents(), gridFunctionForcing, MappedGrid::indexRange(), MappedGrid::inverseVertexDerivative(), isRectangular(), BoundaryConditionParameters::lineToAssign, M, GenericMappedGridOperators::mappedGrid, MappedGrid::mask(), max(), min(), normal, NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, rectangular, rx, scalarForcing, MappedGrid::THEcenter, MappedGrid::THEinverseVertexDerivative, MappedGrid::THEvertexBoundaryNormal, GenericMappedGridOperators::timeForNormalComponent, TRUE, GenericMappedGridOperators::twilightZoneFlow, MappedGrid::update(), BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, MappedGrid::vertexBoundaryNormal(), WHERE_MASK, and x.
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCnormalDerivative | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References Overture::abort(), arrayForcing, assert, assignBoundaryConditions(), boundaryNormalsUsed, boundaryTangentsUsed, buildNeumannCoefficientMatrix(), c, MappedGrid::centerBoundaryTangent(), MappedGrid::centerBoundaryTangentArray(), createBoundaryMatrix(), dr, dx, BoundaryConditionParameters::extraInTangentialDirections, getCPU(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), BoundaryConditionParameters::getUseMask(), getVelocityComponents(), gridFunctionForcing, isRectangular(), BoundaryConditionParameters::lineToAssign, M, GenericMappedGridOperators::mappedGrid, max(), min(), nCoeffIsSet, BCTypes::neumann, neumannCoeff, normal, BCTypes::normalDerivativeOfNormalComponent, BCTypes::normalDerivativeOfTangentialComponent0, BCTypes::normalDerivativeOfTangentialComponent1, NULL, numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, pow(), rectangular, scalarForcing, MappedGrid::THEcenter, MappedGrid::THEcenterBoundaryTangent, MappedGrid::THEvertexBoundaryNormal, GenericMappedGridOperators::timeForNormalDerivative, TRUE, GenericMappedGridOperators::twilightZoneFlow, MappedGrid::update(), BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), and x.
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCnormalDotScalarGrad | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References Overture::abort(), GenericMappedGridOperators::arithmeticAverage, arrayForcing, axis1, axis2, axis3, c, createBoundaryMatrix(), dx, e, BoundaryConditionParameters::extraInTangentialDirections, GenericMappedGridOperators::getAveragingType(), getCPU(), getGhostIndex(), BoundaryConditionParameters::getVariableCoefficients(), gridFunctionForcing, MappedGrid::gridSpacing(), MappedGrid::indexRange(), BoundaryConditionParameters::lineToAssign, M, M2, M3, GenericMappedGridOperators::mappedGrid, max(), min(), MN, normal, normalDotScalarGradCoeff, normalDotScalarGradCoeffIsSet, Overture::nullRealDistributedArray(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, rectangular, s, scalarForcing, GenericMappedGridOperators::stencilSize, GenericMappedGridOperators::timeForNormalDotScalarGrad, TRUE, GenericMappedGridOperators::twilightZoneFlow, GenericMappedGridOperators::usingConservativeApproximations(), MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexDerivative(), WHERE_MASK, WHERE_MASK0, OGFunction::x(), OGFunction::y(), and OGFunction::z().
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCsymmetry | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References Overture::abort(), boundaryNormalsUsed, c, MappedGrid::center(), e, GenericMappedGridOperators::evenSymmetry, BoundaryConditionParameters::extraInTangentialDirections, doubleMappedGridFunction::getComponentBase(), doubleMappedGridFunction::getComponentBound(), getCPU(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), getVelocityComponents(), BoundaryConditionParameters::ghostLineToAssign, MappedGrid::indexRange(), isRectangular(), BoundaryConditionParameters::lineToAssign, GenericMappedGridOperators::mappedGrid, normal, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::oddSymmetry, rectangular, MappedGrid::THEvertexBoundaryNormal, GenericMappedGridOperators::timeForSymmetry, GenericMappedGridOperators::twilightZoneFlow, MappedGrid::update(), BCTypes::vectorSymmetry, GenericMappedGridOperators::vectorSymmetry, MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), and WHERE_MASK.
Referenced by applyBoundaryCondition().
void MappedGridOperators::applyBCtangentialComponent | ( | realMappedGridFunction & | u, |
const int | side, | ||
const int | axis, | ||
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC, | ||
const IntegerDistributedArray & | mask, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References Overture::abort(), arrayForcing, assert, assignBoundaryConditions(), boundaryNormalsUsed, boundaryTangentsUsed, c, MappedGrid::center(), MappedGrid::centerBoundaryTangent(), dr, dx, e, BoundaryConditionParameters::extraInTangentialDirections, doubleMappedGridFunction::getComponentDimension(), getGhostIndex(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), BoundaryConditionParameters::getUseMask(), getVelocityComponents(), gridFunctionForcing, MappedGrid::indexRange(), MappedGrid::inverseVertexDerivative(), isRectangular(), BoundaryConditionParameters::lineToAssign, M, GenericMappedGridOperators::mappedGrid, MappedGrid::mask(), max(), min(), normal, NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, OV_ABORT, OV_GET_SERIAL_ARRAY, OV_GET_SERIAL_ARRAY_CONST, rectangular, rx, scalarForcing, BCTypes::tangentialComponent, GenericMappedGridOperators::tangentialComponent, BCTypes::tangentialComponent0, GenericMappedGridOperators::tangentialComponent0, BCTypes::tangentialComponent1, GenericMappedGridOperators::tangentialComponent1, MappedGrid::THEcenter, MappedGrid::THEcenterBoundaryTangent, MappedGrid::THEinverseVertexDerivative, MappedGrid::THEvertexBoundaryNormal, TRUE, GenericMappedGridOperators::twilightZoneFlow, MappedGrid::update(), BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, MappedGrid::vertexBoundaryNormal(), WHERE_MASK, and x.
Referenced by applyBoundaryCondition().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References NULL, Overture::nullRealArray(), Overture::nullRealMappedGridFunction(), and scalarForcing.
Referenced by applyBoundaryCondition(), and Ogmg::applyBoundaryConditions().
|
virtual |
|
virtual |
Reimplemented from GenericMappedGridOperators.
References applyBoundaryCondition(), arrayForcing, Overture::nullRealArray(), and Overture::nullRealMappedGridFunction().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References applyBoundaryCondition(), gridFunctionForcing, NULL, and Overture::nullRealArray().
void MappedGridOperators::applyBoundaryCondition | ( | realMappedGridFunction & | u, |
const Index & | Components, | ||
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const real & | forcing1, | ||
const RealArray & | forcing2, | ||
const RealArray & | forcing2d, | ||
RealArray * | forcinga[2][3], | ||
const realMappedGridFunction & | forcing3, | ||
const real & | time, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const BoundaryConditionOption | bcOption, | ||
const int & | grid = 0 |
||
) |
References Overture::abort(), GenericMappedGridOperators::aDotGradU, GenericMappedGridOperators::aDotU, allBoundaries, applyBCaDotGradU(), applyBCaDotU(), applyBCdirichlet(), applyBCextrapolate(), applyBCGenDiv(), applyBCgeneralMixedDerivative(), applyBCneumann(), applyBCnormalComponent(), applyBCnormalDerivative(), applyBCnormalDotScalarGrad(), applyBCsymmetry(), applyBCtangentialComponent(), UnstructuredOperators::applyBoundaryCondition(), assert, AssignInterpNeighbours::assign(), GenericMappedGridOperators::assignInterpNeighbours, axis2, axis3, BCTypes::boundary1, BCTypes::boundary6, MappedGrid::boundaryCondition(), c, CC, MappedGrid::dimension(), GenericMappedGridOperators::dirichlet, display(), e, GenericMappedGridOperators::errorInFindInterpolationNeighbours, GenericMappedGridOperators::errorStatus, GenericMappedGridOperators::evenSymmetry, MappedGrid::extendedIndexRange(), BoundaryConditionParameters::extraInTangentialDirections, extrapInterpNeighboursOpt, BCTypes::extrapolate, GenericMappedGridOperators::extrapolate, GenericMappedGridOperators::extrapolateInterpolationNeighbourPoints, BCTypes::extrapolateInterpolationNeighbours, GenericMappedGridOperators::extrapolateInterpolationNeighboursDirection, GenericMappedGridOperators::extrapolateInterpolationNeighboursIsInitialized, GenericMappedGridOperators::extrapolateInterpolationNeighboursVariableWidth, GenericMappedGridOperators::extrapolateNormalComponent, BCTypes::extrapolateRefinementBoundaries, GenericMappedGridOperators::extrapolateTangentialComponent0, GenericMappedGridOperators::extrapolateTangentialComponent1, BoundaryConditionParameters::extrapolateWithLimiterParameters, BoundaryConditionParameters::extrapolationOption, FALSE, BoundaryConditionParameters::fComponents, GenericMappedGridOperators::findInterpolationNeighbours(), GenericMappedGridOperators::fixBoundaryCorners(), GenericMappedGridOperators::generalizedDivergence, GenericMappedGridOperators::generalMixedDerivative, doubleMappedGridFunction::getComponentBase(), doubleMappedGridFunction::getComponentDimension(), getCPU(), getGhostIndex(), getLocalArrayWithGhostBoundaries(), doubleMappedGridFunction::getMappedGrid(), MappedGrid::getPartition(), BoundaryConditionParameters::getUseMask(), BoundaryConditionParameters::ghostLineToAssign, gridFunctionForcing, i2, ia, MappedGrid::indexRange(), GenericMappedGridOperators::interpolationPoint, MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, MappedGrid::isRefinementGrid(), BoundaryConditionParameters::lineToAssign, GenericMappedGridOperators::mappedGrid, mask, MappedGrid::mask(), max(), GenericMappedGridOperators::maximumWidthToExtrapolationInterpolationNeighbours, min(), GenericMappedGridOperators::mixed, GenericMappedGridOperators::neumann, GenericMappedGridOperators::normalComponent, GenericMappedGridOperators::normalDerivativeOfNormalComponent, GenericMappedGridOperators::normalDerivativeOfTangentialComponent0, GenericMappedGridOperators::normalDerivativeOfTangentialComponent1, GenericMappedGridOperators::normalDotScalarGrad, NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::numberOfInterpolationNeighboursNew, GenericMappedGridOperators::oddSymmetry, BoundaryConditionParameters::orderOfExtrapolation, printF(), REAL_MIN, return, AssignInterpNeighbours::setInterpolationPoint(), Start, GenericMappedGridOperators::tangentialComponent, GenericMappedGridOperators::tangentialComponent0, GenericMappedGridOperators::tangentialComponent1, GenericMappedGridOperators::timeForAllBoundaryConditions, GenericMappedGridOperators::timeForExtrapolateInterpolationNeighbours, GenericMappedGridOperators::timeForExtrapolateRefinementBoundaries, GenericMappedGridOperators::timeToSetupBoundaryConditions, TRUE, GenericMappedGridOperators::twilightZoneFlow, GenericMappedGridOperators::twilightZoneFlowFunction, BoundaryConditionParameters::uComponents, GenericGrid::unstructuredGrid, BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, and GenericMappedGridOperators::vectorSymmetry.
|
virtual |
Reimplemented from GenericMappedGridOperators.
References BoundaryConditionParameters::a, Overture::abort(), GenericMappedGridOperators::aDotGradU, GenericMappedGridOperators::aDotU, allBoundaries, assert, assignCoefficients(), axis1, axis2, axis3, BCTypes::boundary1, BCTypes::boundary6, MappedGrid::boundaryCondition(), MappedGrid::boundaryFlag(), boundaryNormalsUsed, boundaryTangentsUsed, c, CE, MappedGrid::centerBoundaryTangent(), MappedGrid::centerBoundaryTangentArray(), BCTypes::dirichlet, GenericMappedGridOperators::dirichlet, End, GenericMappedGridOperators::evenSymmetry, BoundaryConditionParameters::extraInTangentialDirections, BCTypes::extrapolate, GenericMappedGridOperators::extrapolate, BCTypes::extrapolateNormalComponent, GenericMappedGridOperators::extrapolateNormalComponent, BCTypes::extrapolateTangentialComponent0, GenericMappedGridOperators::extrapolateTangentialComponent0, BCTypes::extrapolateTangentialComponent1, GenericMappedGridOperators::extrapolateTangentialComponent1, SparseRepForMGF::extrapolation, fabs(), FALSE, FOR_4D, ForStencil, GenericMappedGridOperators::generalizedDivergence, GenericMappedGridOperators::generalMixedDerivative, getGhostIndex(), getLocalArrayWithGhostBoundaries(), getLocalIndex(), BoundaryConditionParameters::getUseMask(), BoundaryConditionParameters::getVariableCoefficients(), SparseRepForMGF::ghost1, BoundaryConditionParameters::ghostLineToAssign, MappedGrid::gridIndexRange(), i2, identityOperator, MappedGrid::indexRange(), MappedGrid::inverseVertexDerivative(), MappedGrid::ISinteriorBoundaryPoint, MappedGrid::ISinterpolationPoint, isRectangular(), MappedGrid::isRectangular(), BoundaryConditionParameters::lineToAssign, M, M123, M123CE, GenericMappedGridOperators::mappedGrid, mask, MappedGrid::mask(), BCTypes::mixed, GenericMappedGridOperators::mixed, MappedGrid::mixedPhysicalInterpolationBoundary, BCTypes::neumann, GenericMappedGridOperators::neumann, NORMAL, normal, BCTypes::normalComponent, GenericMappedGridOperators::normalComponent, BCTypes::normalDerivativeOfADotU, GenericMappedGridOperators::normalDerivativeOfADotU, BCTypes::normalDerivativeOfNormalComponent, GenericMappedGridOperators::normalDerivativeOfNormalComponent, BCTypes::normalDerivativeOfTangentialComponent0, GenericMappedGridOperators::normalDerivativeOfTangentialComponent0, BCTypes::normalDerivativeOfTangentialComponent1, GenericMappedGridOperators::normalDerivativeOfTangentialComponent1, BCTypes::normalDotScalarGrad, GenericMappedGridOperators::normalDotScalarGrad, NULL, GenericMappedGridOperators::numberOfComponentsForCoefficients, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::oddSymmetry, OPX, OPXS, OPY, OPYS, OPZ, OPZS, GenericMappedGridOperators::orderOfAccuracy, BoundaryConditionParameters::orderOfExtrapolation, printF(), rectangular, SparseRepForMGF::setClassify(), SparseRepForMGF::setCoefficientIndex(), GenericMappedGridOperators::setExtrapolationCoefficients(), doubleMappedGridFunction::sparse, SQRT, Start, GenericMappedGridOperators::stencilSize, BCTypes::tangentialComponent, GenericMappedGridOperators::tangentialComponent, BCTypes::tangentialComponent0, GenericMappedGridOperators::tangentialComponent0, BCTypes::tangentialComponent1, GenericMappedGridOperators::tangentialComponent1, MappedGrid::THEcenterBoundaryTangent, MappedGrid::THEinverseVertexDerivative, MappedGrid::THEvertexBoundaryNormal, TRUE, MappedGrid::update(), BoundaryConditionParameters::useMixedBoundaryMask, useWhereMaskOnBoundary, BCTypes::vectorSymmetry, GenericMappedGridOperators::vectorSymmetry, MappedGrid::vertexBoundaryNormal(), MappedGrid::vertexBoundaryNormalArray(), xDerivative, yDerivative, and zDerivative.
|
virtual |
int MappedGridOperators::assignCoefficientsInternal | ( | const derivativeTypes & | derivativeType_, |
realSerialArray & | coeff, | ||
const realSerialArray & | scalar, | ||
const Index & | I1 = nullIndex , |
||
const Index & | I2 = nullIndex , |
||
const Index & | I3 = nullIndex , |
||
const Index & | E = nullIndex , |
||
const Index & | C = nullIndex |
||
) |
Fill the coefficients into an array. This version takes a scalar that is required by some operators.
References Overture::abort(), GenericMappedGridOperators::arithmeticAverage, GenericMappedGridOperators::averagingType, MappedGrid::centerJacobian(), coeffOperator, derivative(), divergenceScalarGradient, dr, dx, GenericMappedGridOperators::getAveragingType(), getLocalArrayWithGhostBoundaries(), MappedGrid::gridSpacing(), MappedGrid::inverseVertexDerivative(), GenericMappedGridOperators::mappedGrid, mask, MappedGrid::mask(), max(), min(), Overture::nullRealDistributedArray(), GenericMappedGridOperators::numberOfComponentsForCoefficients, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, rectangular, s, SQR, GenericMappedGridOperators::stencilSize, MappedGrid::THEcenterJacobian, MappedGrid::update(), GenericMappedGridOperators::usingConservativeApproximations(), xDerivativeScalarXDerivative, and zDerivativeScalarZDerivative.
void MappedGridOperators::buildNeumannCoefficientMatrix | ( | MappedGridOperators & | op, |
realSerialArray & | nmCoeff, | ||
Index & | M, | ||
Index & | I1, | ||
Index & | I2, | ||
Index & | I3, | ||
realSerialArray & | normalLocal, | ||
real | b0, | ||
real | b1, | ||
int | numberOfDimensions, | ||
int | side, | ||
int | axis, | ||
const BoundaryConditionParameters & | bcParameters | ||
) |
Build the coefficient matrix used to apply the neumann BC.
References assignCoefficients(), display(), FOR_4, FOR_4D, i2, identityOperator, GenericMappedGridOperators::mappedGrid, mask, MappedGrid::mask(), max(), min(), NMCOEFF, NORMAL, OPX, xDerivative, yDerivative, and zDerivative.
Referenced by applyBCneumann(), and applyBCnormalDerivative().
|
virtual |
Evaluate the coeffcients for a given derivative and add to "coeff".
This routine is a memory and speed efficient way to evaluate coefficient matrices. /param derivativeType (input) : evaluate the coefficients for this derivative /param coeff (input) : a coefficient array /param I1,I2,I3 (input) : optionally specify which points should be assigned.
Referenced by Ogmg::buildPredefinedCoefficientMatrix(), derivativeScalarDerivativeCoefficients(), Ogmg::operatorAveraging(), and xiCoefficients().
|
virtual |
This more general version takes a scalar too.
References assignCoefficients().
|
protectedvirtual |
References Overture::abort(), assert, c, derivative(), derivativeFunction, divergence, Mapping::functionPeriodic, MappedGrid::getGridType(), MappedGrid::getPartition(), MappedGrid::gridSpacing(), MappedGrid::isAllCellCentered(), MappedGrid::isAllVertexCentered(), MappedGrid::isPeriodic(), GenericMappedGridOperators::mappedGrid, max(), NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, doubleMappedGridFunction::positionOfComponent(), doubleMappedGridFunction::positionOfCoordinate(), rectangular, GenericMappedGridOperators::spectral, spectralDerivatives(), GenericGrid::unstructuredGrid, urp, usp, utp, and vorticityOperator.
Referenced by getDerivatives(), and xi().
|
protected |
References Overture::abort(), GenericMappedGridOperators::aDotGradU, aDotGradUCoeff, GenericMappedGridOperators::generalizedDivergence, generalizedDivergenceCoeff, GenericMappedGridOperators::generalMixedDerivative, generalMixedDerivativeCoeff, GenericMappedGridOperators::mixed, mixedDerivativeCoeff, GenericMappedGridOperators::neumann, neumannCoeff, GenericMappedGridOperators::normalDotScalarGrad, normalDotScalarGradCoeff, NULL, and printF().
Referenced by applyBCaDotGradU(), applyBCGenDiv(), applyBCgeneralMixedDerivative(), applyBCneumann(), applyBCnormalDerivative(), and applyBCnormalDotScalarGrad().
|
virtual |
int MappedGridOperators::derivativeInternal | ( | const derivativeTypes & | derivativeType_, |
const realSerialArray & | u, | ||
const realSerialArray & | scalar, | ||
realSerialArray & | ux, | ||
const Index & | I1_ = nullIndex , |
||
const Index & | I2_ = nullIndex , |
||
const Index & | I3_ = nullIndex , |
||
const Index & | C = nullIndex |
||
) |
Evaluate a derivative.
This routine is a memory and speed efficient way to evaluate derivatives /param derivativeType (input) : evaluate the coefficients for this derivative /param u (input) : differentiate this function /param s (input) : scalar used for some derivatives /param ux (output) : result /param I1,I2,I3,C (input) : optionally specify which points should be assigned.
/return values: 0 for success, 1 if unable to evaluate the derivative.
References Overture::abort(), GenericMappedGridOperators::arithmeticAverage, assert, MappedGrid::centerJacobian(), DERIV_OPT, UnstructuredOperators::derivative(), derivative(), DERIVATIVE_OPT, MappedGrid::dimension(), divergence, divergenceScalarGradient, divergenceTensorGradient, divFiniteDiffDeriv, divScalarGradFDeriv, dr, dx, GenericMappedGridOperators::getAveragingType(), MappedGrid::getGridType(), getLocalArrayWithGhostBoundaries(), gradFiniteDiffDeriv, gradient, MappedGrid::gridSpacing(), h21, h22, h41, h42, MappedGrid::inverseVertexDerivative(), laplacianFDeriv, laplacianFiniteDiffDeriv, laplacianOperator, GenericMappedGridOperators::mappedGrid, mask, MappedGrid::mask(), max(), min(), NULL, MappedGrid::numberOfDimensions(), GenericMappedGridOperators::orderOfAccuracy, printF(), rectangular, SQR, MappedGrid::THEcenterJacobian, GenericGrid::unstructuredGrid, MappedGrid::update(), GenericMappedGridOperators::usingConservativeApproximations(), vorticityFiniteDiffDeriv, vorticityOperator, xDerivative, xDerivativeScalarXDerivative, xFDeriv, xFiniteDiffDeriv, xxDerivative, xxFDeriv, xxFiniteDiffDeriv, xyDerivative, xyFDeriv, xyFiniteDiffDeriv, xzDerivative, xzFDeriv, xzFiniteDiffDeriv, yDerivative, yFDeriv, yFiniteDiffDeriv, yyDerivative, yyFDeriv, yyFiniteDiffDeriv, yzDerivative, yzFDeriv, yzFiniteDiffDeriv, zDerivative, zDerivativeScalarZDerivative, zFDeriv, zFiniteDiffDeriv, zzDerivative, zzFDeriv, and zzFiniteDiffDeriv.
|
virtual |
Reimplemented from GenericMappedGridOperators.
References Overture::abort(), derivative(), derivativeScalarDerivativeFDerivative(), doubleMappedGridFunction::getComponentBase(), doubleMappedGridFunction::getComponentDimension(), max(), nullIndex, nullRange, numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, doubleMappedGridFunction::positionOfCoordinate(), doubleMappedGridFunction::updateToMatchGridFunction(), GenericMappedGridOperators::usingConservativeApproximations(), x, xDerivativeScalarXDerivative, xDerivativeScalarYDerivative, xDerivativeScalarZDerivative, yDerivativeScalarXDerivative, yDerivativeScalarYDerivative, yDerivativeScalarZDerivative, zDerivativeScalarXDerivative, zDerivativeScalarYDerivative, and zDerivativeScalarZDerivative.
Referenced by derivativeScalarDerivative().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References derivativeScalarDerivative().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References coefficients(), GenericMappedGridOperators::conservative, derivativeScalarDerivativeFDerivCoefficients(), MappedGrid::dimension(), End, GenericMappedGridOperators::mappedGrid, multiply(), GenericMappedGridOperators::numberOfComponentsForCoefficients, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, SQR, Start, GenericMappedGridOperators::stencilSize, x, xDerivativeScalarXDerivative, xDerivativeScalarYDerivative, xDerivativeScalarZDerivative, yDerivativeScalarXDerivative, yDerivativeScalarYDerivative, yDerivativeScalarZDerivative, zDerivativeScalarXDerivative, zDerivativeScalarYDerivative, and zDerivativeScalarZDerivative.
Referenced by derivativeScalarDerivativeCoefficients().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References derivativeScalarDerivativeCoefficients().
|
virtual |
Reimplemented from GenericMappedGridOperators.
|
virtual |
Reimplemented from GenericMappedGridOperators.
References computeDerivatives(), derivative(), derivativeArray, derivativeType, and numberOfDerivativesToEvaluate.
FourierOperators * MappedGridOperators::getFourierOperators | ( | const bool | abortIfNull = TRUE | ) | const |
References Overture::abort(), and NULL.
int MappedGridOperators::getVelocityComponents | ( | int & | n1, |
int & | n2, | ||
int & | n3, | ||
int & | m1, | ||
int & | m2, | ||
int & | m3, | ||
realMappedGridFunction & | u, | ||
const BoundaryConditionParameters & | bcParameters, | ||
const aString & | bcName, | ||
const IntegerArray & | uC, | ||
const IntegerArray & | fC | ||
) |
References Overture::abort(), BoundaryConditionParameters::fComponents, doubleMappedGridFunction::getComponentBase(), doubleMappedGridFunction::getComponentBound(), GenericMappedGridOperators::mappedGrid, max(), min(), MappedGrid::numberOfDimensions(), and BoundaryConditionParameters::uComponents.
Referenced by applyBCaDotU(), applyBCextrapolate(), applyBCGenDiv(), applyBCnormalComponent(), applyBCnormalDerivative(), applyBCsymmetry(), and applyBCtangentialComponent().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References rectangular.
Referenced by applyBCaDotGradU(), applyBCaDotU(), applyBCdirichlet(), applyBCGenDiv(), applyBCneumann(), applyBCnormalComponent(), applyBCnormalDerivative(), applyBCsymmetry(), applyBCtangentialComponent(), applyBoundaryConditionCoefficients(), Ogmg::applyBoundaryConditions(), derivativeScalarDerivativeFDerivative(), derivativeScalarDerivativeFDerivCoefficients(), divFDerivative(), divScalarGradFDerivative(), divScalarGradFDerivCoefficients(), divVectorScalarFDerivative(), divVectorScalarFDerivCoefficients(), gradFDerivative(), Ogmg::initializeConstantCoefficients(), laplaceFDerivative(), laplaceFDerivCoefficients(), scalarGradFDerivative(), scalarGradFDerivCoefficients(), vorticityFDerivative(), xFDerivative(), xFDerivCoefficients(), xxFDerivative(), xxFDerivCoefficients(), xyFDerivative(), xyFDerivCoefficients(), xzFDerivative(), xzFDerivCoefficients(), yFDerivative(), yFDerivCoefficients(), yyFDerivative(), yyFDerivCoefficients(), yzFDerivative(), yzFDerivCoefficients(), zFDerivative(), zFDerivCoefficients(), zzFDerivative(), and zzFDerivCoefficients().
|
virtual |
|
virtual |
Reimplemented from GenericMappedGridOperators.
References Overture::abort().
|
virtual |
Reimplemented from GenericMappedGridOperators.
|
virtual |
Reimplemented from GenericMappedGridOperators.
References Overture::abort(), and s.
|
virtual |
References Overture::abort(), and Overture::nullRealMappedGridFunction().
|
virtual |
References Overture::abort(), derivativeArray, derivativeType, and numberOfDerivativesToEvaluate.
|
virtual |
References derivativeType, and numberOfDerivativesToEvaluate.
|
virtual |
Reimplemented from GenericMappedGridOperators.
References halfWidth1, halfWidth2, halfWidth3, numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, GenericMappedGridOperators::spectral, and width.
Referenced by Ogmg::assignBoundaryConditionCoefficients(), Ogmg::buildPredefinedCoefficientMatrix(), Ogmg::operatorAveraging(), updateToMatchGrid(), and updateToMatchUnstructuredGrid().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References GenericMappedGridOperators::stencilSize.
Referenced by Ogmg::buildPredefinedCoefficientMatrix(), main(), and Ogmg::operatorAveraging().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References GenericMappedGridOperators::mappedGrid, MappedGrid::THEcenter, MappedGrid::THEvertex, GenericMappedGridOperators::twilightZoneFlow, and MappedGrid::update().
Referenced by Ogmg::applyBoundaryConditions(), and main().
|
protected |
References aCoeffIsSet, aCoeffValues, aDotGradUCoeff, boundaryNormalsUsed, boundaryTangentsUsed, derivativeArray, derivativeFunction, derivCoefficientsFunction, GenericMappedGridOperators::extrapolateInterpolationNeighboursIsInitialized, fourierOperators, gCoeffIsSet, gCoeffValues, gdCoeffIsSet, generalizedDivergenceCoeff, generalMixedDerivativeCoeff, mCoeffIsSet, mCoeffValues, mixedDerivativeCoeff, nCoeffIsSet, neumannCoeff, normalDotScalarGradCoeff, normalDotScalarGradCoeffIsSet, NULL, GenericMappedGridOperators::numberOfComponentsForCoefficients, numberOfDifferentDerivatives, numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, rectangular, GenericMappedGridOperators::stencilSize, GenericMappedGridOperators::twilightZoneFlow, GenericMappedGridOperators::twilightZoneFlowFunction, updateDerivativeFunctions(), and useNewOperators.
Referenced by MappedGridOperators().
Reimplemented from GenericMappedGridOperators.
References fPrintF(), NULL, and GenericMappedGridOperators::sizeOf().
|
protectedvirtual |
References assert, axis1, axis2, axis3, divergence, divergenceScalarGradient, dx, End, FourierOperators::fourierDerivative(), FourierOperators::fourierLaplacian(), fourierOperators, FourierOperators::fourierToReal(), gradient, MappedGrid::gridIndexRange(), identityOperator, laplacianOperator, GenericMappedGridOperators::mappedGrid, max(), NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, doubleMappedGridFunction::periodicUpdate(), r1Derivative, r1r1Derivative, r1r2Derivative, r1r3Derivative, r2Derivative, r2r2Derivative, r2r3Derivative, r3Derivative, r3r3Derivative, FourierOperators::realToFourier(), FourierOperators::setDefaultRanges(), FourierOperators::setPeriod(), Start, doubleMappedGridFunction::updateToMatchGridFunction(), xDerivative, xxDerivative, xyDerivative, xzDerivative, yDerivative, yxDerivative, yyDerivative, yzDerivative, zDerivative, zxDerivative, zyDerivative, and zzDerivative.
Referenced by computeDerivatives().
void MappedGridOperators::updateBoundaryConditionArrays | ( | const int | newNumberOfBoundaryConditions, |
const int | newNumberOfComponents | ||
) |
|
protectedvirtual |
References derivativeFunction, derivCoefficientsFunction, divergence, divFDerivative(), divFDerivCoefficients(), gradFDerivative(), gradFDerivCoefficients(), gradient, identityFDerivative(), identityFDerivCoefficients(), identityOperator, laplaceFDerivative(), laplaceFDerivCoefficients(), laplacianOperator, r1Derivative, r1r1Derivative, r1r2Derivative, r1r3Derivative, r2Derivative, r2r2Derivative, r2r3Derivative, r3Derivative, r3r3Derivative, rDerivative(), rDerivCoefficients(), rrDerivative(), rrDerivCoefficients(), rsDerivative(), rsDerivCoefficients(), rtDerivative(), rtDerivCoefficients(), sDerivative(), sDerivCoefficients(), ssDerivative(), ssDerivCoefficients(), stDerivative(), stDerivCoefficients(), tDerivative(), tDerivCoefficients(), ttDerivative(), ttDerivCoefficients(), vorticityFDerivative(), vorticityOperator, xDerivative, xFDerivative(), xFDerivCoefficients(), xxDerivative, xxFDerivative(), xxFDerivCoefficients(), xyDerivative, xyFDerivative(), xyFDerivCoefficients(), xzDerivative, xzFDerivative(), xzFDerivCoefficients(), yDerivative, yFDerivative(), yFDerivCoefficients(), yyDerivative, yyFDerivative(), yyFDerivCoefficients(), yzDerivative, yzFDerivative(), yzFDerivCoefficients(), zDerivative, zFDerivative(), zFDerivCoefficients(), zzDerivative, zzFDerivative(), and zzFDerivCoefficients().
Referenced by setup().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References Overture::abort(), aCoeffIsSet, aDotGradUCoeff, GenericMappedGridOperators::assignInterpNeighbours, MappedGrid::boundaryCondition(), boundaryNormalsUsed, boundaryTangentsUsed, Mapping::debug, dx, End, GenericMappedGridOperators::extrapolateInterpolationNeighboursIsInitialized, gCoeffIsSet, gdCoeffIsSet, generalizedDivergenceCoeff, generalMixedDerivativeCoeff, MappedGrid::getDeltaX(), getGhostIndex(), MappedGrid::getGridType(), AssignInterpNeighbours::gridHasChanged(), MappedGrid::indexRange(), MappedGrid::ISinteriorBoundaryPoint, MappedGrid::isRectangular(), GenericMappedGridOperators::mappedGrid, MappedGrid::mask(), max(), mCoeffIsSet, min(), mixedDerivativeCoeff, nCoeffIsSet, neumannCoeff, normalDotScalarGradCoeffIsSet, NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, MappedGrid::numberOfGhostPoints(), GenericMappedGridOperators::orderOfAccuracy, pow(), printF(), rectangular, MappedGrid::reference(), setOrderOfAccuracy(), GenericMappedGridOperators::spectral, Start, GenericMappedGridOperators::stencilSize, MappedGrid::THEcenter, MappedGrid::THEcenterBoundaryTangent, MappedGrid::THEcenterJacobian, MappedGrid::THEinverseVertexDerivative, MappedGrid::THEmask, MappedGrid::THEvertex, MappedGrid::THEvertexBoundaryNormal, GenericMappedGridOperators::twilightZoneFlow, GenericGrid::unstructuredGrid, MappedGrid::update(), updateToMatchUnstructuredGrid(), useWhereMaskOnBoundary, and GenericMappedGridOperators::usingConservativeApproximations().
Referenced by MappedGridOperators(), and EllipticGridGenerator::setup().
|
virtual |
References aCoeffIsSet, aDotGradUCoeff, boundaryNormalsUsed, boundaryTangentsUsed, Mapping::debug, dx, gCoeffIsSet, gdCoeffIsSet, generalizedDivergenceCoeff, generalMixedDerivativeCoeff, GenericMappedGridOperators::mappedGrid, mCoeffIsSet, mixedDerivativeCoeff, nCoeffIsSet, neumannCoeff, normalDotScalarGradCoeffIsSet, NULL, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, MappedGrid::reference(), setOrderOfAccuracy(), MappedGrid::THEcellVolume, MappedGrid::THEcenter, MappedGrid::THEcenterBoundaryTangent, MappedGrid::THEfaceArea, MappedGrid::THEfaceNormal, MappedGrid::THEmask, MappedGrid::THEvertex, MappedGrid::THEvertexBoundaryNormal, GenericMappedGridOperators::twilightZoneFlow, and MappedGrid::update().
Referenced by updateToMatchGrid().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References MappedGrid::isRectangular(), GenericMappedGridOperators::mappedGrid, MappedGrid::numberOfDimensions(), MappedGrid::THEcenterJacobian, MappedGrid::update(), GenericMappedGridOperators::useConservativeApproximations(), and GenericMappedGridOperators::usingConservativeApproximations().
|
virtual |
Reimplemented from GenericMappedGridOperators.
References MappedGridOperators().
|
protectedvirtual |
References Overture::abort(), computeDerivatives(), derivative(), divergence, FALSE, doubleMappedGridFunction::getComponentBase(), doubleMappedGridFunction::getComponentBound(), doubleMappedGridFunction::getComponentDimension(), doubleMappedGridFunction::getNumberOfComponents(), gradient, nullIndex, nullRange, Overture::nullRealMappedGridFunction(), doubleMappedGridFunction::updateToMatchGridFunction(), and vorticityOperator.
|
protectedvirtual |
References assert, c, coefficients(), derivCoefficientsFunction, MappedGrid::dimension(), End, GenericMappedGridOperators::mappedGrid, NULL, GenericMappedGridOperators::numberOfComponentsForCoefficients, MappedGrid::numberOfDimensions(), numberOfDimensions, GenericMappedGridOperators::orderOfAccuracy, r1Derivative, r3r3Derivative, SQR, Start, and GenericMappedGridOperators::stencilSize.
|
protected |
Referenced by applyBCaDotGradU(), setup(), updateToMatchGrid(), and updateToMatchUnstructuredGrid().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by getDerivatives(), setDerivativeType(), and setup().
|
protected |
Referenced by computeDerivatives(), setup(), and updateDerivativeFunctions().
|
protected |
Referenced by getDerivatives(), setDerivativeType(), and setNumberOfDerivativesToEvaluate().
|
protected |
Referenced by setup(), updateDerivativeFunctions(), and xiCoefficients().
real MappedGridOperators::dx[3] |
Referenced by applyBCaDotGradU(), applyBCGenDiv(), applyBCgeneralMixedDerivative(), applyBCneumann(), applyBCnormalComponent(), applyBCnormalDerivative(), applyBCnormalDotScalarGrad(), applyBCtangentialComponent(), assignCoefficientsInternal(), derivativeInternal(), derivativeScalarDerivativeFDerivative21R(), derivativeScalarDerivativeFDerivative22R(), derivativeScalarDerivativeFDerivative23R(), divFDerivative(), divScalarGradFDerivative21R(), divScalarGradFDerivative22R(), divScalarGradFDerivative23R(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivative21R(), divVectorScalarFDerivative22R(), divVectorScalarFDerivative23R(), gradFDerivative(), laplaceFDerivative(), laplaceFDerivCoefficients(), scalarGradFDerivative21R(), scalarGradFDerivative22R(), scalarGradFDerivative23R(), spectralDerivatives(), updateToMatchGrid(), updateToMatchUnstructuredGrid(), vorticityFDerivative(), xFDerivative(), xFDerivCoefficients(), xxFDerivative(), xxFDerivCoefficients(), xyFDerivative(), xyFDerivCoefficients(), xzFDerivative(), xzFDerivCoefficients(), yFDerivative(), yFDerivCoefficients(), yyFDerivative(), yyFDerivCoefficients(), yzFDerivative(), yzFDerivCoefficients(), zFDerivative(), zFDerivCoefficients(), zzFDerivative(), and zzFDerivCoefficients().
|
protected |
|
protected |
Referenced by setup(), spectralDerivatives(), and ~MappedGridOperators().
|
protected |
Referenced by applyBCgeneralMixedDerivative(), setup(), updateToMatchGrid(), and updateToMatchUnstructuredGrid().
|
protected |
Referenced by applyBCGenDiv(), setup(), updateToMatchGrid(), and updateToMatchUnstructuredGrid().
|
protected |
Referenced by applyBCGenDiv(), createBoundaryMatrix(), setup(), updateToMatchGrid(), updateToMatchUnstructuredGrid(), and ~MappedGridOperators().
|
protected |
int MappedGridOperators::halfWidth1 |
Referenced by derivativeScalarDerivativeFDerivCoefficients2(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivCoefficients2(), identityFDerivCoefficients(), laplaceFDerivCoefficients(), laplaceFDerivCoefficients2(), laplaceFDerivCoefficients42(), laplaceFDerivCoefficients43(), scalarGradFDerivCoefficients2(), setOrderOfAccuracy(), xFDerivCoefficients(), xxFDerivCoefficients(), xyFDerivCoefficients(), xyFDerivCoefficients4(), xzFDerivCoefficients(), xzFDerivCoefficients4(), yFDerivCoefficients(), yyFDerivCoefficients(), yzFDerivCoefficients(), yzFDerivCoefficients4(), zFDerivCoefficients(), and zzFDerivCoefficients().
int MappedGridOperators::halfWidth2 |
Referenced by derivativeScalarDerivativeFDerivCoefficients2(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivCoefficients2(), identityFDerivCoefficients(), laplaceFDerivCoefficients(), laplaceFDerivCoefficients2(), laplaceFDerivCoefficients42(), laplaceFDerivCoefficients43(), scalarGradFDerivCoefficients2(), setOrderOfAccuracy(), xFDerivCoefficients(), xxFDerivCoefficients(), xyFDerivCoefficients(), xyFDerivCoefficients4(), xzFDerivCoefficients(), xzFDerivCoefficients4(), yFDerivCoefficients(), yyFDerivCoefficients(), yzFDerivCoefficients(), yzFDerivCoefficients4(), zFDerivCoefficients(), and zzFDerivCoefficients().
int MappedGridOperators::halfWidth3 |
Referenced by derivativeScalarDerivativeFDerivCoefficients2(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivCoefficients2(), identityFDerivCoefficients(), laplaceFDerivCoefficients(), laplaceFDerivCoefficients2(), laplaceFDerivCoefficients42(), laplaceFDerivCoefficients43(), scalarGradFDerivCoefficients2(), setOrderOfAccuracy(), xFDerivCoefficients(), xxFDerivCoefficients(), xyFDerivCoefficients(), xyFDerivCoefficients4(), xzFDerivCoefficients(), xzFDerivCoefficients4(), yFDerivCoefficients(), yyFDerivCoefficients(), yzFDerivCoefficients(), yzFDerivCoefficients4(), zFDerivCoefficients(), and zzFDerivCoefficients().
|
protected |
Referenced by applyBCneumann(), setup(), updateToMatchGrid(), and updateToMatchUnstructuredGrid().
|
protected |
|
protected |
Referenced by applyBCneumann(), applyBCnormalDerivative(), setup(), updateToMatchGrid(), and updateToMatchUnstructuredGrid().
|
protected |
|
protected |
Referenced by applyBCnormalDotScalarGrad(), createBoundaryMatrix(), setup(), and ~MappedGridOperators().
|
protected |
Referenced by applyBCnormalDotScalarGrad(), setup(), updateToMatchGrid(), and updateToMatchUnstructuredGrid().
|
protected |
Referenced by getDerivatives(), setDerivativeType(), and setNumberOfDerivativesToEvaluate().
|
protected |
Referenced by applyBCaDotGradU(), applyBCaDotU(), applyBCextrapolate(), applyBCGenDiv(), applyBCgeneralMixedDerivative(), applyBCneumann(), applyBCnormalComponent(), applyBCnormalDerivative(), applyBCnormalDotScalarGrad(), applyBCsymmetry(), applyBCtangentialComponent(), applyBoundaryCondition(), applyBoundaryConditionCoefficients(), assignCoefficientsInternal(), computeDerivatives(), derivativeScalarDerivative(), derivativeScalarDerivativeCoefficients(), setOrderOfAccuracy(), setup(), spectralDerivatives(), updateToMatchGrid(), updateToMatchUnstructuredGrid(), and xiCoefficients().
|
protected |
Referenced by applyBCGenDiv(), applyBCgeneralMixedDerivative(), applyBCneumann(), applyBCnormalComponent(), applyBCnormalDerivative(), applyBCnormalDotScalarGrad(), applyBCsymmetry(), applyBCtangentialComponent(), applyBoundaryConditionCoefficients(), assignCoefficientsInternal(), computeDerivatives(), derivativeInternal(), isRectangular(), setup(), and updateToMatchGrid().
RealDistributedArray* MappedGridOperators::urp |
Referenced by computeDerivatives(), divFDerivative(), gradFDerivative(), laplaceFDerivative22(), laplaceFDerivative23(), laplaceFDerivative42(), laplaceFDerivative43(), vorticityFDerivative(), xFDerivative(), xFDerivative22(), xFDerivative23(), xFDerivative42(), xFDerivative43(), xxFDerivative(), xxFDerivative22(), xxFDerivative23(), xxFDerivative42(), xxFDerivative43(), xyFDerivative(), xyFDerivative22(), xyFDerivative23(), xyFDerivative42(), xyFDerivative43(), xzFDerivative(), xzFDerivative22(), xzFDerivative23(), xzFDerivative42(), xzFDerivative43(), yFDerivative(), yFDerivative22(), yFDerivative23(), yFDerivative42(), yFDerivative43(), yyFDerivative(), yyFDerivative22(), yyFDerivative23(), yyFDerivative42(), yyFDerivative43(), yzFDerivative(), yzFDerivative22(), yzFDerivative23(), yzFDerivative42(), yzFDerivative43(), zFDerivative(), zFDerivative22(), zFDerivative23(), zFDerivative42(), zFDerivative43(), zzFDerivative(), zzFDerivative22(), zzFDerivative23(), zzFDerivative42(), and zzFDerivative43().
int MappedGridOperators::useNewOperators |
|
protected |
RealDistributedArray * MappedGridOperators::usp |
Referenced by computeDerivatives(), divFDerivative(), gradFDerivative(), laplaceFDerivative22(), laplaceFDerivative23(), laplaceFDerivative42(), laplaceFDerivative43(), vorticityFDerivative(), xFDerivative(), xFDerivative22(), xFDerivative23(), xFDerivative42(), xFDerivative43(), xxFDerivative(), xxFDerivative22(), xxFDerivative23(), xxFDerivative42(), xxFDerivative43(), xyFDerivative(), xyFDerivative22(), xyFDerivative23(), xyFDerivative42(), xyFDerivative43(), xzFDerivative(), xzFDerivative22(), xzFDerivative23(), xzFDerivative42(), xzFDerivative43(), yFDerivative(), yFDerivative22(), yFDerivative23(), yFDerivative42(), yFDerivative43(), yyFDerivative(), yyFDerivative22(), yyFDerivative23(), yyFDerivative42(), yyFDerivative43(), yzFDerivative(), yzFDerivative22(), yzFDerivative23(), yzFDerivative42(), yzFDerivative43(), zFDerivative(), zFDerivative22(), zFDerivative23(), zFDerivative42(), zFDerivative43(), zzFDerivative(), zzFDerivative22(), zzFDerivative23(), zzFDerivative42(), and zzFDerivative43().
RealDistributedArray * MappedGridOperators::utp |
Referenced by computeDerivatives(), divFDerivative(), gradFDerivative(), laplaceFDerivative23(), laplaceFDerivative43(), vorticityFDerivative(), xFDerivative(), xFDerivative22(), xFDerivative23(), xFDerivative42(), xFDerivative43(), xxFDerivative(), xxFDerivative22(), xxFDerivative23(), xxFDerivative42(), xxFDerivative43(), xyFDerivative(), xyFDerivative22(), xyFDerivative23(), xyFDerivative42(), xyFDerivative43(), xzFDerivative(), xzFDerivative22(), xzFDerivative23(), xzFDerivative42(), xzFDerivative43(), yFDerivative(), yFDerivative22(), yFDerivative23(), yFDerivative42(), yFDerivative43(), yyFDerivative(), yyFDerivative22(), yyFDerivative23(), yyFDerivative42(), yyFDerivative43(), yzFDerivative(), yzFDerivative22(), yzFDerivative23(), yzFDerivative42(), yzFDerivative43(), zFDerivative(), zFDerivative22(), zFDerivative23(), zFDerivative42(), zFDerivative43(), zzFDerivative(), zzFDerivative22(), zzFDerivative23(), zzFDerivative42(), and zzFDerivative43().
int MappedGridOperators::width |
Referenced by derivativeScalarDerivativeFDerivCoefficients2(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivCoefficients2(), identityFDerivCoefficients(), laplaceFDerivCoefficients(), laplaceFDerivCoefficients2(), laplaceFDerivCoefficients42(), laplaceFDerivCoefficients43(), scalarGradFDerivCoefficients2(), setOrderOfAccuracy(), xFDerivCoefficients(), xxFDerivCoefficients(), xyFDerivCoefficients(), xyFDerivCoefficients4(), xzFDerivCoefficients(), xzFDerivCoefficients4(), yFDerivCoefficients(), yyFDerivCoefficients(), yzFDerivCoefficients(), yzFDerivCoefficients4(), zFDerivCoefficients(), and zzFDerivCoefficients().