Overture  Version 25
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
GenericMappedGridOperators Class Reference

#include <GenericMappedGridOperators.h>

Inheritance diagram for GenericMappedGridOperators:
Inheritance graph
[legend]
Collaboration diagram for GenericMappedGridOperators:
Collaboration graph
[legend]

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
 
OGFunctiontwilightZoneFlowFunction
 
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 ()
 

Protected Attributes

int extrapolateInterpolationNeighboursIsInitialized
 
int numberOfInterpolationNeighboursNew
 
int maximumWidthToExtrapolationInterpolationNeighbours
 
IntegerArrayextrapolateInterpolationNeighbourPoints
 
IntegerArrayextrapolateInterpolationNeighboursDirection
 
IntegerArrayextrapolateInterpolationNeighboursVariableWidth
 
AssignInterpNeighboursassignInterpNeighbours
 
intArray * interpolationPoint
 
bool conservative
 
AveragingType averagingType
 

Member Enumeration Documentation

anonymous enum
Enumerator
forAll 
undefinedValue 
allBoundaries 
spectral 
Enumerator
arithmeticAverage 
harmonicAverage 
Enumerator
dirichlet 
neumann 
extrapolate 
normalComponent 
mixed 
generalMixedDerivative 
normalDerivativeOfNormalComponent 
normalDerivativeOfADotU 
aDotU 
aDotGradU 
normalDotScalarGrad 
evenSymmetry 
oddSymmetry 
generalizedDivergence 
vectorSymmetry 
tangentialComponent0 
tangentialComponent1 
normalDerivativeOfTangentialComponent0 
normalDerivativeOfTangentialComponent1 
extrapolateInterpolationNeighbours 
tangentialComponent 
extrapolateNormalComponent 
extrapolateTangentialComponent0 
extrapolateTangentialComponent1 
userDefinedBoundaryCondition0 
userDefinedBoundaryCondition1 
userDefinedBoundaryCondition2 
userDefinedBoundaryCondition3 
userDefinedBoundaryCondition4 
userDefinedBoundaryCondition5 
userDefinedBoundaryCondition6 
userDefinedBoundaryCondition7 
userDefinedBoundaryCondition8 
userDefinedBoundaryCondition9 
numberOfDifferentBoundaryConditionTypes 
Enumerator
noErrors 
errorInFindInterpolationNeighbours 

Constructor & Destructor Documentation

GenericMappedGridOperators::GenericMappedGridOperators ( )
GenericMappedGridOperators::GenericMappedGridOperators ( MappedGrid mg)
GenericMappedGridOperators::GenericMappedGridOperators ( const GenericMappedGridOperators mgo)
GenericMappedGridOperators::~GenericMappedGridOperators ( )
virtual

Member Function Documentation

void GenericMappedGridOperators::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 GenericMappedGridOperators::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

Reimplemented in MappedGridOperators.

void GenericMappedGridOperators::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

Reimplemented in MappedGridOperators.

void GenericMappedGridOperators::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

Reimplemented in MappedGridOperators.

void GenericMappedGridOperators::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 GenericMappedGridOperators::applyBoundaryConditions ( realMappedGridFunction u,
const real time = 0. 
)
virtual
void GenericMappedGridOperators::assignBoundaryConditionCoefficients ( realMappedGridFunction coeff,
const real time = 0. 
)
virtual
realMappedGridFunction GenericMappedGridOperators::convectiveDerivative ( const realMappedGridFunction u,
const realMappedGridFunction w,
const Index &  I1 = nullIndex,
const Index &  I2 = nullIndex,
const Index &  I3 = nullIndex 
)
virtual
realMappedGridFunction GenericMappedGridOperators::convectiveDerivative ( const realMappedGridFunction u,
const GridFunctionParameters gfType,
const realMappedGridFunction w,
const Index &  I1 = nullIndex,
const Index &  I2 = nullIndex,
const Index &  I3 = nullIndex 
)
virtual
realMappedGridFunction GenericMappedGridOperators::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 GenericMappedGridOperators::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 GenericMappedGridOperators::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 GenericMappedGridOperators::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 GenericMappedGridOperators::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 GenericMappedGridOperators::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
void GenericMappedGridOperators::findInterpolationNeighbours ( )
protectedvirtual
void GenericMappedGridOperators::finishBoundaryConditions ( realMappedGridFunction u,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters(),
const Range &  C0 = nullRange 
)
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().

void GenericMappedGridOperators::finishBoundaryConditionsOld ( realMappedGridFunction u,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters(),
const Range &  C0 = nullRange 
)
virtual
void GenericMappedGridOperators::fixBoundaryCorners ( realMappedGridFunction u,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters(),
const Range &  C0 = nullRange 
)
virtual
int GenericMappedGridOperators::get ( const GenericDataBase dir,
const aString name 
)
virtual
GenericMappedGridOperators::AveragingType GenericMappedGridOperators::getAveragingType ( ) const
void GenericMappedGridOperators::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

Reimplemented in MappedGridOperators.

int GenericMappedGridOperators::getMaximumWidthForExtrapolateInterpolationNeighbours ( ) const
int GenericMappedGridOperators::getOrderOfAccuracy ( ) const
inline

References orderOfAccuracy.

realArray GenericMappedGridOperators::harmonic ( const realArray a,
const realArray b 
)
bool GenericMappedGridOperators::isRectangular ( )
virtual

Reimplemented in MappedGridOperators.

References FALSE.

Referenced by fixBoundaryCorners().

