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

#include <GenericCompositeGridOperators.h>

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

Public Types

enum  { forAll =realMappedGridFunction::forAll, undefinedValue =realMappedGridFunction::undefinedValue }
 

Public Member Functions

 GenericCompositeGridOperators ()
 
 GenericCompositeGridOperators (CompositeGrid &mg)
 
 GenericCompositeGridOperators (const GenericCompositeGridOperators &mgo)
 
 GenericCompositeGridOperators (GenericMappedGridOperators &mgo)
 
 GenericCompositeGridOperators (CompositeGrid &mg, GenericMappedGridOperators &mgo)
 
virtual
GenericCompositeGridOperators
virtualConstructor ()
 
virtual ~GenericCompositeGridOperators ()
 
virtual
GenericCompositeGridOperators
operator= (const GenericCompositeGridOperators &mgo)
 
GenericMappedGridOperatorsoperator[] (const int grid) const
 
virtual real sizeOf (FILE *file=NULL) const
 
virtual void updateToMatchGrid (CompositeGrid &g)
 
virtual void updateToMatchOperators (GenericMappedGridOperators &op)
 
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
 
virtual void setStencilSize (const int stencilSize)
 
virtual void setNumberOfComponentsForCoefficients (const int number)
 
void setTwilightZoneFlow (const int &twilightZoneFlow)
 
void setTwilightZoneFlowFunction (OGFunction &twilightZoneFlowFunction)
 
virtual void useConservativeApproximations (bool trueOrFalse=TRUE)
 
void setAveragingType (const GenericMappedGridOperators::AveragingType &type)
 
virtual realCompositeGridFunction convectiveDerivative (const realCompositeGridFunction &u, const realCompositeGridFunction &w, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex)
 
virtual realCompositeGridFunction convectiveDerivative (const realCompositeGridFunction &u, const GridFunctionParameters &gfType, const realCompositeGridFunction &w, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex)
 
virtual realCompositeGridFunction derivativeScalarDerivative (const realCompositeGridFunction &u, const realCompositeGridFunction &s, const int &direction1, const int &direction2, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex, const Index &C4=nullIndex)
 
virtual realCompositeGridFunction derivativeScalarDerivative (const realCompositeGridFunction &u, const GridFunctionParameters &gfType, const realCompositeGridFunction &s, const int &direction1, const int &direction2, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex, const Index &C4=nullIndex)
 
virtual realCompositeGridFunction derivativeScalarDerivativeCoefficients (const realCompositeGridFunction &s, const int &direction1, const int &direction2, const Index &C0=nullIndex, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex)
 
virtual realCompositeGridFunction derivativeScalarDerivativeCoefficients (const GridFunctionParameters &gfType, const realCompositeGridFunction &s, const int &direction1, const int &direction2, const Index &C0=nullIndex, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex)
 
virtual realCompositeGridFunction FCgrad (const realCompositeGridFunction &phi, const int c0=0, const int c1=0, const int c2=0, const int c3=0, const int c4=0)
 
virtual realCompositeGridFunction FCgrad (const realCompositeGridFunction &phi, const GridFunctionParameters &gfType, const int c0=0, const int c1=0, const int c2=0, const int c3=0, const int c4=0)
 
virtual void applyBoundaryConditions (realCompositeGridFunction &u, const real &time=0., const int &grid=forAll)
 
virtual void assignBoundaryConditionCoefficients (realCompositeGridFunction &coeff, const real &time=0., const int &grid=forAll)
 
virtual void applyBoundaryCondition (realCompositeGridFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType=BCTypes::dirichlet, const int &boundaryCondition=BCTypes::allBoundaries, const real &forcing=0., const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters())
 
virtual void applyBoundaryCondition (realCompositeGridFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const RealArray &forcing, const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters())
 
virtual void applyBoundaryCondition (realCompositeGridFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const realCompositeGridFunction &forcing, const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters())
 
virtual void finishBoundaryConditions (realCompositeGridFunction &u, const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const Range &C0=nullRange, const IntegerArray &gridsToUpdate=Overture::nullIntArray())
 
virtual void applyBoundaryConditionCoefficients (realCompositeGridFunction &coeff, const Index &Equations, const Index &Components, const BCTypes::BCNames &boundaryConditionType=BCTypes::dirichlet, const int &boundaryCondition=BCTypes::allBoundaries, const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters())
 

Public Attributes

CompositeGrid gridCollection
 

