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

#include <intMappedGridFunction.h>

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

Public Types

enum  {
  maximumNumberOfIndicies =intMappedGridFunctionRCData::maximumNumberOfIndicies, numberOfIndicies =intMappedGridFunctionRCData::numberOfIndicies, maximumNumberOfComponents =5, undefinedValue =-999,
  defaultValue =-998, forAll =-997
}
 
enum  edgeGridFunctionValues { startingGridIndex =-(INT_MAX/2), biggerNegativeNumber =startingGridIndex/2, endingGridIndex =biggerNegativeNumber/2, bigNegativeNumber =endingGridIndex/2 }
 
enum  stencilTypes { standardStencil, starStencil, generalStencil }
 
enum  updateReturnValue { updateNoChange = 0, updateReshaped = 1, updateResized = 2, updateComponentsChanged = 4 }
 
enum  UpdateToMatchGridOption { updateSize =1, updateCoefficientMatrix =2 }
 

Public Member Functions

 intMappedGridFunction ()
 
 intMappedGridFunction (MappedGrid &grid)
 
 intMappedGridFunction (const intMappedGridFunction &cgf, const CopyType copyType=DEEP)
 
 intMappedGridFunction (MappedGridData &gridData)
 
 intMappedGridFunction (MappedGrid &grid, const Range &R0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
 intMappedGridFunction (MappedGridData &gridData, const Range &R0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
 intMappedGridFunction (MappedGrid &grid, const int &i0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
 intMappedGridFunction (MappedGridData &gridData, const int &i0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
 intMappedGridFunction (MappedGrid &mg, const GridFunctionParameters::GridFunctionType &type, const Range &component0=nullRange, const Range &component1=nullRange, const Range &component2=nullRange, const Range &component3=nullRange, const Range &component4=nullRange)
 
 intMappedGridFunction (const GridFunctionParameters::GridFunctionType &type, const Range &component0=nullRange, const Range &component1=nullRange, const Range &component2=nullRange, const Range &component3=nullRange, const Range &component4=nullRange)
 
 ~intMappedGridFunction ()
 
intMappedGridFunctionoperator= (const intMappedGridFunction &cgf)
 
intMappedGridFunctionoperator= (const int x)
 
intMappedGridFunctionoperator= (const intDistributedArray &X)
 
int & operator() (const int &i0) const
 
int & operator() (const int &i0, const int &i1) const
 
int & operator() (const int &i0, const int &i1, const int i2) const
 
int & operator() (const int &i0, const int &i1, const int &i2, const int &i3) const
 
int & operator() (const int &i0, const int &i1, const int &i2, const int &i3, const int &i4) const
 
int & operator() (const int &i0, const int &i1, const int &i2, const int &i3, const int &i4, const int &i5) const
 
int & operator() (const int &i0, const int &i1, const int &i2, const int &i3, const int &i4, const int &i5, const int &i6) const
 
int & operator() (const int &i0, const int &i1, const int &i2, const int &i3, const int &i4, const int &i5, const int &i6, const int &i7) const
 
intDistributedArray operator() (const IndexArg &I0) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const int &i4) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const IndexArg &I4) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const int &i4, const int &i5) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const IndexArg &I4, const IndexArg &I5) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const int &i4, const int &i5, const int &i6) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const IndexArg &I4, const IndexArg &I5, const IndexArg &I6) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const int &i4, const int &i5, const int &i6, const int &i7) const
 
intDistributedArray operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const IndexArg &I4, const IndexArg &I5, const IndexArg &I6, const IndexArg &I7) const
 
int arg3 (int i3, int i4, int i5=defaultValue, int i6=defaultValue, int i7=defaultValue) const
 
int & sa (const int &i0, const int &i1, const int &i2, const int &c0=0, const int &c1=0, const int &c2=0, const int &c3=0, const int &c4=0) const
 
int positionOfComponent (int i) const
 
int positionOfCoordinate (int i) const
 
intSerialArray & getSerialArray ()
 
const intSerialArray & getSerialArray () const
 
virtual aString getClassName () const
 
int getComponentBound (int component) const
 
int getComponentBase (int component) const
 
int getComponentDimension (int component) const
 
int getCoordinateBound (int coordinate) const
 
