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

#include <GenericGridCollectionOperators.h>

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

Public Types

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

Public Member Functions

 GenericGridCollectionOperators ()
 
 GenericGridCollectionOperators (GridCollection &mg)
 
 GenericGridCollectionOperators (const GenericGridCollectionOperators &mgo)
 
 GenericGridCollectionOperators (GenericMappedGridOperators &mgo)
 
 GenericGridCollectionOperators (GridCollection &mg, GenericMappedGridOperators &mgo)
 
virtual
GenericGridCollectionOperators
virtualConstructor ()
 
virtual ~GenericGridCollectionOperators ()
 
virtual
GenericGridCollectionOperators
operator= (const GenericGridCollectionOperators &mgo)
 
GenericMappedGridOperatorsoperator[] (const int grid) const
 
virtual real sizeOf (FILE *file=NULL) const
 
virtual void updateToMatchGrid (GridCollection &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 realGridCollectionFunction convectiveDerivative (const realGridCollectionFunction &u, const realGridCollectionFunction &w, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex)
 
virtual realGridCollectionFunction convectiveDerivative (const realGridCollectionFunction &u, const GridFunctionParameters &gfType, const realGridCollectionFunction &w, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex)
 
virtual realGridCollectionFunction derivativeScalarDerivative (const realGridCollectionFunction &u, const realGridCollectionFunction &s, const int &direction1, const int &direction2, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex, const Index &C4=nullIndex)
 
virtual realGridCollectionFunction derivativeScalarDerivative (const realGridCollectionFunction &u, const GridFunctionParameters &gfType, const realGridCollectionFunction &s, const int &direction1, const int &direction2, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex, const Index &C4=nullIndex)
 
virtual realGridCollectionFunction derivativeScalarDerivativeCoefficients (const realGridCollectionFunction &s, const int &direction1, const int &direction2, const Index &C0=nullIndex, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex)
 
virtual realGridCollectionFunction derivativeScalarDerivativeCoefficients (const GridFunctionParameters &gfType, const realGridCollectionFunction &s, const int &direction1, const int &direction2, const Index &C0=nullIndex, const Index &C1=nullIndex, const Index &C2=nullIndex, const Index &C3=nullIndex)
 
virtual realGridCollectionFunction FCgrad (const realGridCollectionFunction &phi, const int c0=0, const int c1=0, const int c2=0, const int c3=0, const int c4=0)
 
virtual realGridCollectionFunction FCgrad (const realGridCollectionFunction &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 (realGridCollectionFunction &u, const real &time=0., const int &grid=forAll)
 
virtual void assignBoundaryConditionCoefficients (realGridCollectionFunction &coeff, const real &time=0., const int &grid=forAll)
 
virtual void applyBoundaryCondition (realGridCollectionFunction &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 (realGridCollectionFunction &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 (realGridCollectionFunction &u, const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const realGridCollectionFunction &forcing, const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters())
 
virtual void finishBoundaryConditions (realGridCollectionFunction &u, const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const Range &C0=nullRange, const IntegerArray &gridsToUpdate=Overture::nullIntArray())
 
virtual void applyBoundaryConditionCoefficients (realGridCollectionFunction &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

GridCollection gridCollection
 

Protected Member Functions

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

GenericGridCollectionOperators::GenericGridCollectionOperators ( )

References setup().

Referenced by virtualConstructor().

GenericGridCollectionOperators::GenericGridCollectionOperators ( GridCollection mg)

References setup(), and updateToMatchGrid().

GenericGridCollectionOperators::GenericGridCollectionOperators ( const GenericGridCollectionOperators mgo)
GenericGridCollectionOperators::GenericGridCollectionOperators ( GenericMappedGridOperators mgo)
GenericGridCollectionOperators::GenericGridCollectionOperators ( GridCollection mg,
GenericMappedGridOperators mgo 
)
GenericGridCollectionOperators::~GenericGridCollectionOperators ( )
virtual

Member Function Documentation

void GenericGridCollectionOperators::applyBoundaryCondition ( realGridCollectionFunction 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 GenericGridCollectionOperators::applyBoundaryCondition ( realGridCollectionFunction 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 GenericGridCollectionOperators::applyBoundaryCondition ( realGridCollectionFunction u,
const Index &  Components,
const BCTypes::BCNames boundaryConditionType,
const int &  boundaryCondition,
const realGridCollectionFunction forcing,
const real time = 0.,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters() 
)
virtual
void GenericGridCollectionOperators::applyBoundaryConditionCoefficients ( realGridCollectionFunction 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 GenericGridCollectionOperators::applyBoundaryConditions ( realGridCollectionFunction u,
const real time = 0.,
const int &  grid = forAll 
)
virtual
void GenericGridCollectionOperators::assignBoundaryConditionCoefficients ( realGridCollectionFunction coeff,
const real time = 0.,
const int &  grid = forAll 
)
virtual
virtual realGridCollectionFunction GenericGridCollectionOperators::convectiveDerivative ( const realGridCollectionFunction u,
const realGridCollectionFunction w,
const Index &  C1 = nullIndex,
const Index &  C2 = nullIndex,
const Index &  C3 = nullIndex 
)
virtual
virtual realGridCollectionFunction GenericGridCollectionOperators::convectiveDerivative ( const realGridCollectionFunction u,
const GridFunctionParameters gfType,
const realGridCollectionFunction w,
const Index &  C1 = nullIndex,
const Index &  C2 = nullIndex,
const Index &  C3 = nullIndex 
)
virtual
virtual realGridCollectionFunction GenericGridCollectionOperators::derivativeScalarDerivative ( const realGridCollectionFunction u,
const realGridCollectionFunction 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 realGridCollectionFunction GenericGridCollectionOperators::derivativeScalarDerivative ( const realGridCollectionFunction u,
const GridFunctionParameters gfType,
const realGridCollectionFunction 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 realGridCollectionFunction GenericGridCollectionOperators::derivativeScalarDerivativeCoefficients ( const realGridCollectionFunction 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 realGridCollectionFunction GenericGridCollectionOperators::derivativeScalarDerivativeCoefficients ( const GridFunctionParameters gfType,
const realGridCollectionFunction 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 realGridCollectionFunction GenericGridCollectionOperators::FCgrad ( const realGridCollectionFunction phi,
const int  c0 = 0,
const int  c1 = 0,
const int  c2 = 0,
const int  c3 = 0,
const int  c4 = 0 
)
virtual
virtual realGridCollectionFunction GenericGridCollectionOperators::FCgrad ( const realGridCollectionFunction 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 GenericGridCollectionOperators::finishBoundaryConditions ( realGridCollectionFunction u,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters(),
const Range &  C0 = nullRange,
const IntegerArray gridsToUpdate = Overture::nullIntArray() 
)
virtual
int GenericGridCollectionOperators::get ( const GenericDataBase dir,
const aString name 
)
virtual

Reimplemented in GridCollectionOperators.

int GenericGridCollectionOperators::getOrderOfAccuracy ( ) const
GenericGridCollectionOperators & GenericGridCollectionOperators::operator= ( const GenericGridCollectionOperators mgo)
virtual
GenericMappedGridOperators & GenericGridCollectionOperators::operator[] ( const int  grid) const
int GenericGridCollectionOperators::put ( GenericDataBase dir,
const aString name 
) const
virtual

Reimplemented in GridCollectionOperators.

void GenericGridCollectionOperators::setAveragingType ( const GenericMappedGridOperators::AveragingType type)
void GenericGridCollectionOperators::setNumberOfComponentsForCoefficients ( const int  number)
virtual
void GenericGridCollectionOperators::setOrderOfAccuracy ( const int &  orderOfAccuracy)
virtual
void GenericGridCollectionOperators::setStencilSize ( const int  stencilSize)
virtual
void GenericGridCollectionOperators::setTwilightZoneFlow ( const int &  twilightZoneFlow)
void GenericGridCollectionOperators::setTwilightZoneFlowFunction ( OGFunction twilightZoneFlowFunction)
void GenericGridCollectionOperators::setup ( )
protected
real GenericGridCollectionOperators::sizeOf ( FILE *  file = NULL) const
virtual
void GenericGridCollectionOperators::updateToMatchGrid ( GridCollection g)
virtual
void GenericGridCollectionOperators::updateToMatchOperators ( GenericMappedGridOperators op)
virtual
void GenericGridCollectionOperators::useConservativeApproximations ( bool  trueOrFalse = TRUE)
virtual
GenericGridCollectionOperators * GenericGridCollectionOperators::virtualConstructor ( )
virtual

Member Data Documentation

GridCollection GenericGridCollectionOperators::gridCollection
Index GenericGridCollectionOperators::I1
protected
Index GenericGridCollectionOperators::I2
protected
Index GenericGridCollectionOperators::I3
protected
ListOfGenericMappedGridOperators GenericGridCollectionOperators::mappedGridOperators
protected
GenericMappedGridOperators* GenericGridCollectionOperators::mappedGridOperatorsPointer
protected
int GenericGridCollectionOperators::stencilSize
protected

Referenced by setStencilSize().

bool GenericGridCollectionOperators::twilightZoneFlow
protected
OGFunction* GenericGridCollectionOperators::twilightZoneFlowFunction
protected

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