Protected Member Functions

void getInterpolationCoefficients (realCompositeGridFunction &coeff, const IntegerArray &gridsToUpdate=Overture::nullIntArray())
 
void setup ()
 

Protected Attributes

int stencilSize
 
Index I1
 
Index I2
 
Index I3
 
ListOfGenericMappedGridOperators mappedGridOperators
 
GenericMappedGridOperatorsmappedGridOperatorsPointer
 
bool twilightZoneFlow
 
OGFunctiontwilightZoneFlowFunction
 

Member Enumeration Documentation

anonymous enum
Enumerator
forAll 
undefinedValue 

Constructor & Destructor Documentation

GenericCompositeGridOperators::GenericCompositeGridOperators ( )

References setup().

Referenced by virtualConstructor().

GenericCompositeGridOperators::GenericCompositeGridOperators ( CompositeGrid mg)

References setup(), and updateToMatchGrid().

GenericCompositeGridOperators::GenericCompositeGridOperators ( const GenericCompositeGridOperators mgo)
GenericCompositeGridOperators::GenericCompositeGridOperators ( GenericMappedGridOperators mgo)
GenericCompositeGridOperators::GenericCompositeGridOperators ( CompositeGrid mg,
GenericMappedGridOperators mgo 
)
GenericCompositeGridOperators::~GenericCompositeGridOperators ( )
virtual

Member Function Documentation

void GenericCompositeGridOperators::applyBoundaryCondition ( realCompositeGridFunction u,
const Index &  Components,
const BCTypes::BCNames boundaryConditionType = BCTypes::dirichlet,
const int &  boundaryCondition = BCTypes::allBoundaries,
const real forcing = 0.,
const real time = 0.,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters() 
)
virtual
void GenericCompositeGridOperators::applyBoundaryCondition ( realCompositeGridFunction u,
const Index &  Components,
const BCTypes::BCNames boundaryConditionType,
const int &  boundaryCondition,
const RealArray forcing,
const real time = 0.,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters() 
)
virtual
void GenericCompositeGridOperators::applyBoundaryCondition ( realCompositeGridFunction u,
const Index &  Components,
const BCTypes::BCNames boundaryConditionType,
const int &  boundaryCondition,
const realCompositeGridFunction forcing,
const real time = 0.,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters() 
)
virtual
void GenericCompositeGridOperators::applyBoundaryConditionCoefficients ( realCompositeGridFunction coeff,
const Index &  Equations,
const Index &  Components,
const BCTypes::BCNames boundaryConditionType = BCTypes::dirichlet,
const int &  boundaryCondition = BCTypes::allBoundaries,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters() 
)
virtual
void GenericCompositeGridOperators::applyBoundaryConditions ( realCompositeGridFunction u,
const real time = 0.,
const int &  grid = forAll 
)
virtual
void GenericCompositeGridOperators::assignBoundaryConditionCoefficients ( realCompositeGridFunction coeff,
const real time = 0.,
const int &  grid = forAll 
)
virtual
virtual realCompositeGridFunction GenericCompositeGridOperators::convectiveDerivative ( const realCompositeGridFunction u,
const realCompositeGridFunction w,
const Index &  C1 = nullIndex,
const Index &  C2 = nullIndex,
const Index &  C3 = nullIndex 
)
virtual
virtual realCompositeGridFunction GenericCompositeGridOperators::convectiveDerivative ( const realCompositeGridFunction u,
const GridFunctionParameters gfType,
const realCompositeGridFunction w,
const Index &  C1 = nullIndex,
const Index &  C2 = nullIndex,
const Index &  C3 = nullIndex 
)
virtual
virtual realCompositeGridFunction GenericCompositeGridOperators::derivativeScalarDerivative ( const realCompositeGridFunction u,
const realCompositeGridFunction s,
const int &  direction1,
const int &  direction2,
const Index &  C1 = nullIndex,
const Index &  C2 = nullIndex,
const Index &  C3 = nullIndex,
const Index &  C4 = nullIndex 
)
virtual
virtual realCompositeGridFunction GenericCompositeGridOperators::derivativeScalarDerivative ( const realCompositeGridFunction u,
const GridFunctionParameters gfType,
const realCompositeGridFunction s,
const int &  direction1,
const int &  direction2,
const Index &  C1 = nullIndex,
const Index &  C2 = nullIndex,
const Index &  C3 = nullIndex,
const Index &  C4 = nullIndex 
)
virtual
virtual realCompositeGridFunction GenericCompositeGridOperators::derivativeScalarDerivativeCoefficients ( const realCompositeGridFunction s,
const int &  direction1,
const int &  direction2,
const Index &  C0 = nullIndex,
const Index &  C1 = nullIndex,
const Index &  C2 = nullIndex,
const Index &  C3 = nullIndex 
)
virtual
virtual realCompositeGridFunction GenericCompositeGridOperators::derivativeScalarDerivativeCoefficients ( const GridFunctionParameters gfType,
const realCompositeGridFunction s,
const int &  direction1,
const int &  direction2,
const Index &  C0 = nullIndex,
const Index &  C1 = nullIndex,
const Index &  C2 = nullIndex,
const Index &  C3 = nullIndex 
)
virtual
virtual realCompositeGridFunction GenericCompositeGridOperators::FCgrad ( const realCompositeGridFunction phi,
const int  c0 = 0,
const int  c1 = 0,
const int  c2 = 0,
const int  c3 = 0,
const int  c4 = 0 
)
virtual
virtual realCompositeGridFunction GenericCompositeGridOperators::FCgrad ( const realCompositeGridFunction phi,
const GridFunctionParameters gfType,
const int  c0 = 0,
const int  c1 = 0,
const int  c2 = 0,
const int  c3 = 0,
const int  c4 = 0 
)
virtual
void GenericCompositeGridOperators::finishBoundaryConditions ( realCompositeGridFunction u,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters(),
const Range &  C0 = nullRange,
const IntegerArray gridsToUpdate = Overture::nullIntArray() 
)
virtual
int GenericCompositeGridOperators::get ( const GenericDataBase dir,
const aString name 
)
virtual