int getCoordinateBase (int coordinate) const
 
int getCoordinateDimension (int coordinate) const
 
MappedGridgetMappedGrid (const bool abortIfNull=TRUE) const
 
GridFunctionParameters::GridFunctionType getGridFunctionType (const Index &component0=nullIndex, const Index &component1=nullIndex, const Index &component2=nullIndex, const Index &component3=nullIndex, const Index &component4=nullIndex) const
 
GridFunctionParameters::GridFunctionTypeWithComponents getGridFunctionTypeWithComponents (const Index &component0=nullIndex, const Index &component1=nullIndex, const Index &component2=nullIndex, const Index &component3=nullIndex, const Index &component4=nullIndex) const
 
int getNumberOfComponents () const
 
bool isNull ()
 
void setIsACoefficientMatrix (const bool trueOrFalse=TRUE, const int stencilSize=defaultValue, const int numberOfGhostLines=1, const int numberOfComponentsForCoefficients=1, const int offset=0)
 
void setIsACoefficientMatrix (SparseRepForMGF *sparseRep)
 
bool getIsACoefficientMatrix () const
 
void setStencilType (const stencilTypes stencilType, const int stencilWidth=defaultValue)
 
stencilTypes getStencilType () const
 
int getStencilWidth () const
 
virtual int setCoefficientIndex (const int &m, const int &na, const Index &I1a, const Index &I2a, const Index &I3a, const int &nb, const Index &I1b, const Index &I2b, const Index &I3b)
 
int positionOfCoefficient (const int m1, const int m2, const int m3, const int component) const
 
int dataCopy (const intMappedGridFunction &mgf)
 
void getRanges (Range &R0, Range &R1, Range &R2, Range &R3, Range &R4, Range &R5, Range &R6, Range &R7)
 
void link (const intMappedGridFunction &mgf, const Range &R0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange)
 
void link (const intMappedGridFunction &mgf, const int componentToLinkTo=0, const int numberOfComponents=1)
 
int numberOfDimensions () const
 
int numberOfComponents () const
 
int positionOfFaceCentering () const
 
int destroy ()
 
void periodicUpdate (const Range &C0=nullRange, const Range &C1=nullRange, const Range &C2=nullRange, const Range &C3=nullRange, const Range &C4=nullRange, const bool &derivativePeriodic=FALSE)
 
updateReturnValue updateToMatchGrid (MappedGridData &gridData)
 
updateReturnValue updateToMatchGrid (MappedGrid &grid)
 
updateReturnValue updateToMatchGrid ()
 
