Overture
Version 25
|
#include <GenericMappedGridOperators.h>
Public Types | |
enum | AveragingType { arithmeticAverage, harmonicAverage } |
enum | { forAll =realMappedGridFunction::forAll, undefinedValue =realMappedGridFunction::undefinedValue, allBoundaries =BCTypes::allBoundaries, spectral =-999 } |
enum | boundaryConditionTypes { dirichlet =BCTypes::dirichlet, neumann =BCTypes::neumann, extrapolate =BCTypes::extrapolate, normalComponent =BCTypes::normalComponent, mixed =BCTypes::mixed, generalMixedDerivative =BCTypes::generalMixedDerivative, normalDerivativeOfNormalComponent =BCTypes::normalDerivativeOfNormalComponent, normalDerivativeOfADotU =BCTypes::normalDerivativeOfADotU, aDotU =BCTypes::aDotU, aDotGradU =BCTypes::aDotGradU, normalDotScalarGrad =BCTypes::normalDotScalarGrad, evenSymmetry =BCTypes::evenSymmetry, oddSymmetry =BCTypes::oddSymmetry, generalizedDivergence =BCTypes::generalizedDivergence, vectorSymmetry =BCTypes::vectorSymmetry, tangentialComponent0 =BCTypes::tangentialComponent0, tangentialComponent1 =BCTypes::tangentialComponent1, normalDerivativeOfTangentialComponent0 =BCTypes::normalDerivativeOfTangentialComponent0, normalDerivativeOfTangentialComponent1 =BCTypes::normalDerivativeOfTangentialComponent1, extrapolateInterpolationNeighbours =BCTypes::extrapolateInterpolationNeighbours, tangentialComponent =BCTypes::tangentialComponent, extrapolateNormalComponent =BCTypes::extrapolateNormalComponent, extrapolateTangentialComponent0 =BCTypes::extrapolateTangentialComponent0, extrapolateTangentialComponent1 =BCTypes::extrapolateTangentialComponent1, userDefinedBoundaryCondition0 =BCTypes::userDefinedBoundaryCondition0, userDefinedBoundaryCondition1 =BCTypes::userDefinedBoundaryCondition1, userDefinedBoundaryCondition2 =BCTypes::userDefinedBoundaryCondition2, userDefinedBoundaryCondition3 =BCTypes::userDefinedBoundaryCondition3, userDefinedBoundaryCondition4 =BCTypes::userDefinedBoundaryCondition4, userDefinedBoundaryCondition5 =BCTypes::userDefinedBoundaryCondition5, userDefinedBoundaryCondition6 =BCTypes::userDefinedBoundaryCondition6, userDefinedBoundaryCondition7 =BCTypes::userDefinedBoundaryCondition7, userDefinedBoundaryCondition8 =BCTypes::userDefinedBoundaryCondition8, userDefinedBoundaryCondition9 =BCTypes::userDefinedBoundaryCondition9, numberOfDifferentBoundaryConditionTypes } |
enum | ErrorStatusEnum { noErrors =0, errorInFindInterpolationNeighbours } |
Public Member Functions | |
GenericMappedGridOperators () | |
GenericMappedGridOperators (MappedGrid &mg) | |
GenericMappedGridOperators (const GenericMappedGridOperators &mgo) | |
virtual GenericMappedGridOperators * | virtualConstructor () const |
virtual | ~GenericMappedGridOperators () |
virtual GenericMappedGridOperators & | operator= (const GenericMappedGridOperators &mgo) |
virtual real | sizeOf (FILE *file=NULL) const |
virtual void | updateToMatchGrid (MappedGrid &mg) |
virtual int | get (const GenericDataBase &dir, const aString &name) |
virtual int | put (GenericDataBase &dir, const aString &name) const |
virtual void | setOrderOfAccuracy (const int &orderOfAccuracy) |
int | getOrderOfAccuracy () const |
int | setMaximumWidthForExtrapolateInterpolationNeighbours (const int width=4) |
int | getMaximumWidthForExtrapolateInterpolationNeighbours () const |
virtual bool | isRectangular () |
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 void | setStencilSize (const int stencilSize) |
virtual void | setNumberOfComponentsForCoefficients (const int number) |
virtual void | setTwilightZoneFlow (const int &twilightZoneFlow) |
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 | 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 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) |
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) |
void | setInterpolationPoint (intArray &interpolationPoint) |
virtual void | applyBoundaryConditions (realMappedGridFunction &u, const real &time=0.) |
virtual void | assignBoundaryConditionCoefficients (realMappedGridFunction &coeff, const real &time=0.) |
virtual 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) |
virtual 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) |
virtual 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) |
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) |
virtual 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) |
virtual void | useConservativeApproximations (bool trueOrFalse=TRUE) |
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) |
Static Public Member Functions | |
static int | setDefaultMaximumWidthForExtrapolateInterpolationNeighbours (const int width=4) |
static void | printBoundaryConditionStatistics (FILE *file=stdout) |
Public Attributes | |
MappedGrid | mappedGrid |
int | orderOfAccuracy |
int | stencilSize |
int | numberOfComponentsForCoefficients |
int | twilightZoneFlow |
OGFunction * | twilightZoneFlowFunction |
enum GenericMappedGridOperators::ErrorStatusEnum | errorStatus |
Static Public Attributes | |
static int | defaultMaximumWidthToExtrapolationInterpolationNeighbours =4 |
static real | timeForDirichlet =0. |
static real | timeForNeumann =0. |
static real | timeForExtrapolate =0. |
static real | timeForNormalComponent =0. |
static real | timeForGeneralMixedDerivative =0. |
static real | timeForNormalDerivative =0. |
static real | timeForNormalDerivativeOfADotU =0. |
static real | timeForADotU =0. |
static real | timeForADotGradU =0. |
static real | timeForNormalDotScalarGrad =0. |
static real | timeForSymmetry =0. |
static real | timeForGeneralizedDivergence =0. |
static real | timeForExtrapolateInterpolationNeighbours =0. |
static real | timeForExtrapolateNormalComponent =0. |
static real | timeForExtrapolateRefinementBoundaries =0. |
static real | timeForPeriodicUpdate =0. |
static real | timeForFixBoundaryCorners =0. |
static real | timeToSetupBoundaryConditions =0. |
static real | timeForAllBoundaryConditions =0. |
Protected Member Functions | |
virtual void | findInterpolationNeighbours () |
GenericMappedGridOperators::GenericMappedGridOperators | ( | ) |
References arithmeticAverage, assignInterpNeighbours, averagingType, conservative, defaultMaximumWidthToExtrapolationInterpolationNeighbours, errorStatus, extrapolateInterpolationNeighbourPoints, extrapolateInterpolationNeighboursDirection, extrapolateInterpolationNeighboursVariableWidth, FALSE, interpolationPoint, maximumWidthToExtrapolationInterpolationNeighbours, noErrors, NULL, numberOfComponentsForCoefficients, orderOfAccuracy, stencilSize, twilightZoneFlow, and twilightZoneFlowFunction.
Referenced by virtualConstructor().
GenericMappedGridOperators::GenericMappedGridOperators | ( | MappedGrid & | mg | ) |
References arithmeticAverage, assignInterpNeighbours, averagingType, conservative, extrapolateInterpolationNeighbourPoints, extrapolateInterpolationNeighboursDirection, extrapolateInterpolationNeighboursVariableWidth, FALSE, interpolationPoint, mappedGrid, maximumWidthToExtrapolationInterpolationNeighbours, NULL, numberOfComponentsForCoefficients, orderOfAccuracy, MappedGrid::reference(), stencilSize, twilightZoneFlow, and twilightZoneFlowFunction.
GenericMappedGridOperators::GenericMappedGridOperators | ( | const GenericMappedGridOperators & | mgo | ) |
|
virtual |
|
virtual |
Reimplemented in MappedGridOperators.
Referenced by doubleMappedGridFunction::applyBoundaryCondition(), and floatMappedGridFunction::applyBoundaryCondition().
|
virtual |
Reimplemented in MappedGridOperators.
|
virtual |
Reimplemented in MappedGridOperators.
|
virtual |
Reimplemented in MappedGridOperators.
|
virtual |
Reimplemented in MappedGridOperators.
Referenced by doubleMappedGridFunction::applyBoundaryConditionCoefficients(), and floatMappedGridFunction::applyBoundaryConditionCoefficients().
|
virtual |
|
virtual |
|
virtual |
References Overture::nullRealMappedGridFunction().
|
virtual |
References Overture::nullRealMappedGridFunction().
|
virtual |
Reimplemented in MappedGridOperators.
References Overture::nullRealMappedGridFunction().
|
virtual |
Reimplemented in MappedGridOperators.
References Overture::nullRealMappedGridFunction().
|
virtual |
Reimplemented in MappedGridOperators.
References Overture::nullRealMappedGridFunction().
|
virtual |
Reimplemented in MappedGridOperators.
References Overture::nullRealMappedGridFunction().
|
virtual |
References Overture::nullRealMappedGridFunction().
|
virtual |
References Overture::nullRealMappedGridFunction().
|
protectedvirtual |
References assert, axis2, axis3, dimension, MappedGrid::dimension(), display(), displayMask(), errorInFindInterpolationNeighbours, errorStatus, extendedIndexRange, MappedGrid::extendedIndexRange(), extrapolateInterpolationNeighbourPoints, extrapolateInterpolationNeighboursDirection, extrapolateInterpolationNeighboursIsInitialized, extrapolateInterpolationNeighboursVariableWidth, findInterNeighboursOpt, getIndex(), getLocalArrayWithGhostBoundaries(), MappedGrid::getName(), MappedGrid::gridIndexRange(), i2, ia, indexRange, interpolationPoint, ip, mappedGrid, mask, MappedGrid::mask(), max(), maximumWidthToExtrapolationInterpolationNeighbours, min(), NULL, MappedGrid::numberOfDimensions(), MappedGrid::numberOfGhostPoints(), numberOfInterpolationNeighboursNew, printF(), R, Start, and TRUE.
Referenced by MappedGridOperators::applyBoundaryCondition().
|
virtual |
References Overture::abort(), abs(), assert, axis1, axis2, axis3, MappedGrid::boundaryCondition(), cc, CE, ce, SparseRepForMGF::classify, dimension, MappedGrid::dimension(), End, BoundaryConditionParameters::evenSymmetryCorner, BoundaryConditionParameters::extrapolateCorner, SparseRepForMGF::extrapolation, finishBoundaryConditionsOld(), fixBoundaryCorners(), SparseRepForMGF::fixUpClassify(), getBoundaryIndex(), BoundaryConditionParameters::getCornerBoundaryCondition(), ParallelUtility::getLocalArrayBounds(), getLocalArrayWithGhostBoundaries(), doubleMappedGridFunction::getMappedGrid(), MappedGrid::gridIndexRange(), i2, indexRange, MappedGrid::indexRange(), GridCollection::ISinterpolationPoint, MappedGrid::isPeriodic(), mask, MappedGrid::mask(), max(), NULL, numberOfComponentsForCoefficients, MappedGrid::numberOfDimensions(), SparseRepForMGF::numberOfGhostLines, BoundaryConditionParameters::oddSymmetryCorner, orderOfAccuracy, BoundaryConditionParameters::orderOfExtrapolation, OV_ABORT, printF(), SparseRepForMGF::setCoefficientIndex(), setExtrapolationCoefficients(), setPeriodicCoefficients(), doubleMappedGridFunction::sparse, Start, stencilSize, BoundaryConditionParameters::symmetryCorner, BoundaryConditionParameters::taylor2ndOrder, BoundaryConditionParameters::taylor2ndOrderEvenCorner, and BoundaryConditionParameters::taylor4thOrderEvenCorner.
Referenced by Ogmg::applyBoundaryConditions(), floatMappedGridFunction::finishBoundaryConditions(), and doubleMappedGridFunction::finishBoundaryConditions().
|
virtual |
References axis1, axis2, axis3, MappedGrid::boundaryCondition(), SparseRepForMGF::classify, MappedGrid::dimension(), End, SparseRepForMGF::extrapolation, fixBoundaryCorners(), SparseRepForMGF::fixUpClassify(), getBoundaryIndex(), getIndex(), doubleMappedGridFunction::getMappedGrid(), MappedGrid::gridIndexRange(), i2, MappedGrid::indexRange(), GridCollection::ISinterpolationPoint, MappedGrid::isPeriodic(), mask, MappedGrid::mask(), NULL, numberOfComponentsForCoefficients, MappedGrid::numberOfDimensions(), SparseRepForMGF::numberOfGhostLines, orderOfAccuracy, BoundaryConditionParameters::orderOfExtrapolation, setCornerCoefficients(), setExtrapolationCoefficients(), setPeriodicCoefficients(), doubleMappedGridFunction::sparse, and Start.
Referenced by finishBoundaryConditions().
|
virtual |
References axis1, axis2, axis3, boundaryCondition, MappedGrid::boundaryCondition(), c, BoundaryConditionParameters::cornerExtrapolationOption, dim, dimension, MappedGrid::dimension(), BoundaryConditionParameters::doNothingCorner, End, fixBoundaryCornersOpt, doubleMappedGridFunction::getComponentBase(), doubleMappedGridFunction::getComponentBound(), BoundaryConditionParameters::getCornerBC(), getCPUOpt, MappedGrid::getGridType(), doubleMappedGridFunction::getMappedGrid(), BoundaryConditionParameters::getVectorSymmetryCornerComponent(), indexRange, MappedGrid::indexRange(), indexRange0, MappedGrid::inverseVertexDerivative(), MappedGrid::isPeriodic(), isRectangular(), BoundaryConditionParameters::lineToAssign, mask, MappedGrid::mask(), max(), min(), NULL, nullRange, BoundaryConditionParameters::numberOfCornerGhostLinesToAssign, MappedGrid::numberOfDimensions(), orderOfAccuracy, BoundaryConditionParameters::orderOfExtrapolation, doubleMappedGridFunction::periodicUpdate(), REAL_MIN, Start, timeForFixBoundaryCorners, GenericGrid::unstructuredGrid, BoundaryConditionParameters::vectorSymmetryAxis1Corner, and BoundaryConditionParameters::vectorSymmetryAxis3Corner.
Referenced by MappedGridOperators::applyBoundaryCondition(), finishBoundaryConditions(), and finishBoundaryConditionsOld().
|
virtual |
Reimplemented in MappedGridOperators.
References conservative, GenericDataBase::find(), GenericDataBase::get(), numberOfComponentsForCoefficients, orderOfAccuracy, stencilSize, and GenericDataBase::virtualConstructor().
GenericMappedGridOperators::AveragingType GenericMappedGridOperators::getAveragingType | ( | ) | const |
References averagingType.
Referenced by MappedGridOperators::applyBCnormalDotScalarGrad(), MappedGridOperators::assignCoefficientsInternal(), MappedGridOperators::derivativeInternal(), derivativeScalarDerivativeFDerivative21(), derivativeScalarDerivativeFDerivative21R(), derivativeScalarDerivativeFDerivative22(), derivativeScalarDerivativeFDerivative22R(), derivativeScalarDerivativeFDerivative23(), derivativeScalarDerivativeFDerivative23R(), derivativeScalarDerivativeFDerivCoefficients2(), divScalarGradFDerivative21(), divScalarGradFDerivative21R(), divScalarGradFDerivative22(), divScalarGradFDerivative22R(), divScalarGradFDerivative23(), divScalarGradFDerivative23R(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivative21(), divVectorScalarFDerivative21R(), divVectorScalarFDerivative22(), divVectorScalarFDerivative22R(), divVectorScalarFDerivative23(), divVectorScalarFDerivative23R(), divVectorScalarFDerivCoefficients2(), scalarGradFDerivative21(), scalarGradFDerivative21R(), scalarGradFDerivative22(), scalarGradFDerivative22R(), scalarGradFDerivative23(), scalarGradFDerivative23R(), and scalarGradFDerivCoefficients2().
|
virtual |
Reimplemented in MappedGridOperators.
int GenericMappedGridOperators::getMaximumWidthForExtrapolateInterpolationNeighbours | ( | ) | const |
|
inline |
References orderOfAccuracy.
Referenced by derivativeScalarDerivativeFDerivative21(), derivativeScalarDerivativeFDerivative21R(), derivativeScalarDerivativeFDerivative22(), derivativeScalarDerivativeFDerivative22R(), derivativeScalarDerivativeFDerivative23(), derivativeScalarDerivativeFDerivative23R(), derivativeScalarDerivativeFDerivCoefficients2(), divScalarGradFDerivative21(), divScalarGradFDerivative21R(), divScalarGradFDerivative22(), divScalarGradFDerivative22R(), divScalarGradFDerivative23(), divScalarGradFDerivative23R(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivative21(), divVectorScalarFDerivative21R(), divVectorScalarFDerivative22(), divVectorScalarFDerivative22R(), divVectorScalarFDerivative23(), divVectorScalarFDerivative23R(), divVectorScalarFDerivCoefficients2(), scalarGradFDerivative21(), scalarGradFDerivative21R(), scalarGradFDerivative22(), scalarGradFDerivative22R(), scalarGradFDerivative23(), scalarGradFDerivative23R(), and scalarGradFDerivCoefficients2().
|
virtual |
|
virtual |
Reimplemented in MappedGridOperators.
References assignInterpNeighbours, averagingType, conservative, extrapolateInterpolationNeighbourPoints, extrapolateInterpolationNeighboursDirection, extrapolateInterpolationNeighboursIsInitialized, extrapolateInterpolationNeighboursVariableWidth, interpolationPoint, mappedGrid, NULL, numberOfComponentsForCoefficients, orderOfAccuracy, stencilSize, twilightZoneFlow, and twilightZoneFlowFunction.
Referenced by MappedGridOperators::operator=().
|
static |
References fPrintF(), timeForADotGradU, timeForADotU, timeForAllBoundaryConditions, timeForDirichlet, timeForExtrapolate, timeForExtrapolateInterpolationNeighbours, timeForExtrapolateNormalComponent, timeForExtrapolateRefinementBoundaries, timeForFixBoundaryCorners, timeForGeneralizedDivergence, timeForGeneralMixedDerivative, timeForNeumann, timeForNormalComponent, timeForNormalDerivative, timeForNormalDerivativeOfADotU, timeForNormalDotScalarGrad, timeForPeriodicUpdate, timeForSymmetry, and timeToSetupBoundaryConditions.
|
virtual |
Reimplemented in MappedGridOperators.
References GenericDataBase::create(), GenericDataBase::put(), and GenericDataBase::virtualConstructor().
|
virtual |
Reimplemented in MappedGridOperators.
References Overture::nullRealMappedGridFunction().
void GenericMappedGridOperators::setAveragingType | ( | const AveragingType & | type | ) |
References averagingType.
|
virtual |
References Overture::abort(), BoundaryConditionParameters::extrapolateCorner, BoundaryConditionParameters::getCornerBoundaryCondition(), orderOfAccuracy, BoundaryConditionParameters::orderOfExtrapolation, setExtrapolationCoefficients(), setSymmetryCoefficients(), BoundaryConditionParameters::symmetryCorner, and BoundaryConditionParameters::taylor2ndOrder.
Referenced by finishBoundaryConditionsOld().
|
static |
|
virtual |
References Overture::abort(), axis1, axis2, axis3, CE, End, SparseRepForMGF::extrapolation, ParallelUtility::getLocalArrayBounds(), i2, MappedGrid::indexRange(), doubleMappedGridFunction::mappedGrid, mask, MappedGrid::mask(), numberOfComponentsForCoefficients, SparseRepForMGF::setClassify(), SparseRepForMGF::setCoefficientIndex(), doubleMappedGridFunction::sparse, Start, stencilSize, and Z.
Referenced by MappedGridOperators::applyBoundaryConditionCoefficients(), Ogmg::assignBoundaryConditionCoefficients(), finishBoundaryConditions(), finishBoundaryConditionsOld(), Ogmg::operatorAveraging(), and setCornerCoefficients().
void GenericMappedGridOperators::setInterpolationPoint | ( | intArray & | interpolationPoint | ) |
References interpolationPoint.
int GenericMappedGridOperators::setMaximumWidthForExtrapolateInterpolationNeighbours | ( | const int | width = 4 | ) |
|
virtual |
References numberOfComponentsForCoefficients.
Referenced by main().
|
virtual |
Reimplemented in MappedGridOperators.
References orderOfAccuracy.
|
virtual |
References Overture::abort(), assert, axis1, MappedGrid::boundaryCondition(), CE, SparseRepForMGF::classify, End, getIndex(), ParallelUtility::getLocalArrayBounds(), MappedGrid::gridIndexRange(), i2, MappedGrid::isPeriodic(), doubleMappedGridFunction::mappedGrid, mask, MappedGrid::mask(), NULL, SparseRepForMGF::numberOfComponents, numberOfComponentsForCoefficients, MappedGrid::numberOfDimensions(), SparseRepForMGF::numberOfGhostLines, SparseRepForMGF::periodic, SparseRepForMGF::setCoefficientIndex(), doubleMappedGridFunction::sparse, Start, SparseRepForMGF::stencilSize, stencilSize, and Z.
Referenced by finishBoundaryConditions(), and finishBoundaryConditionsOld().
|
virtual |
Reimplemented in MappedGridOperators.
References stencilSize.
|
virtual |
References axis1, axis2, axis3, CE, End, SparseRepForMGF::extrapolation, ParallelUtility::getLocalArrayBounds(), i2, MappedGrid::indexRange(), doubleMappedGridFunction::mappedGrid, mask, MappedGrid::mask(), SparseRepForMGF::setClassify(), SparseRepForMGF::setCoefficientIndex(), doubleMappedGridFunction::sparse, Start, and Z.
Referenced by setCornerCoefficients().
|
virtual |
Reimplemented in MappedGridOperators.
References twilightZoneFlow.
|
virtual |
References twilightZoneFlowFunction.
Referenced by main().
|
virtual |
Reimplemented in MappedGridOperators.
References mappedGrid, and MappedGrid::reference().
|
virtual |
Reimplemented in MappedGridOperators.
References conservative.
Referenced by MappedGridOperators::useConservativeApproximations().
bool GenericMappedGridOperators::usingConservativeApproximations | ( | ) | const |
References conservative.
Referenced by MappedGridOperators::applyBCnormalDotScalarGrad(), MappedGridOperators::assignCoefficientsInternal(), MappedGridOperators::derivativeInternal(), MappedGridOperators::derivativeScalarDerivative(), divFDerivative(), laplaceFDerivative(), laplaceFDerivCoefficients(), MappedGridOperators::updateToMatchGrid(), and MappedGridOperators::useConservativeApproximations().
|
virtual |
Reimplemented in MappedGridOperators.
References GenericMappedGridOperators().
Referenced by GenericGridCollectionOperators::updateToMatchGrid(), and GenericCompositeGridOperators::updateToMatchGrid().
|
protected |
|
protected |
|
protected |
|
static |
enum GenericMappedGridOperators::ErrorStatusEnum GenericMappedGridOperators::errorStatus |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
MappedGrid GenericMappedGridOperators::mappedGrid |
Referenced by MappedGridOperators::applyBCaDotGradU(), MappedGridOperators::applyBCaDotU(), MappedGridOperators::applyBCdirichlet(), MappedGridOperators::applyBCextrapolate(), MappedGridOperators::applyBCGenDiv(), MappedGridOperators::applyBCgeneralMixedDerivative(), MappedGridOperators::applyBCneumann(), MappedGridOperators::applyBCnormalComponent(), MappedGridOperators::applyBCnormalDerivative(), MappedGridOperators::applyBCnormalDotScalarGrad(), MappedGridOperators::applyBCsymmetry(), MappedGridOperators::applyBCtangentialComponent(), MappedGridOperators::applyBoundaryCondition(), MappedGridOperators::applyBoundaryConditionCoefficients(), MappedGridOperators::assignCoefficientsInternal(), MappedGridOperators::buildNeumannCoefficientMatrix(), MappedGridOperators::computeDerivatives(), MappedGridOperators::derivativeInternal(), MappedGridOperators::derivativeScalarDerivativeCoefficients(), derivativeScalarDerivativeFDerivative(), derivativeScalarDerivativeFDerivative21(), derivativeScalarDerivativeFDerivative22(), derivativeScalarDerivativeFDerivative23(), derivativeScalarDerivativeFDerivCoefficients2(), divFDerivative(), divScalarGradFDerivative(), divScalarGradFDerivative21(), divScalarGradFDerivative22(), divScalarGradFDerivative23(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivative(), divVectorScalarFDerivative21(), divVectorScalarFDerivative21R(), divVectorScalarFDerivative22(), divVectorScalarFDerivative22R(), divVectorScalarFDerivative23(), divVectorScalarFDerivative23R(), divVectorScalarFDerivCoefficients2(), findInterpolationNeighbours(), GenericMappedGridOperators(), MappedGridOperators::getVelocityComponents(), gradFDerivative(), identityFDerivCoefficients(), laplaceFDerivative(), laplaceFDerivative22(), laplaceFDerivative23(), laplaceFDerivative42(), laplaceFDerivative43(), laplaceFDerivCoefficients(), laplaceFDerivCoefficients2(), laplaceFDerivCoefficients42(), laplaceFDerivCoefficients43(), operator=(), rDerivative(), rrDerivative(), rsDerivative(), rtDerivative(), scalarGradFDerivative(), scalarGradFDerivative21(), scalarGradFDerivative22(), scalarGradFDerivative23(), scalarGradFDerivCoefficients2(), sDerivative(), MappedGridOperators::setTwilightZoneFlow(), MappedGridOperators::spectralDerivatives(), ssDerivative(), stDerivative(), tDerivative(), ttDerivative(), updateToMatchGrid(), MappedGridOperators::updateToMatchGrid(), MappedGridOperators::updateToMatchUnstructuredGrid(), MappedGridOperators::useConservativeApproximations(), vorticityFDerivative(), xFDerivative(), xFDerivative22(), xFDerivative23(), xFDerivative42(), xFDerivative43(), xFDerivCoefficients(), MappedGridOperators::xiCoefficients(), xxFDerivative(), xxFDerivative22(), xxFDerivative23(), xxFDerivative42(), xxFDerivative43(), xxFDerivCoefficients(), xyFDerivative(), xyFDerivative22(), xyFDerivative23(), xyFDerivative42(), xyFDerivative43(), xyFDerivCoefficients(), xyFDerivCoefficients4(), xzFDerivative(), xzFDerivative22(), xzFDerivative23(), xzFDerivative42(), xzFDerivative43(), xzFDerivCoefficients(), xzFDerivCoefficients4(), yFDerivative(), yFDerivative22(), yFDerivative23(), yFDerivative42(), yFDerivative43(), yFDerivCoefficients(), yyFDerivative(), yyFDerivative22(), yyFDerivative23(), yyFDerivative42(), yyFDerivative43(), yyFDerivCoefficients(), yzFDerivative(), yzFDerivative22(), yzFDerivative23(), yzFDerivative42(), yzFDerivative43(), yzFDerivCoefficients(), yzFDerivCoefficients4(), zFDerivative(), zFDerivative22(), zFDerivative23(), zFDerivative42(), zFDerivative43(), zFDerivCoefficients(), zzFDerivative(), zzFDerivative22(), zzFDerivative23(), zzFDerivative42(), zzFDerivative43(), and zzFDerivCoefficients().
|
protected |
int GenericMappedGridOperators::numberOfComponentsForCoefficients |
Referenced by MappedGridOperators::applyBoundaryConditionCoefficients(), MappedGridOperators::assignCoefficientsInternal(), MappedGridOperators::derivativeScalarDerivativeCoefficients(), derivativeScalarDerivativeFDerivCoefficients(), derivativeScalarDerivativeFDerivCoefficients2(), divScalarGradFDerivCoefficients(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivCoefficients(), divVectorScalarFDerivCoefficients2(), finishBoundaryConditions(), finishBoundaryConditionsOld(), GenericMappedGridOperators(), get(), identityFDerivCoefficients(), laplaceFDerivCoefficients(), laplaceFDerivCoefficients2(), laplaceFDerivCoefficients42(), laplaceFDerivCoefficients43(), operator=(), scalarGradFDerivCoefficients2(), setExtrapolationCoefficients(), setNumberOfComponentsForCoefficients(), setPeriodicCoefficients(), MappedGridOperators::setup(), xFDerivCoefficients(), MappedGridOperators::xiCoefficients(), xxFDerivCoefficients(), xyFDerivCoefficients(), xyFDerivCoefficients4(), xzFDerivCoefficients(), xzFDerivCoefficients4(), yFDerivCoefficients(), yyFDerivCoefficients(), yzFDerivCoefficients(), yzFDerivCoefficients4(), zFDerivCoefficients(), and zzFDerivCoefficients().
|
protected |
Referenced by MappedGridOperators::applyBoundaryCondition(), and findInterpolationNeighbours().
int GenericMappedGridOperators::orderOfAccuracy |
Referenced by MappedGridOperators::applyBCaDotGradU(), MappedGridOperators::applyBCextrapolate(), MappedGridOperators::applyBCGenDiv(), MappedGridOperators::applyBCgeneralMixedDerivative(), MappedGridOperators::applyBCneumann(), MappedGridOperators::applyBCnormalComponent(), MappedGridOperators::applyBCnormalDerivative(), MappedGridOperators::applyBCnormalDotScalarGrad(), MappedGridOperators::applyBCtangentialComponent(), MappedGridOperators::applyBoundaryConditionCoefficients(), MappedGridOperators::assignCoefficientsInternal(), MappedGridOperators::computeDerivatives(), MappedGridOperators::derivativeInternal(), MappedGridOperators::derivativeScalarDerivative(), MappedGridOperators::derivativeScalarDerivativeCoefficients(), derivativeScalarDerivativeFDerivative(), derivativeScalarDerivativeFDerivCoefficients(), divFDerivative(), divScalarGradFDerivative(), divScalarGradFDerivCoefficients(), divVectorScalarFDerivative(), divVectorScalarFDerivCoefficients(), finishBoundaryConditions(), finishBoundaryConditionsOld(), fixBoundaryCorners(), GenericMappedGridOperators(), get(), getOrderOfAccuracy(), gradFDerivative(), identityFDerivCoefficients(), laplaceFDerivative(), laplaceFDerivCoefficients(), MappedGridOperators::MappedGridOperators(), operator=(), MappedGridOperators::operator=(), rDerivative(), rrDerivative(), rsDerivative(), rtDerivative(), scalarGradFDerivative(), scalarGradFDerivCoefficients(), sDerivative(), setCornerCoefficients(), setOrderOfAccuracy(), MappedGridOperators::setOrderOfAccuracy(), MappedGridOperators::setup(), ssDerivative(), stDerivative(), tDerivative(), ttDerivative(), MappedGridOperators::updateToMatchGrid(), MappedGridOperators::updateToMatchUnstructuredGrid(), vorticityFDerivative(), xFDerivative(), xFDerivative22(), xFDerivative23(), xFDerivative42(), xFDerivative43(), xFDerivCoefficients(), MappedGridOperators::xiCoefficients(), xxFDerivative(), xxFDerivative22(), xxFDerivative23(), xxFDerivative42(), xxFDerivative43(), xxFDerivCoefficients(), xyFDerivative(), xyFDerivative22(), xyFDerivative23(), xyFDerivative42(), xyFDerivative43(), xyFDerivCoefficients(), xzFDerivative(), xzFDerivative22(), xzFDerivative23(), xzFDerivative42(), xzFDerivative43(), xzFDerivCoefficients(), yFDerivative(), yFDerivative22(), yFDerivative23(), yFDerivative42(), yFDerivative43(), yFDerivCoefficients(), yyFDerivative(), yyFDerivative22(), yyFDerivative23(), yyFDerivative42(), yyFDerivative43(), yyFDerivCoefficients(), yzFDerivative(), yzFDerivative22(), yzFDerivative23(), yzFDerivative42(), yzFDerivative43(), yzFDerivCoefficients(), zFDerivative(), zFDerivative22(), zFDerivative23(), zFDerivative42(), zFDerivative43(), zFDerivCoefficients(), zzFDerivative(), zzFDerivative22(), zzFDerivative23(), zzFDerivative42(), zzFDerivative43(), and zzFDerivCoefficients().
int GenericMappedGridOperators::stencilSize |
Referenced by MappedGridOperators::applyBCnormalDotScalarGrad(), MappedGridOperators::applyBoundaryConditionCoefficients(), MappedGridOperators::assignCoefficientsInternal(), MappedGridOperators::derivativeScalarDerivativeCoefficients(), derivativeScalarDerivativeFDerivCoefficients(), derivativeScalarDerivativeFDerivCoefficients2(), divScalarGradFDerivCoefficients(), divScalarGradFDerivCoefficients2(), divScalarGradFDerivCoefficients2R(), divVectorScalarFDerivCoefficients(), divVectorScalarFDerivCoefficients2(), finishBoundaryConditions(), GenericMappedGridOperators(), get(), identityFDerivCoefficients(), laplaceFDerivCoefficients(), laplaceFDerivCoefficients2(), laplaceFDerivCoefficients42(), laplaceFDerivCoefficients43(), operator=(), scalarGradFDerivCoefficients2(), setExtrapolationCoefficients(), setPeriodicCoefficients(), setStencilSize(), MappedGridOperators::setStencilSize(), MappedGridOperators::setup(), MappedGridOperators::updateToMatchGrid(), xFDerivCoefficients(), MappedGridOperators::xiCoefficients(), xxFDerivCoefficients(), xyFDerivCoefficients(), xyFDerivCoefficients4(), xzFDerivCoefficients(), xzFDerivCoefficients4(), yFDerivCoefficients(), yyFDerivCoefficients(), yzFDerivCoefficients(), yzFDerivCoefficients4(), zFDerivCoefficients(), and zzFDerivCoefficients().
|
static |
Referenced by MappedGridOperators::applyBCaDotGradU(), and printBoundaryConditionStatistics().
|
static |
Referenced by printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBoundaryCondition(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBCdirichlet(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBCextrapolate(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBoundaryCondition(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBCextrapolate(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBoundaryCondition(), and printBoundaryConditionStatistics().
|
static |
Referenced by fixBoundaryCorners(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBCGenDiv(), and printBoundaryConditionStatistics().
|
static |
|
static |
Referenced by MappedGridOperators::applyBCneumann(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBCnormalComponent(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBCnormalDerivative(), and printBoundaryConditionStatistics().
|
static |
Referenced by printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBCnormalDotScalarGrad(), and printBoundaryConditionStatistics().
|
static |
|
static |
Referenced by MappedGridOperators::applyBCsymmetry(), and printBoundaryConditionStatistics().
|
static |
Referenced by MappedGridOperators::applyBoundaryCondition(), and printBoundaryConditionStatistics().
int GenericMappedGridOperators::twilightZoneFlow |
Referenced by MappedGridOperators::applyBCaDotGradU(), MappedGridOperators::applyBCaDotU(), MappedGridOperators::applyBCdirichlet(), MappedGridOperators::applyBCextrapolate(), MappedGridOperators::applyBCGenDiv(), MappedGridOperators::applyBCgeneralMixedDerivative(), MappedGridOperators::applyBCneumann(), MappedGridOperators::applyBCnormalComponent(), MappedGridOperators::applyBCnormalDerivative(), MappedGridOperators::applyBCnormalDotScalarGrad(), MappedGridOperators::applyBCsymmetry(), MappedGridOperators::applyBCtangentialComponent(), MappedGridOperators::applyBoundaryCondition(), Ogmg::applyBoundaryConditions(), GenericMappedGridOperators(), operator=(), setTwilightZoneFlow(), MappedGridOperators::setTwilightZoneFlow(), MappedGridOperators::setup(), MappedGridOperators::updateToMatchGrid(), and MappedGridOperators::updateToMatchUnstructuredGrid().
OGFunction* GenericMappedGridOperators::twilightZoneFlowFunction |