Reimplemented in CompositeGridOperators.

void GenericCompositeGridOperators::getInterpolationCoefficients ( realCompositeGridFunction coeff,
const IntegerArray gridsToUpdate = Overture::nullIntArray() 
)
protected
int GenericCompositeGridOperators::getOrderOfAccuracy ( ) const
GenericCompositeGridOperators & GenericCompositeGridOperators::operator= ( const GenericCompositeGridOperators mgo)
virtual
GenericMappedGridOperators & GenericCompositeGridOperators::operator[] ( const int  grid) const
int GenericCompositeGridOperators::put ( GenericDataBase dir,
const aString name 
) const
virtual

Reimplemented in CompositeGridOperators.

void GenericCompositeGridOperators::setAveragingType ( const GenericMappedGridOperators::AveragingType type)
void GenericCompositeGridOperators::setNumberOfComponentsForCoefficients ( const int  number)
virtual
void GenericCompositeGridOperators::setOrderOfAccuracy ( const int &  orderOfAccuracy)
virtual
void GenericCompositeGridOperators::setStencilSize ( const int  stencilSize)
virtual
void GenericCompositeGridOperators::setTwilightZoneFlow ( const int &  twilightZoneFlow)
void GenericCompositeGridOperators::setTwilightZoneFlowFunction ( OGFunction twilightZoneFlowFunction)
void GenericCompositeGridOperators::setup ( )
protected
real GenericCompositeGridOperators::sizeOf ( FILE *  file = NULL) const
virtual

Reimplemented in CompositeGridOperators.

Referenced by CompositeGridOperators::sizeOf().

void GenericCompositeGridOperators::updateToMatchGrid ( CompositeGrid g)
virtual
void GenericCompositeGridOperators::updateToMatchOperators ( GenericMappedGridOperators op)
virtual
void GenericCompositeGridOperators::useConservativeApproximations ( bool  trueOrFalse = TRUE)
virtual
GenericCompositeGridOperators * GenericCompositeGridOperators::virtualConstructor ( )
virtual

Member Data Documentation

CompositeGrid GenericCompositeGridOperators::gridCollection
Index GenericCompositeGridOperators::I1
protected
Index GenericCompositeGridOperators::I2
protected
Index GenericCompositeGridOperators::I3
protected
ListOfGenericMappedGridOperators GenericCompositeGridOperators::mappedGridOperators
protected
GenericMappedGridOperators* GenericCompositeGridOperators::mappedGridOperatorsPointer
protected
int GenericCompositeGridOperators::stencilSize
protected

Referenced by setStencilSize().

bool GenericCompositeGridOperators::twilightZoneFlow
protected
OGFunction* GenericCompositeGridOperators::twilightZoneFlowFunction
protected

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