updateReturnValue updateToMatchGrid (MappedGridData &gridData, const Range &R0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
updateReturnValue updateToMatchGrid (MappedGrid &grid, const Range &R0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
updateReturnValue updateToMatchGrid (const Range &R0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
updateReturnValue updateToMatchGrid (MappedGrid &grid, const int &i0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
updateReturnValue updateToMatchGrid (MappedGrid &grid, const GridFunctionParameters::GridFunctionType &type, const Range &component0, const Range &component1=nullRange, const Range &component2=nullRange, const Range &component3=nullRange, const Range &component4=nullRange)
 
updateReturnValue updateToMatchGrid (MappedGridData &grid, const GridFunctionParameters::GridFunctionType &type, const Range &component0, const Range &component1=nullRange, const Range &component2=nullRange, const Range &component3=nullRange, const Range &component4=nullRange)
 
updateReturnValue updateToMatchGrid (const GridFunctionParameters::GridFunctionType &type, const Range &component0, const Range &component1=nullRange, const Range &component2=nullRange, const Range &component3=nullRange, const Range &component4=nullRange)
 
updateReturnValue updateToMatchGrid (MappedGrid &grid, const GridFunctionParameters::GridFunctionType &type)
 
updateReturnValue updateToMatchGrid (const GridFunctionParameters::GridFunctionType &type)
 
updateReturnValue updateToMatchGridFunction (const intMappedGridFunction &cgf)
 
updateReturnValue updateToMatchGridFunction (const intMappedGridFunction &cgf, const Range &R0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange, const Range &R5=nullRange, const Range &R6=nullRange, const Range &R7=nullRange)
 
void setName (const aString &name, const int &component0=defaultValue, const int &component1=defaultValue, const int &component2=defaultValue, const int &component3=defaultValue, const int &component4=defaultValue)
 
aString getName (const int &component0=defaultValue, const int &component1=defaultValue, const int &component2=defaultValue, const int &component3=defaultValue, const int &component4=defaultValue) const
 
void reference (const intMappedGridFunction &cgf)
 
void breakReference ()
 
virtual int get (const GenericDataBase &dir, const aString &name)
 
virtual int put (GenericDataBase &dir, const aString &name) const
 
bool getIsCellCentered (const Index &axis=nullIndex, const Index &component0=nullIndex, const Index &component1=nullIndex, const Index &component2=nullIndex, const Index &component3=nullIndex, const Index &component4=nullIndex) const
 
void setIsCellCentered (const bool trueOrFalse, const Index &axis=nullIndex, const Index &component0=nullIndex, const Index &component1=nullIndex, const Index &component2=nullIndex, const Index &component3=nullIndex, const Index &component4=nullIndex)
 
bool getIsFaceCentered (const int &axis=forAll, const Index &component0=nullIndex, const Index &component1=nullIndex, const Index &component2=nullIndex, const Index &component3=nullIndex, const Index &component4=nullIndex) const
 
void setIsFaceCentered (const int &axis=forAll, const Index &component0=nullIndex, const Index &component1=nullIndex, const Index &component2=nullIndex, const Index &component3=nullIndex, const Index &component4=nullIndex)
 
GridFunctionParameters::faceCenteringType getFaceCentering () const
 
void setFaceCentering (const int &axis=defaultValue)
 
MappedGridOperatorsgetOperators () const
 
void setOperators (GenericMappedGridOperators &operators)
 
void setUpdateToMatchGridOption (const UpdateToMatchGridOption &updateToMatchGridOption)
 
virtual real sizeOf (FILE *file=NULL) const
 
virtual int fixupUnusedPoints (const RealArray &value=Overture::nullRealArray(), int numberOfGhostlines=1)
 
virtual intMappedGridFunction convectiveDerivative (const intMappedGridFunction &w, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex) const
 
virtual intMappedGridFunction convectiveDerivative (const GridFunctionParameters &gfType, const intMappedGridFunction &w, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex) const
 
virtual intMappedGridFunction derivativeScalarDerivative (const intMappedGridFunction &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) const
 
virtual intMappedGridFunction derivativeScalarDerivative (const GridFunctionParameters &gfType, const intMappedGridFunction &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) const
 
virtual intMappedGridFunction derivativeScalarDerivativeCoefficients (const intMappedGridFunction &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) const
 
virtual intMappedGridFunction derivativeScalarDerivativeCoefficients (const GridFunctionParameters &gfType, const intMappedGridFunction &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) const
 
virtual intMappedGridFunction FCgrad (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) const
 
virtual intMappedGridFunction FCgrad (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) const
 
virtual void applyBoundaryConditions (const real &time=0.)
 
virtual void assignBoundaryConditionCoefficients (const real &time=0.)
 
void applyBoundaryCondition (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(), const int &grid=0)
 
void applyBoundaryCondition (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)
 
void applyBoundaryCondition (const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const RealArray &forcing, RealArray *forcinga[2][3], const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const int &grid=0)
 
void applyBoundaryCondition (const Index &Components, const BCTypes::BCNames &boundaryConditionType, const int &boundaryCondition, const intMappedGridFunction &forcing, const real &time=0., const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const int &grid=0)
 
void finishBoundaryConditions (const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const Range &C0=nullRange)
 
void applyBoundaryConditionCoefficients (const Index &Equation, const Index &Component, const BCTypes::BCNames &boundaryConditionType=BCTypes::dirichlet, const int &boundaryCondition=BCTypes::allBoundaries, const BoundaryConditionParameters &bcParameters=Overture::defaultBoundaryConditionParameters(), const int &grid=0)
 
void getDerivatives (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) const
 
- Public Member Functions inherited from intGenericGridFunction
 intGenericGridFunction ()
 
 intGenericGridFunction (const intGenericGridFunction &, const CopyType=DEEP)
 
 ~intGenericGridFunction ()
 
 intGenericGridFunction (GenericGrid *grid0)
 
intGenericGridFunctionoperator= (const intGenericGridFunction &X)
 
void reference (const intGenericGridFunction &)
 
- Public Member Functions inherited from ReferenceCounting
 ReferenceCounting ()
 
 ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP)
 
virtual ~ReferenceCounting ()
 
Integer incrementReferenceCount ()
 
Integer decrementReferenceCount ()
 
Integer getReferenceCount () const
 
Logical uncountedReferencesMayExist ()
 
Integer getGlobalID () const
 
void setGlobalID (int id)
 
virtual void consistencyCheck () const
 

Public Attributes

MappedGridDatagrid
 
MappedGridmappedGrid
 
GenericMappedGridOperatorsoperators
 
SparseRepForMGFsparse
 
IntegerArray isCellCentered
 
- Public Attributes inherited from intGenericGridFunction
GenericGridgrid
 

Protected Member Functions

void setNumberOfDimensions (const int &number)
 
void setNumberOfComponents (const int &number)
 
int faceCentering () const
 
int isACoefficientMatrix () const
 
int stencilType () const
 
int stencilWidth () const
 
void setPositionOfFaceCentering (const int &position)
 

Friends

class intGridCollectionFunction
 

Member Enumeration Documentation

anonymous enum
Enumerator
maximumNumberOfIndicies 
numberOfIndicies 
maximumNumberOfComponents 
undefinedValue 
defaultValue 
forAll 
Enumerator
startingGridIndex 
biggerNegativeNumber 
endingGridIndex 
bigNegativeNumber 
Enumerator
standardStencil 
starStencil 
generalStencil 
Enumerator
updateNoChange 
updateReshaped 
updateResized 
updateComponentsChanged 
Enumerator
updateSize 
updateCoefficientMatrix 

Constructor & Destructor Documentation

intMappedGridFunction::intMappedGridFunction ( )
intMappedGridFunction::intMappedGridFunction ( MappedGrid grid)
intMappedGridFunction::intMappedGridFunction ( const intMappedGridFunction cgf,
const CopyType  copyType = DEEP 
)
intMappedGridFunction::intMappedGridFunction ( MappedGridData gridData)
intMappedGridFunction::intMappedGridFunction ( MappedGrid grid,
const Range &  R0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)
intMappedGridFunction::intMappedGridFunction ( MappedGridData gridData,
const Range &  R0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)
intMappedGridFunction::intMappedGridFunction ( MappedGrid grid,
const int &  i0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)
intMappedGridFunction::intMappedGridFunction ( MappedGridData gridData,
const int &  i0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)
intMappedGridFunction::intMappedGridFunction ( MappedGrid mg,
const GridFunctionParameters::GridFunctionType type,
const Range &  component0 = nullRange,
const Range &  component1 = nullRange,
const Range &  component2 = nullRange,
const Range &  component3 = nullRange,
const Range &  component4 = nullRange 
)
intMappedGridFunction::intMappedGridFunction ( const GridFunctionParameters::GridFunctionType type,
const Range &  component0 = nullRange,
const Range &  component1 = nullRange,
const Range &  component2 = nullRange,
const Range &  component3 = nullRange,
const Range &  component4 = nullRange 
)
intMappedGridFunction::~intMappedGridFunction ( )

Member Function Documentation

void intMappedGridFunction::applyBoundaryCondition ( 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(),
const int &  grid = 0 
)

References Overture::abort(), NULL, and operators.

void intMappedGridFunction::applyBoundaryCondition ( 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 
)

References Overture::abort(), NULL, and operators.

void intMappedGridFunction::applyBoundaryCondition ( 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 
)

References Overture::abort(), NULL, and operators.

void intMappedGridFunction::applyBoundaryCondition ( const Index &  Components,
const BCTypes::BCNames boundaryConditionType,
const int &  boundaryCondition,
const intMappedGridFunction forcing,
const real time = 0.,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters(),
const int &  grid = 0 
)

References Overture::abort(), NULL, and operators.

void intMappedGridFunction::applyBoundaryConditionCoefficients ( const Index &  Equation,
const Index &  Component,
const BCTypes::BCNames boundaryConditionType = BCTypes::dirichlet,
const int &  boundaryCondition = BCTypes::allBoundaries,
const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters(),
const int &  grid = 0 
)

References Overture::abort(), NULL, and operators.

void intMappedGridFunction::applyBoundaryConditions ( const real time = 0.)
virtual
int intMappedGridFunction::arg3 ( int  i3,
int  i4,
int  i5 = defaultValue,
int  i6 = defaultValue,
int  i7 = defaultValue 
) const

References defaultValue.

void intMappedGridFunction::assignBoundaryConditionCoefficients ( const real time = 0.)
virtual
void intMappedGridFunction::breakReference ( void  )
virtual
virtual intMappedGridFunction intMappedGridFunction::convectiveDerivative ( const intMappedGridFunction w,
const Index &  I1 = nullIndex,
const Index &  I2 = nullIndex,
const Index &  I3 = nullIndex 
) const
virtual
virtual intMappedGridFunction intMappedGridFunction::convectiveDerivative ( const GridFunctionParameters gfType,
const intMappedGridFunction w,
const Index &  I1 = nullIndex,
const Index &  I2 = nullIndex,
const Index &  I3 = nullIndex 
) const
virtual
int intMappedGridFunction::dataCopy ( const intMappedGridFunction mgf)
virtual intMappedGridFunction intMappedGridFunction::derivativeScalarDerivative ( const intMappedGridFunction 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 
) const
virtual
virtual intMappedGridFunction intMappedGridFunction::derivativeScalarDerivative ( const GridFunctionParameters gfType,
const intMappedGridFunction 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 
) const
virtual
virtual intMappedGridFunction intMappedGridFunction::derivativeScalarDerivativeCoefficients ( const intMappedGridFunction 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 
) const
virtual
virtual intMappedGridFunction intMappedGridFunction::derivativeScalarDerivativeCoefficients ( const GridFunctionParameters gfType,
const intMappedGridFunction 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 
) const
virtual
int intMappedGridFunction::destroy ( )
int intMappedGridFunction::faceCentering ( ) const
inlineprotected
virtual intMappedGridFunction intMappedGridFunction::FCgrad ( 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 
) const
virtual
virtual intMappedGridFunction intMappedGridFunction::FCgrad ( 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 
) const
virtual
void intMappedGridFunction::finishBoundaryConditions ( const BoundaryConditionParameters bcParameters = Overture::defaultBoundaryConditionParameters(),
const Range &  C0 = nullRange 
)

References Overture::abort(), NULL, and operators.

int intMappedGridFunction::fixupUnusedPoints ( const RealArray value = Overture::nullRealArray(),
int  numberOfGhostlines = 1 
)
virtual
int intMappedGridFunction::get ( const GenericDataBase dir,
const aString name 
)
virtual
aString intMappedGridFunction::getClassName ( void  ) const
virtual
int intMappedGridFunction::getComponentBase ( int  component) const
int intMappedGridFunction::getComponentBound ( int  component) const
int intMappedGridFunction::getComponentDimension ( int  component) const
int intMappedGridFunction::getCoordinateBase ( int  coordinate) const
int intMappedGridFunction::getCoordinateBound ( int  coordinate) const
int intMappedGridFunction::getCoordinateDimension ( int  coordinate) const
void intMappedGridFunction::getDerivatives ( 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 
) const
GridFunctionParameters::faceCenteringType intMappedGridFunction::getFaceCentering ( ) const

Referenced by setFaceCentering().

GridFunctionParameters::GridFunctionType intMappedGridFunction::getGridFunctionType ( const Index &  component0 = nullIndex,
const Index &  component1 = nullIndex,
const Index &  component2 = nullIndex,
const Index &  component3 = nullIndex,
const Index &  component4 = nullIndex 
) const
GridFunctionParameters::GridFunctionTypeWithComponents intMappedGridFunction::getGridFunctionTypeWithComponents ( const Index &  component0 = nullIndex,
const Index &  component1 = nullIndex,
const Index &  component2 = nullIndex,
const Index &  component3 = nullIndex,
const Index &  component4 = nullIndex 
) const

References assert, GridFunctionParameters::cellCentered, GridFunctionParameters::cellCenteredWith0Components, GridFunctionParameters::cellCenteredWith1Component, GridFunctionParameters::cellCenteredWith2Components, GridFunctionParameters::cellCenteredWith3Components, GridFunctionParameters::cellCenteredWith4Components, GridFunctionParameters::cellCenteredWith5Components, GridFunctionParameters::faceCenteredAll, GridFunctionParameters::faceCenteredAllWith0Components, GridFunctionParameters::faceCenteredAllWith1Component, GridFunctionParameters::faceCenteredAllWith2Components, GridFunctionParameters::faceCenteredAllWith3Components, GridFunctionParameters::faceCenteredAllWith4Components, GridFunctionParameters::faceCenteredAllWith5Components, GridFunctionParameters::faceCenteredAxis1, GridFunctionParameters::faceCenteredAxis1With0Components, GridFunctionParameters::faceCenteredAxis1With1Component, GridFunctionParameters::faceCenteredAxis1With2Components, GridFunctionParameters::faceCenteredAxis1With3Components, GridFunctionParameters::faceCenteredAxis1With4Components, GridFunctionParameters::faceCenteredAxis1With5Components, GridFunctionParameters::faceCenteredAxis2, GridFunctionParameters::faceCenteredAxis2With0Components, GridFunctionParameters::faceCenteredAxis2With1Component, GridFunctionParameters::faceCenteredAxis2With2Components, GridFunctionParameters::faceCenteredAxis2With3Components, GridFunctionParameters::faceCenteredAxis2With4Components, GridFunctionParameters::faceCenteredAxis2With5Components, GridFunctionParameters::faceCenteredAxis3, GridFunctionParameters::faceCenteredAxis3With0Components, GridFunctionParameters::faceCenteredAxis3With1Component, GridFunctionParameters::faceCenteredAxis3With2Components, GridFunctionParameters::faceCenteredAxis3With3Components, GridFunctionParameters::faceCenteredAxis3With4Components, GridFunctionParameters::faceCenteredAxis3With5Components, GridFunctionParameters::general, GridFunctionParameters::generalWith0Components, GridFunctionParameters::generalWith1Component, GridFunctionParameters::generalWith2Components, GridFunctionParameters::generalWith3Components, GridFunctionParameters::generalWith4Components, GridFunctionParameters::generalWith5Components, intGridCollectionFunction::getGridFunctionType(), GridFunctionParameters::vertexCentered, GridFunctionParameters::vertexCenteredWith0Components, GridFunctionParameters::vertexCenteredWith1Component, GridFunctionParameters::vertexCenteredWith2Components, GridFunctionParameters::vertexCenteredWith3Components, GridFunctionParameters::vertexCenteredWith4Components, and GridFunctionParameters::vertexCenteredWith5Components.

bool intMappedGridFunction::getIsACoefficientMatrix ( ) const
bool intMappedGridFunction::getIsCellCentered ( const Index &  axis = nullIndex,
const Index &  component0 = nullIndex,
const Index &  component1 = nullIndex,
const Index &  component2 = nullIndex,
const Index &  component3 = nullIndex,
const Index &  component4 = nullIndex 
) const
bool intMappedGridFunction::getIsFaceCentered ( const int &  axis = forAll,
const Index &  component0 = nullIndex,
const Index &  component1 = nullIndex,
const Index &  component2 = nullIndex,
const Index &  component3 = nullIndex,
const Index &  component4 = nullIndex 
) const
MappedGrid * intMappedGridFunction::getMappedGrid ( const bool  abortIfNull = TRUE) const

References Overture::abort(), and NULL.

Referenced by multiply().

aString intMappedGridFunction::getName ( const int &  component0 = defaultValue,
const int &  component1 = defaultValue,
const int &  component2 = defaultValue,
const int &  component3 = defaultValue,
const int &  component4 = defaultValue 
) const
int intMappedGridFunction::getNumberOfComponents ( ) const
MappedGridOperators * intMappedGridFunction::getOperators ( ) const

References NULL, and operators.

void intMappedGridFunction::getRanges ( Range &  R0,
Range &  R1,
Range &  R2,
Range &  R3,
Range &  R4,
Range &  R5,
Range &  R6,
Range &  R7 
)
intSerialArray & intMappedGridFunction::getSerialArray ( )
const intSerialArray & intMappedGridFunction::getSerialArray ( ) const
intMappedGridFunction::stencilTypes intMappedGridFunction::getStencilType ( ) const
int intMappedGridFunction::getStencilWidth ( ) const
int intMappedGridFunction::isACoefficientMatrix ( ) const
inlineprotected
bool intMappedGridFunction::isNull ( )

References mappedGrid, and NULL.

Referenced by operator=().

void intMappedGridFunction::link ( const intMappedGridFunction mgf,
const Range &  R0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange 
)
void intMappedGridFunction::link ( const intMappedGridFunction mgf,
const int  componentToLinkTo = 0,
const int  numberOfComponents = 1 
)

References link().

int intMappedGridFunction::numberOfComponents ( ) const
inline

Referenced by updateToMatchGrid().

int intMappedGridFunction::numberOfDimensions ( ) const
inline
int& intMappedGridFunction::operator() ( const int &  i0) const
inline
int& intMappedGridFunction::operator() ( const int &  i0,
const int &  i1 
) const
inline
int& intMappedGridFunction::operator() ( const int &  i0,
const int &  i1,
const int  i2 
) const
inline
int& intMappedGridFunction::operator() ( const int &  i0,
const int &  i1,
const int &  i2,
const int &  i3 
) const
inline
int& intMappedGridFunction::operator() ( const int &  i0,
const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4 
) const
inline
int& intMappedGridFunction::operator() ( const int &  i0,
const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
const int &  i5 
) const
inline
int& intMappedGridFunction::operator() ( const int &  i0,
const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
const int &  i5,
const int &  i6 
) const
inline
int& intMappedGridFunction::operator() ( const int &  i0,
const int &  i1,
const int &  i2,
const int &  i3,
const int &  i4,
const int &  i5,
const int &  i6,
const int &  i7 
) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1 
) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2 
) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3 
) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3,
const int &  i4 
) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3,
const IndexArg I4 
) const