GenericMappedGridOperators & GenericMappedGridOperators::operator= ( const GenericMappedGridOperators mgo)
virtual
void GenericMappedGridOperators::printBoundaryConditionStatistics ( FILE *  file = stdout)
static
int GenericMappedGridOperators::put ( GenericDataBase dir,
const aString name 
) const
virtual
realMappedGridFunction GenericMappedGridOperators::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
void GenericMappedGridOperators::setAveragingType ( const AveragingType type)

References averagingType.

void GenericMappedGridOperators::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
int GenericMappedGridOperators::setDefaultMaximumWidthForExtrapolateInterpolationNeighbours ( const int  width = 4)
static
void GenericMappedGridOperators::setExtrapolationCoefficients ( realMappedGridFunction coeff,
const int  n,
const Index &  I1,
const Index &  I2,
const Index &  I3,
const int  order 
)
virtual
void GenericMappedGridOperators::setInterpolationPoint ( intArray &  interpolationPoint)

References interpolationPoint.

int GenericMappedGridOperators::setMaximumWidthForExtrapolateInterpolationNeighbours ( const int  width = 4)
void GenericMappedGridOperators::setNumberOfComponentsForCoefficients ( const int  number)
virtual

References numberOfComponentsForCoefficients.

Referenced by main().

void GenericMappedGridOperators::setOrderOfAccuracy ( const int &  orderOfAccuracy)
virtual

Reimplemented in MappedGridOperators.

References orderOfAccuracy.

void GenericMappedGridOperators::setPeriodicCoefficients ( realMappedGridFunction coeff)
virtual
void GenericMappedGridOperators::setStencilSize ( const int  stencilSize)
virtual

Reimplemented in MappedGridOperators.

References stencilSize.

void GenericMappedGridOperators::setSymmetryCoefficients ( realMappedGridFunction coeff,
const int  n,
const Index &  I1,
const Index &  I2,
const Index &  I3,
const int  option = 0 
)
virtual
void GenericMappedGridOperators::setTwilightZoneFlow ( const int &  twilightZoneFlow)
virtual

Reimplemented in MappedGridOperators.

References twilightZoneFlow.

void GenericMappedGridOperators::setTwilightZoneFlowFunction ( OGFunction twilightZoneFlowFunction)
virtual

References twilightZoneFlowFunction.

Referenced by main().

real GenericMappedGridOperators::sizeOf ( FILE *  file = NULL) const
virtual

Reimplemented in MappedGridOperators.

References NULL.

Referenced by MappedGridOperators::sizeOf().

void GenericMappedGridOperators::updateToMatchGrid ( MappedGrid mg)
virtual

Reimplemented in MappedGridOperators.

References mappedGrid, and MappedGrid::reference().

void GenericMappedGridOperators::useConservativeApproximations ( bool  trueOrFalse = TRUE)
virtual
bool GenericMappedGridOperators::usingConservativeApproximations ( ) const
GenericMappedGridOperators * GenericMappedGridOperators::virtualConstructor ( ) const
virtual

Member Data Documentation

AssignInterpNeighbours* GenericMappedGridOperators::assignInterpNeighbours
protected
AveragingType GenericMappedGridOperators::averagingType
protected
bool GenericMappedGridOperators::conservative
protected
int GenericMappedGridOperators::defaultMaximumWidthToExtrapolationInterpolationNeighbours =4
static
enum GenericMappedGridOperators::ErrorStatusEnum GenericMappedGridOperators::errorStatus
IntegerArray* GenericMappedGridOperators::extrapolateInterpolationNeighbourPoints
protected
IntegerArray* GenericMappedGridOperators::extrapolateInterpolationNeighboursDirection
protected
int GenericMappedGridOperators::extrapolateInterpolationNeighboursIsInitialized
protected
IntegerArray* GenericMappedGridOperators::extrapolateInterpolationNeighboursVariableWidth
protected
intArray* GenericMappedGridOperators::interpolationPoint
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().

int GenericMappedGridOperators::maximumWidthToExtrapolationInterpolationNeighbours
protected
int GenericMappedGridOperators::numberOfComponentsForCoefficients
int GenericMappedGridOperators::numberOfInterpolationNeighboursNew
protected
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
real GenericMappedGridOperators::timeForADotGradU =0.
static
real GenericMappedGridOperators::timeForADotU =0.
static
real GenericMappedGridOperators::timeForAllBoundaryConditions =0.
static
real GenericMappedGridOperators::timeForDirichlet =0.
static
real GenericMappedGridOperators::timeForExtrapolate =0.
static
real GenericMappedGridOperators::timeForExtrapolateInterpolationNeighbours =0.
static
real GenericMappedGridOperators::timeForExtrapolateNormalComponent =0.
static
real GenericMappedGridOperators::timeForExtrapolateRefinementBoundaries =0.
static
real GenericMappedGridOperators::timeForFixBoundaryCorners =0.
static
real GenericMappedGridOperators::timeForGeneralizedDivergence =0.
static
real GenericMappedGridOperators::timeForGeneralMixedDerivative =0.
static
real GenericMappedGridOperators::timeForNeumann =0.
static
real GenericMappedGridOperators::timeForNormalComponent =0.
static
real GenericMappedGridOperators::timeForNormalDerivative =0.
static
real GenericMappedGridOperators::timeForNormalDerivativeOfADotU =0.
static
real GenericMappedGridOperators::timeForNormalDotScalarGrad =0.
static
real GenericMappedGridOperators::timeForPeriodicUpdate =0.
static
real GenericMappedGridOperators::timeForSymmetry =0.
static
real GenericMappedGridOperators::timeToSetupBoundaryConditions =0.
static
int GenericMappedGridOperators::twilightZoneFlow
OGFunction* GenericMappedGridOperators::twilightZoneFlowFunction

The documentation for this class was generated from the following files: