Overture
Version 25
|
#include <doubleMappedGridFunction.h>
Public Types | |
enum | { maximumNumberOfIndicies =doubleMappedGridFunctionRCData::maximumNumberOfIndicies, numberOfIndicies =doubleMappedGridFunctionRCData::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 | |
doubleMappedGridFunction () | |
doubleMappedGridFunction (MappedGrid &grid) | |
doubleMappedGridFunction (const doubleMappedGridFunction &cgf, const CopyType copyType=DEEP) | |
doubleMappedGridFunction (MappedGridData &gridData) | |
doubleMappedGridFunction (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) | |
doubleMappedGridFunction (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) | |
doubleMappedGridFunction (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) | |
doubleMappedGridFunction (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) | |
doubleMappedGridFunction (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) | |
doubleMappedGridFunction (const GridFunctionParameters::GridFunctionType &type, const Range &component0=nullRange, const Range &component1=nullRange, const Range &component2=nullRange, const Range &component3=nullRange, const Range &component4=nullRange) | |
~doubleMappedGridFunction () | |
doubleMappedGridFunction & | operator= (const doubleMappedGridFunction &cgf) |
doubleMappedGridFunction & | operator= (const double x) |
doubleMappedGridFunction & | operator= (const doubleDistributedArray &X) |
double & | operator() (const int &i0) const |
double & | operator() (const int &i0, const int &i1) const |
double & | operator() (const int &i0, const int &i1, const int i2) const |
double & | operator() (const int &i0, const int &i1, const int &i2, const int &i3) const |
double & | operator() (const int &i0, const int &i1, const int &i2, const int &i3, const int &i4) const |
double & | operator() (const int &i0, const int &i1, const int &i2, const int &i3, const int &i4, const int &i5) const |
double & | operator() (const int &i0, const int &i1, const int &i2, const int &i3, const int &i4, const int &i5, const int &i6) const |
double & | 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 |
doubleDistributedArray | operator() (const IndexArg &I0) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const int &i4) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const IndexArg &I4) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const int &i4, const int &i5) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const IndexArg &I4, const IndexArg &I5) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const int &i4, const int &i5, const int &i6) const |
doubleDistributedArray | operator() (const IndexArg &I0, const IndexArg &I1, const IndexArg &I2, const IndexArg &I3, const IndexArg &I4, const IndexArg &I5, const IndexArg &I6) const |
doubleDistributedArray | 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 |
doubleDistributedArray | 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 |
double & | 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 |
doubleSerialArray & | getSerialArray () |
const doubleSerialArray & | 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 |
MappedGrid * | getMappedGrid (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 doubleMappedGridFunction &mgf) |
void | getRanges (Range &R0, Range &R1, Range &R2, Range &R3, Range &R4, Range &R5, Range &R6, Range &R7) |
void | link (const doubleMappedGridFunction &mgf, const Range &R0, const Range &R1=nullRange, const Range &R2=nullRange, const Range &R3=nullRange, const Range &R4=nullRange) |
void | link (const doubleMappedGridFunction &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 doubleMappedGridFunction &cgf) |
updateReturnValue | updateToMatchGridFunction (const doubleMappedGridFunction &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 doubleMappedGridFunction &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) |
MappedGridOperators * | getOperators () 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 doubleMappedGridFunction | convectiveDerivative (const doubleMappedGridFunction &w, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex) const |
virtual doubleMappedGridFunction | convectiveDerivative (const GridFunctionParameters &gfType, const doubleMappedGridFunction &w, const Index &I1=nullIndex, const Index &I2=nullIndex, const Index &I3=nullIndex) const |
virtual doubleMappedGridFunction | derivativeScalarDerivative (const doubleMappedGridFunction &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 doubleMappedGridFunction | derivativeScalarDerivative (const GridFunctionParameters &gfType, const doubleMappedGridFunction &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 doubleMappedGridFunction | derivativeScalarDerivativeCoefficients (const doubleMappedGridFunction &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 doubleMappedGridFunction | derivativeScalarDerivativeCoefficients (const GridFunctionParameters &gfType, const doubleMappedGridFunction &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 doubleMappedGridFunction | 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 doubleMappedGridFunction | 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 doubleMappedGridFunction &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 doubleGenericGridFunction | |
doubleGenericGridFunction () | |
doubleGenericGridFunction (const doubleGenericGridFunction &, const CopyType=DEEP) | |
~doubleGenericGridFunction () | |
doubleGenericGridFunction (GenericGrid *grid0) | |
doubleGenericGridFunction & | operator= (const doubleGenericGridFunction &X) |
void | reference (const doubleGenericGridFunction &) |
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 | |
MappedGridData * | grid |
MappedGrid * | mappedGrid |
GenericMappedGridOperators * | operators |
SparseRepForMGF * | sparse |
IntegerArray | isCellCentered |
Public Attributes inherited from doubleGenericGridFunction | |
GenericGrid * | grid |
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 | doubleGridCollectionFunction |
anonymous enum |
doubleMappedGridFunction::doubleMappedGridFunction | ( | ) |
References doubleGridCollectionFunction::initialize().
doubleMappedGridFunction::doubleMappedGridFunction | ( | MappedGrid & | grid | ) |
doubleMappedGridFunction::doubleMappedGridFunction | ( | const doubleMappedGridFunction & | cgf, |
const CopyType | copyType = DEEP |
||
) |
doubleMappedGridFunction::doubleMappedGridFunction | ( | MappedGridData & | gridData | ) |
doubleMappedGridFunction::doubleMappedGridFunction | ( | 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 |
||
) |
References grid, doubleGridCollectionFunction::initialize(), mappedGrid, and MappedGrid::rcData.
doubleMappedGridFunction::doubleMappedGridFunction | ( | 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 doubleGridCollectionFunction::initialize().
doubleMappedGridFunction::doubleMappedGridFunction | ( | 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 |
||
) |
References grid, doubleGridCollectionFunction::initialize(), mappedGrid, and MappedGrid::rcData.
doubleMappedGridFunction::doubleMappedGridFunction | ( | 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 |
||
) |
References grid, and doubleGridCollectionFunction::initialize().
doubleMappedGridFunction::doubleMappedGridFunction | ( | 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 |
||
) |
References Overture::abort(), axis1, axis2, axis3, GridFunctionParameters::cellCentered, GridFunctionParameters::defaultCentering, GridFunctionParameters::edgeCentered, GridFunctionParameters::edgeCenteredUnstructured, GridFunctionParameters::faceCentered, GridFunctionParameters::faceCenteredAll, GridFunctionParameters::faceCenteredAxis1, GridFunctionParameters::faceCenteredAxis2, GridFunctionParameters::faceCenteredAxis3, GridFunctionParameters::faceCenteredUnstructured, faceRange, FALSE, GridFunctionParameters::general, grid, MappedGridData::gridType, doubleGridCollectionFunction::initialize(), MappedGrid::isAllCellCentered(), mappedGrid, nullRange, MappedGrid::rcData, setFaceCentering(), setIsCellCentered(), GenericGrid::structuredGrid, TRUE, and GridFunctionParameters::vertexCentered.
doubleMappedGridFunction::doubleMappedGridFunction | ( | const GridFunctionParameters::GridFunctionType & | type, |
const Range & | component0 = nullRange , |
||
const Range & | component1 = nullRange , |
||
const Range & | component2 = nullRange , |
||
const Range & | component3 = nullRange , |
||
const Range & | component4 = nullRange |
||
) |
doubleMappedGridFunction::~doubleMappedGridFunction | ( | ) |
References ReferenceCounting::decrementReferenceCount(), and sparse.
void doubleMappedGridFunction::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 doubleMappedGridFunction::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(), GenericMappedGridOperators::applyBoundaryCondition(), NULL, and operators.
void doubleMappedGridFunction::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(), GenericMappedGridOperators::applyBoundaryCondition(), NULL, and operators.
void doubleMappedGridFunction::applyBoundaryCondition | ( | const Index & | Components, |
const BCTypes::BCNames & | boundaryConditionType, | ||
const int & | boundaryCondition, | ||
const doubleMappedGridFunction & | forcing, | ||
const real & | time = 0. , |
||
const BoundaryConditionParameters & | bcParameters = Overture::defaultBoundaryConditionParameters() , |
||
const int & | grid = 0 |
||
) |
References Overture::abort(), GenericMappedGridOperators::applyBoundaryCondition(), NULL, and operators.
void doubleMappedGridFunction::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(), GenericMappedGridOperators::applyBoundaryConditionCoefficients(), NULL, and operators.
Referenced by Ogmg::assignBoundaryConditionCoefficients(), main(), and Ogmg::operatorAveraging().
|
virtual |
References GenericMappedGridOperators::applyBoundaryConditions(), and operators.
int doubleMappedGridFunction::arg3 | ( | int | i3, |
int | i4, | ||
int | i5 = defaultValue , |
||
int | i6 = defaultValue , |
||
int | i7 = defaultValue |
||
) | const |
References defaultValue.
|
virtual |
|
virtual |
Reimplemented from doubleGenericGridFunction.
References ReferenceCounting::getReferenceCount(), and reference().
Referenced by Ogmg::operatorAveraging().
|
virtual |
|
virtual |
int doubleMappedGridFunction::dataCopy | ( | const doubleMappedGridFunction & | mgf | ) |
References getLocalArrayWithGhostBoundaries(), operator=(), and R.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
int doubleMappedGridFunction::destroy | ( | ) |
References ReferenceCounting::decrementReferenceCount(), doubleGridCollectionFunction::initialize(), and sparse.
Referenced by fileOutput(), and operator=().
|
inlineprotected |
|
virtual |
|
virtual |
void doubleMappedGridFunction::finishBoundaryConditions | ( | const BoundaryConditionParameters & | bcParameters = Overture::defaultBoundaryConditionParameters() , |
const Range & | C0 = nullRange |
||
) |
References Overture::abort(), GenericMappedGridOperators::finishBoundaryConditions(), NULL, and operators.
Referenced by EllipticGridGenerator::applyBoundaryConditions(), and main().
|
virtual |
References abs(), assert, End, fixupOpt, getComponentBase(), getComponentBound(), getGhostIndex(), getIndex(), getLocalArrayWithGhostBoundaries(), gid, mappedGrid, mask, max(), min(), NULL, and Start.
|
virtual |
References aString, GenericDataBase::find(), GenericDataBase::get(), GenericDataBase::getDistributed(), isCellCentered, NULL, numberOfIndicies, GenericDataBase::setMode(), sPrintF(), GenericDataBase::streamInputMode, TRUE, and GenericDataBase::virtualConstructor().
Referenced by MappedGridData::get().
|
virtual |
Reimplemented from ReferenceCounting.
References doubleGridCollectionFunction::className.
int doubleMappedGridFunction::getComponentBase | ( | int | component | ) | const |
References Overture::abort(), doubleGridCollectionFunction::maximumNumberOfComponents, and doubleGridCollectionFunction::positionOfComponent().
Referenced by MappedGridOperators::applyBCsymmetry(), MappedGridOperators::applyBoundaryCondition(), PlotIt::contour(), MappedGridOperators::derivativeScalarDerivative(), GenericMappedGridOperators::fixBoundaryCorners(), fixupUnusedPoints(), GridFunctionNorms::getBounds(), MappedGridOperators::getVelocityComponents(), InterpolatePoints::interpolateAllPoints(), interpolateAllPoints(), main(), FileOutput::saveData(), Ogshow::saveSolution(), Oges::setCoefficientArray(), Oges::solve(), PlotIt::streamLines(), and MappedGridOperators::xi().
int doubleMappedGridFunction::getComponentBound | ( | int | component | ) | const |
References Overture::abort(), doubleGridCollectionFunction::maximumNumberOfComponents, and doubleGridCollectionFunction::positionOfComponent().
Referenced by MappedGridOperators::applyBCsymmetry(), PlotIt::contour(), GenericMappedGridOperators::fixBoundaryCorners(), fixupUnusedPoints(), GridFunctionNorms::getBounds(), MappedGridOperators::getVelocityComponents(), InterpolatePoints::interpolateAllPoints(), interpolateAllPoints(), main(), Ogshow::saveSolution(), Oges::setCoefficientArray(), Oges::solve(), PlotIt::streamLines(), and MappedGridOperators::xi().
int doubleMappedGridFunction::getComponentDimension | ( | int | component | ) | const |
References Overture::abort(), doubleGridCollectionFunction::maximumNumberOfComponents, and doubleGridCollectionFunction::positionOfComponent().
Referenced by MappedGridOperators::applyBCaDotU(), MappedGridOperators::applyBCnormalComponent(), MappedGridOperators::applyBCtangentialComponent(), MappedGridOperators::applyBoundaryCondition(), PlotIt::contourOpt2d(), MappedGridOperators::derivativeScalarDerivative(), gradFDerivative(), FileOutput::saveData(), Ogshow::saveSolution(), PlotIt::streamLines(), and MappedGridOperators::xi().
int doubleMappedGridFunction::getCoordinateBase | ( | int | coordinate | ) | const |
References Overture::abort(), and doubleGridCollectionFunction::positionOfCoordinate().
int doubleMappedGridFunction::getCoordinateBound | ( | int | coordinate | ) | const |
References Overture::abort(), and doubleGridCollectionFunction::positionOfCoordinate().
int doubleMappedGridFunction::getCoordinateDimension | ( | int | coordinate | ) | const |
References Overture::abort(), and doubleGridCollectionFunction::positionOfCoordinate().
void doubleMappedGridFunction::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 |
References NULL, and doubleGridCollectionFunction::operators.
GridFunctionParameters::faceCenteringType doubleMappedGridFunction::getFaceCentering | ( | ) | const |
Referenced by setFaceCentering().
GridFunctionParameters::GridFunctionType doubleMappedGridFunction::getGridFunctionType | ( | const Index & | component0 = nullIndex , |
const Index & | component1 = nullIndex , |
||
const Index & | component2 = nullIndex , |
||
const Index & | component3 = nullIndex , |
||
const Index & | component4 = nullIndex |
||
) | const |
References abs(), GridFunctionParameters::all, axis1, GridFunctionParameters::cellCentered, GridFunctionParameters::direction0, GridFunctionParameters::direction1, GridFunctionParameters::direction2, GridFunctionParameters::edgeCentered, GridFunctionParameters::edgeCenteredUnstructured, GridFunctionParameters::faceCenteredAll, GridFunctionParameters::faceCenteredAxis1, GridFunctionParameters::faceCenteredAxis2, GridFunctionParameters::faceCenteredAxis3, GridFunctionParameters::faceCenteredUnstructured, GridFunctionParameters::general, doubleGridCollectionFunction::getFaceCentering(), doubleGridCollectionFunction::getIsCellCentered(), max(), GridFunctionParameters::none, doubleGridCollectionFunction::positionOfComponent(), doubleGridCollectionFunction::positionOfFaceCentering(), pow(), GenericGrid::unstructuredGrid, and GridFunctionParameters::vertexCentered.
Referenced by PlotIt::contour(), PlotIt::contourOpt2d(), periodicUpdate(), and updateToMatchGridFunction().
GridFunctionParameters::GridFunctionTypeWithComponents doubleMappedGridFunction::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, doubleGridCollectionFunction::getGridFunctionType(), GridFunctionParameters::vertexCentered, GridFunctionParameters::vertexCenteredWith0Components, GridFunctionParameters::vertexCenteredWith1Component, GridFunctionParameters::vertexCenteredWith2Components, GridFunctionParameters::vertexCenteredWith3Components, GridFunctionParameters::vertexCenteredWith4Components, and GridFunctionParameters::vertexCenteredWith5Components.
bool doubleMappedGridFunction::getIsACoefficientMatrix | ( | ) | const |
Referenced by Oges::setCoefficientArray().
bool doubleMappedGridFunction::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 |
References doubleGridCollectionFunction::positionOfComponent(), and TRUE.
MappedGrid * doubleMappedGridFunction::getMappedGrid | ( | const bool | abortIfNull = TRUE | ) | const |
References Overture::abort(), and NULL.
Referenced by UnstructuredOperators::applyBCdirichlet(), MappedGridOperators::applyBCextrapolate(), MappedGridOperators::applyBoundaryCondition(), AssignInterpNeighbours::assign(), ArrayUtil::assignGridFunction(), assignGridFunction(), displayCoeff(), GenericMappedGridOperators::finishBoundaryConditions(), GenericMappedGridOperators::finishBoundaryConditionsOld(), GenericMappedGridOperators::fixBoundaryCorners(), OGFunction::gd(), GridFunctionNorms::getBounds(), ParallelGridUtility::getLocalBoundaryConditions(), ParallelGridUtility::getLocalIndexBoundsAndBoundaryConditions(), getTrueSolution(), InterpolatePoints::interpolateAllPoints(), interpolateAllPoints(), l2Norm(), Ogmg::l2Norm(), maxNorm(), Ogmg::maxNorm(), multiply(), Ogmg::operatorAveraging(), EllipticGridGenerator::periodicUpdate(), FileOutput::saveData(), and Ogshow::saveSolution().
aString doubleMappedGridFunction::getName | ( | const int & | component0 = defaultValue , |
const int & | component1 = defaultValue , |
||
const int & | component2 = defaultValue , |
||
const int & | component3 = defaultValue , |
||
const int & | component4 = defaultValue |
||
) | const |
References assert, blankString, c, doubleGridCollectionFunction::defaultValue, doubleGridCollectionFunction::maximumNumberOfComponents, and doubleGridCollectionFunction::positionOfComponent().
Referenced by PlotIt::contour(), link(), operator=(), FileOutput::saveData(), Ogshow::saveSolution(), and PlotIt::streamLines().
int doubleMappedGridFunction::getNumberOfComponents | ( | ) | const |
Referenced by gradFDerivative(), and MappedGridOperators::xi().
MappedGridOperators * doubleMappedGridFunction::getOperators | ( | ) | const |
References NULL, and operators.
Referenced by UnstructuredOperators::applyBCdirichlet(), UnstructuredOperators::applyBoundaryCondition(), Ogmg::applyBoundaryConditions(), Ogmg::assignBoundaryConditionCoefficients(), Ogmg::buildPredefinedCoefficientMatrix(), Ogmg::evaluateTheDefectFormula(), Ogmg::getDefect(), Ogmg::initializeConstantCoefficients(), Ogmg::operatorAveraging(), Ogmg::smoothBoundary(), Ogmg::smoothInterpolationNeighbours(), Ogmg::smoothJacobi(), Ogmg::smoothLine(), and Ogmg::smoothRedBlack().
void doubleMappedGridFunction::getRanges | ( | Range & | R0, |
Range & | R1, | ||
Range & | R2, | ||
Range & | R3, | ||
Range & | R4, | ||
Range & | R5, | ||
Range & | R6, | ||
Range & | R7 | ||
) |
doubleSerialArray & doubleMappedGridFunction::getSerialArray | ( | ) |
const doubleSerialArray & doubleMappedGridFunction::getSerialArray | ( | ) | const |
doubleMappedGridFunction::stencilTypes doubleMappedGridFunction::getStencilType | ( | ) | const |
int doubleMappedGridFunction::getStencilWidth | ( | ) | const |
|
inlineprotected |
References doubleGridCollectionFunction::rcData.
Referenced by doubleMappedGridFunction(), setCoefficientIndex(), setIsACoefficientMatrix(), and updateToMatchGridFunction().
bool doubleMappedGridFunction::isNull | ( | ) |
References mappedGrid, and NULL.
Referenced by operator=().
void doubleMappedGridFunction::link | ( | const doubleMappedGridFunction & | mgf, |
const Range & | R0, | ||
const Range & | R1 = nullRange , |
||
const Range & | R2 = nullRange , |
||
const Range & | R3 = nullRange , |
||
const Range & | R4 = nullRange |
||
) |
References getName(), grid, mappedGrid, maximumNumberOfComponents, maximumNumberOfIndicies, NULL, nullRange, operators, positionOfComponent(), and positionOfCoordinate().
Referenced by fileOutput(), link(), and FileOutput::saveData().
void doubleMappedGridFunction::link | ( | const doubleMappedGridFunction & | mgf, |
const int | componentToLinkTo = 0 , |
||
const int | numberOfComponents = 1 |
||
) |
References link().
|
inline |
Referenced by PlotIt::contour(), periodicUpdate(), and updateToMatchGrid().
|
inline |
Referenced by periodicUpdate(), setIsACoefficientMatrix(), setIsCellCentered(), and setIsFaceCentered().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
doubleDistributedArray doubleMappedGridFunction::operator() | ( | const IndexArg & | I0, |
const IndexArg & | I1, | ||
const IndexArg & | I2, | ||
const IndexArg & | I3, | ||
const IndexArg & | I4 | ||
) | const |
References Overture::abort().
|
inline |
doubleDistributedArray doubleMappedGridFunction::operator() | ( | const IndexArg & | I0, |
const IndexArg & | I1, | ||
const IndexArg & | I2, | ||
const IndexArg & | I3, | ||
const IndexArg & | I4, | ||
const IndexArg & | I5 | ||
) | const |
References Overture::abort().
|
inline |
doubleDistributedArray doubleMappedGridFunction::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().
|
inline |
doubleDistributedArray doubleMappedGridFunction::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().
doubleMappedGridFunction & doubleMappedGridFunction::operator= | ( | const doubleMappedGridFunction & | cgf | ) |
doubleMappedGridFunction & doubleMappedGridFunction::operator= | ( | const double | x | ) |
References Overture::abort(), getLocalArrayWithGhostBoundaries(), grid, NULL, and operator=().
doubleMappedGridFunction & doubleMappedGridFunction::operator= | ( | const doubleDistributedArray & | X | ) |
References Overture::abort(), ParallelUtility::copy(), grid, isNull(), NULL, and operator=().
void doubleMappedGridFunction::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 |
||
) |
References assert, axis1, C, c, ce, GridFunctionParameters::cellCentered, ParallelUtility::copy(), dimension, MappedGridData::dimension, UnstructuredMapping::Edge, GridFunctionParameters::edgeCentered, End, UnstructuredMapping::Face, GridFunctionParameters::faceCentered, GridFunctionParameters::faceCenteredAll, FALSE, getCPU(), getGridFunctionType(), MappedGridData::getUnstructuredPeriodicBC(), grid, MappedGridData::gridIndexRange, gridIndexRange, MappedGridData::gridType, MappedGridData::indexRange, indexRange, MappedGridData::isPeriodic, maximumNumberOfComponents, nullRange, numberOfComponents(), MappedGridData::numberOfDimensions, numberOfDimensions(), numberOfIndicies, periodicUpdateOpt, positionOfComponent(), positionOfCoordinate(), UnstructuredMapping::Region, Start, GenericMappedGridOperators::timeForPeriodicUpdate, GenericGrid::unstructuredGrid, UnstructuredMapping::Vertex, and GridFunctionParameters::vertexCentered.
Referenced by GenericMappedGridOperators::fixBoundaryCorners(), EllipticGridGenerator::getControlFunctions(), InterpolatePoints::interpolateAllPoints(), main(), EllipticGridGenerator::multigridVcycle(), Ogmg::operatorAveraging(), EllipticGridGenerator::periodicUpdate(), EllipticGridGenerator::smoothJacobi(), MappedGridOperators::spectralDerivatives(), and EllipticGridGenerator::updateRightHandSideWithFASCorrection().
int doubleMappedGridFunction::positionOfCoefficient | ( | const int | m1, |
const int | m2, | ||
const int | m3, | ||
const int | component | ||
) | const |
|
inline |
|
inline |
|
inline |
Referenced by doubleMappedGridFunction(), getGhostIndex(), getIndex(), setFaceCentering(), and updateToMatchGrid().
|
virtual |
void doubleMappedGridFunction::reference | ( | const doubleMappedGridFunction & | cgf | ) |
References assert, ReferenceCounting::decrementReferenceCount(), grid, ReferenceCounting::incrementReferenceCount(), isCellCentered, mappedGrid, NULL, operators, and sparse.
Referenced by MappedGridOperators::applyBCextrapolate(), breakReference(), checkError(), doubleMappedGridFunction(), ShowFileReader::getASolution(), and Ogmg::operatorAveraging().
double & doubleMappedGridFunction::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 |
References i2, doubleGridCollectionFunction::positionOfComponent(), and doubleGridCollectionFunction::positionOfCoordinate().
Referenced by PlotIt::contour1d().
|
virtual |
References assert, isACoefficientMatrix(), NULL, SparseRepForMGF::setCoefficientIndex(), and sparse.
void doubleMappedGridFunction::setFaceCentering | ( | const int & | axis = defaultValue | ) |
References Overture::abort(), GridFunctionParameters::all, c, defaultValue, getFaceCentering(), grid, maximumNumberOfComponents, GridFunctionParameters::none, MappedGridData::numberOfDimensions, positionOfComponent(), positionOfFaceCentering(), and setIsFaceCentered().
Referenced by doubleMappedGridFunction(), and updateToMatchGrid().
void doubleMappedGridFunction::setIsACoefficientMatrix | ( | const bool | trueOrFalse = TRUE , |
const int | stencilSize = defaultValue , |
||
const int | numberOfGhostLines = 1 , |
||
const int | numberOfComponentsForCoefficients = 1 , |
||
const int | offset = 0 |
||
) |
References assert, ReferenceCounting::decrementReferenceCount(), defaultValue, ReferenceCounting::incrementReferenceCount(), isACoefficientMatrix(), mappedGrid, NULL, numberOfDimensions(), pow(), SparseRepForMGF::setParameters(), sparse, and SparseRepForMGF::updateToMatchGrid().
Referenced by doubleMappedGridFunction(), main(), Stencil::test(), and updateToMatchGridFunction().
void doubleMappedGridFunction::setIsACoefficientMatrix | ( | SparseRepForMGF * | sparseRep | ) |
void doubleMappedGridFunction::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 |
||
) |
References isCellCentered, GridFunctionParameters::none, numberOfDimensions(), and positionOfComponent().
Referenced by doubleMappedGridFunction(), and updateToMatchGrid().
void doubleMappedGridFunction::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 |
||
) |
References axis1, FALSE, forAll, isCellCentered, numberOfDimensions(), positionOfComponent(), and TRUE.
Referenced by setFaceCentering().
void doubleMappedGridFunction::setName | ( | const aString & | name, |
const int & | component0 = defaultValue , |
||
const int & | component1 = defaultValue , |
||
const int & | component2 = defaultValue , |
||
const int & | component3 = defaultValue , |
||
const int & | component4 = defaultValue |
||
) |
References c, defaultValue, doubleGridCollectionFunction::dimensionName(), maximumNumberOfComponents, and positionOfComponent().
Referenced by PlotIt::contour3d(), PlotIt::contourCuts(), main(), PlotIt::plot(), and Ogshow::saveSolution().
|
protected |
|
protected |
void doubleMappedGridFunction::setOperators | ( | GenericMappedGridOperators & | operators | ) |
References operators.
Referenced by main(), and EllipticGridGenerator::setup().
|
protected |
void doubleMappedGridFunction::setStencilType | ( | const stencilTypes | stencilType, |
const int | stencilWidth = defaultValue |
||
) |
void doubleMappedGridFunction::setUpdateToMatchGridOption | ( | const UpdateToMatchGridOption & | updateToMatchGridOption | ) |
References NULL, and doubleGridCollectionFunction::sparse.
|
inlineprotected |
References doubleGridCollectionFunction::rcData.
|
inlineprotected |
References doubleGridCollectionFunction::rcData.
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::updateToMatchGrid | ( | MappedGridData & | gridData | ) |
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::updateToMatchGrid | ( | MappedGrid & | grid | ) |
References mappedGrid, MappedGrid::rcData, and updateToMatchGrid().
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::updateToMatchGrid | ( | ) |
References faceRange, grid, MappedGridData::gridType, maximumNumberOfIndicies, nullRange, numberOfComponents(), positionOfComponent(), positionOfCoordinate(), positionOfFaceCentering(), and GenericGrid::structuredGrid.
Referenced by doubleMappedGridFunction(), operator=(), updateToMatchGrid(), and updateToMatchGridFunction().
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::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().
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::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 |
||
) |
References mappedGrid, MappedGrid::rcData, and updateToMatchGrid().
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::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 |
||
) |
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::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 |
||
) |
References mappedGrid, MappedGrid::rcData, and updateToMatchGrid().
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::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 |
||
) |
References grid, mappedGrid, MappedGrid::rcData, and updateToMatchGrid().
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::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().
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::updateToMatchGrid | ( | const GridFunctionParameters::GridFunctionType & | type, |
const Range & | component0, | ||
const Range & | component1 = nullRange , |
||
const Range & | component2 = nullRange , |
||
const Range & | component3 = nullRange , |
||
const Range & | component4 = nullRange |
||
) |
References Overture::abort(), axis1, axis2, axis3, GridFunctionParameters::cellCentered, GridFunctionParameters::defaultCentering, GridFunctionParameters::edgeCentered, GridFunctionParameters::edgeCenteredUnstructured, GridFunctionParameters::faceCentered, GridFunctionParameters::faceCenteredAll, GridFunctionParameters::faceCenteredAxis1, GridFunctionParameters::faceCenteredAxis2, GridFunctionParameters::faceCenteredAxis3, GridFunctionParameters::faceCenteredUnstructured, faceRange, GridFunctionParameters::general, grid, MappedGridData::gridType, MappedGridData::isAllCellCentered, nullRange, setFaceCentering(), setIsCellCentered(), GenericGrid::structuredGrid, TRUE, GenericGrid::unstructuredGrid, and GridFunctionParameters::vertexCentered.
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::updateToMatchGrid | ( | MappedGrid & | grid, |
const GridFunctionParameters::GridFunctionType & | type | ||
) |
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::updateToMatchGrid | ( | const GridFunctionParameters::GridFunctionType & | type | ) |
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::updateToMatchGridFunction | ( | const doubleMappedGridFunction & | cgf | ) |
References GridFunctionParameters::cellCentered, GridFunctionParameters::defaultCentering, GridFunctionParameters::general, getGridFunctionType(), grid, isACoefficientMatrix(), isCellCentered, mappedGrid, operators, setIsACoefficientMatrix(), sparse, TRUE, updateToMatchGrid(), and GridFunctionParameters::vertexCentered.
Referenced by MappedGridOperators::derivativeScalarDerivative(), doubleMappedGridFunction(), MappedGridOperators::spectralDerivatives(), and MappedGridOperators::xi().
doubleMappedGridFunction::updateReturnValue doubleMappedGridFunction::updateToMatchGridFunction | ( | const doubleMappedGridFunction & | 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 |
||
) |
References grid, isCellCentered, mappedGrid, operators, and updateToMatchGrid().
|
friend |
MappedGridData* doubleMappedGridFunction::grid |
IntegerArray doubleMappedGridFunction::isCellCentered |
Referenced by get(), getGhostIndex(), getIndex(), operator=(), reference(), setIsCellCentered(), setIsFaceCentered(), and updateToMatchGridFunction().
MappedGrid* doubleMappedGridFunction::mappedGrid |
Referenced by PlotIt::contour(), doubleMappedGridFunction(), SparseRepForMGF::fixUpClassify(), fixupUnusedPoints(), getGhostIndex(), getIndex(), isNull(), link(), operator=(), reference(), GenericMappedGridOperators::setExtrapolationCoefficients(), setIsACoefficientMatrix(), GenericMappedGridOperators::setPeriodicCoefficients(), GenericMappedGridOperators::setSymmetryCoefficients(), PlotIt::streamLines(), MappedGrid::updateMappedGridPointers(), doubleGridCollectionFunction::updateToMatchGrid(), updateToMatchGrid(), and updateToMatchGridFunction().
GenericMappedGridOperators* doubleMappedGridFunction::operators |
SparseRepForMGF* doubleMappedGridFunction::sparse |
Referenced by MappedGridOperators::applyBoundaryConditionCoefficients(), Ogmg::applyBoundaryConditions(), Ogmg::assignBoundaryConditionCoefficients(), destroy(), displayCoeff(), doubleMappedGridFunction(), GenericMappedGridOperators::finishBoundaryConditions(), GenericMappedGridOperators::finishBoundaryConditionsOld(), GenericCompositeGridOperators::getInterpolationCoefficients(), Ogmg::initializeBoundaryConditions(), interpolateRefinements(), operator=(), Ogmg::operatorAveraging(), reference(), Oges::setCoefficientArray(), setCoefficientIndex(), GenericMappedGridOperators::setExtrapolationCoefficients(), setIsACoefficientMatrix(), GenericMappedGridOperators::setPeriodicCoefficients(), GenericMappedGridOperators::setSymmetryCoefficients(), updateToMatchGridFunction(), and ~doubleMappedGridFunction().