References Overture::abort().

intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3,
const int &  i4,
const int &  i5 
) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3,
const IndexArg I4,
const IndexArg I5 
) const

References Overture::abort().

intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3,
const int &  i4,
const int &  i5,
const int &  i6 
) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3,
const IndexArg I4,
const IndexArg I5,
const IndexArg I6 
) const

References Overture::abort().

intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3,
const int &  i4,
const int &  i5,
const int &  i6,
const int &  i7 
) const
inline
intDistributedArray intMappedGridFunction::operator() ( const IndexArg I0,
const IndexArg I1,
const IndexArg I2,
const IndexArg I3,
const IndexArg I4,
const IndexArg I5,
const IndexArg I6,
const IndexArg I7 
) const

References Overture::abort().

intMappedGridFunction & intMappedGridFunction::operator= ( const intMappedGridFunction cgf)
intMappedGridFunction & intMappedGridFunction::operator= ( const int  x)
intMappedGridFunction & intMappedGridFunction::operator= ( const intDistributedArray X)
void intMappedGridFunction::periodicUpdate ( const Range &  C0 = nullRange,
const Range &  C1 = nullRange,
const Range &  C2 = nullRange,
const Range &  C3 = nullRange,
const Range &  C4 = nullRange,
const bool &  derivativePeriodic = FALSE 
)
int intMappedGridFunction::positionOfCoefficient ( const int  m1,
const int  m2,
const int  m3,
const int  component 
) const
int intMappedGridFunction::positionOfComponent ( int  i) const
inline
int intMappedGridFunction::positionOfCoordinate ( int  i) const
inline
int intMappedGridFunction::positionOfFaceCentering ( ) const
inline
int intMappedGridFunction::put ( GenericDataBase dir,
const aString name 
) const
virtual
void intMappedGridFunction::reference ( const intMappedGridFunction cgf)
int & intMappedGridFunction::sa ( const int &  i0,
const int &  i1,
const int &  i2,
const int &  c0 = 0,
const int &  c1 = 0,
const int &  c2 = 0,
const int &  c3 = 0,
const int &  c4 = 0 
) const
int intMappedGridFunction::setCoefficientIndex ( const int &  m,
const int &  na,
const Index &  I1a,
const Index &  I2a,
const Index &  I3a,
const int &  nb,
const Index &  I1b,
const Index &  I2b,
const Index &  I3b 
)
virtual
void intMappedGridFunction::setFaceCentering ( const int &  axis = defaultValue)
void intMappedGridFunction::setIsACoefficientMatrix ( const bool  trueOrFalse = TRUE,
const int  stencilSize = defaultValue,
const int  numberOfGhostLines = 1,
const int  numberOfComponentsForCoefficients = 1,
const int  offset = 0 
)
void intMappedGridFunction::setIsACoefficientMatrix ( SparseRepForMGF sparseRep)
void intMappedGridFunction::setIsCellCentered ( const bool  trueOrFalse,
const Index &  axis = nullIndex,
const Index &  component0 = nullIndex,
const Index &  component1 = nullIndex,
const Index &  component2 = nullIndex,
const Index &  component3 = nullIndex,
const Index &  component4 = nullIndex 
)
void intMappedGridFunction::setIsFaceCentered ( const int &  axis = forAll,
const Index &  component0 = nullIndex,
const Index &  component1 = nullIndex,
const Index &  component2 = nullIndex,
const Index &  component3 = nullIndex,
const Index &  component4 = nullIndex 
)
void intMappedGridFunction::setName ( const aString name,
const int &  component0 = defaultValue,
const int &  component1 = defaultValue,
const int &  component2 = defaultValue,
const int &  component3 = defaultValue,
const int &  component4 = defaultValue 
)
void intMappedGridFunction::setNumberOfComponents ( const int &  number)
protected
void intMappedGridFunction::setNumberOfDimensions ( const int &  number)
protected
void intMappedGridFunction::setOperators ( GenericMappedGridOperators operators)

References operators.

void intMappedGridFunction::setPositionOfFaceCentering ( const int &  position)
protected
void intMappedGridFunction::setStencilType ( const stencilTypes  stencilType,
const int  stencilWidth = defaultValue 
)
void intMappedGridFunction::setUpdateToMatchGridOption ( const UpdateToMatchGridOption updateToMatchGridOption)

References assert, and NULL.

real intMappedGridFunction::sizeOf ( FILE *  file = NULL) const
virtual
int intMappedGridFunction::stencilType ( ) const
inlineprotected
int intMappedGridFunction::stencilWidth ( ) const
inlineprotected
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( MappedGridData gridData)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( MappedGrid grid)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( )
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( MappedGridData gridData,
const Range &  R0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)

References grid, and updateToMatchGrid().

intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( MappedGrid grid,
const Range &  R0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( const Range &  R0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( MappedGrid grid,
const int &  i0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( MappedGrid grid,
const GridFunctionParameters::GridFunctionType type,
const Range &  component0,
const Range &  component1 = nullRange,
const Range &  component2 = nullRange,
const Range &  component3 = nullRange,
const Range &  component4 = nullRange 
)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( MappedGridData grid,
const GridFunctionParameters::GridFunctionType type,
const Range &  component0,
const Range &  component1 = nullRange,
const Range &  component2 = nullRange,
const Range &  component3 = nullRange,
const Range &  component4 = nullRange 
)

References grid, and updateToMatchGrid().

intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( const GridFunctionParameters::GridFunctionType type,
const Range &  component0,
const Range &  component1 = nullRange,
const Range &  component2 = nullRange,
const Range &  component3 = nullRange,
const Range &  component4 = nullRange 
)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( MappedGrid grid,
const GridFunctionParameters::GridFunctionType type 
)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGrid ( const GridFunctionParameters::GridFunctionType type)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGridFunction ( const intMappedGridFunction cgf)
intMappedGridFunction::updateReturnValue intMappedGridFunction::updateToMatchGridFunction ( const intMappedGridFunction cgf,
const Range &  R0,
const Range &  R1 = nullRange,
const Range &  R2 = nullRange,
const Range &  R3 = nullRange,
const Range &  R4 = nullRange,
const Range &  R5 = nullRange,
const Range &  R6 = nullRange,
const Range &  R7 = nullRange 
)

Friends And Related Function Documentation

friend class intGridCollectionFunction
friend

Member Data Documentation

MappedGridData* intMappedGridFunction::grid
IntegerArray intMappedGridFunction::isCellCentered
MappedGrid* intMappedGridFunction::mappedGrid
GenericMappedGridOperators* intMappedGridFunction::operators
SparseRepForMGF* intMappedGridFunction::sparse

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