Overture
Version 25
|
#include <SparseRep.h>
Public Types | |
enum | classifyTypes { interior =1, boundary =2, ghost1 =3, ghost2 =4, ghost3 =5, ghost4 =6, interpolation =-1, periodic =-2, extrapolation =-3, unused =0 } |
Public Member Functions | |
SparseRepForMGF () | |
~SparseRepForMGF () | |
SparseRepForMGF (const SparseRepForMGF &rep) | |
SparseRepForMGF & | operator= (const SparseRepForMGF &rep) |
ReferenceCounting & | operator= (const ReferenceCounting &x) |
int | updateToMatchGrid (MappedGrid &mg, int stencilSize=9, int numberOfGhostLines=1, int numberOfComponents=1, int offset=0) |
virtual void | setParameters (int stencilSize=9, int numberOfGhostLines=1, int numberOfComponents=1, int offset=0) |
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) |
virtual int | setCoefficientIndex (const int &m, const int &na, const Index &I1a, const Index &I2a, const Index &I3a, const int &equationNumber) |
virtual int | setClassify (const classifyTypes &type, const Index &I1, const Index &I2, const Index &I3, const Index &N=nullIndex) |
virtual int | fixUpClassify (realMappedGridFunction &coeff) |
virtual int | indexToEquation (int n, int i1, int i2, int i3) |
virtual int | equationToIndex (const int eqnNo, int &n, int &i1, int &i2, int &i3) |
virtual real | sizeOf (FILE *file=NULL) const |
Public Member Functions inherited from ReferenceCounting | |
ReferenceCounting () | |
ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP) | |
virtual | ~ReferenceCounting () |
virtual void | reference (const ReferenceCounting &x) |
virtual void | breakReference () |
virtual ReferenceCounting * | virtualConstructor (const CopyType ct=DEEP) const |
Integer | incrementReferenceCount () |
Integer | decrementReferenceCount () |
Integer | getReferenceCount () const |
Logical | uncountedReferencesMayExist () |
virtual aString | getClassName () const |
Integer | getGlobalID () const |
void | setGlobalID (int id) |
virtual void | consistencyCheck () const |
Public Attributes | |
intMappedGridFunction | equationNumber |
intMappedGridFunction | classify |
int | equationOffset |
int | numberOfComponents |
int | numberOfGhostLines |
int | stencilSize |
Static Public Attributes | |
static int | debug =0 |
SparseRepForMGF::SparseRepForMGF | ( | ) |
References equationOffset, numberOfComponents, numberOfGhostLines, and stencilSize.
SparseRepForMGF::~SparseRepForMGF | ( | ) |
SparseRepForMGF::SparseRepForMGF | ( | const SparseRepForMGF & | rep | ) |
|
virtual |
References equationNumber, equationOffset, and numberOfComponents.
|
virtual |
References assert, MappedGrid::boundaryCondition(), c, classify, debug, MappedGrid::dimension(), display(), displayMask(), MappedGrid::extendedRange(), ForBoundary, getGhostIndex(), getIndex(), ParallelUtility::getLocalArrayBounds(), doubleMappedGridFunction::grid, MappedGrid::indexRange(), interpolation, doubleMappedGridFunction::mappedGrid, mask, MappedGrid::mask(), NULL, numberOfComponents, MappedGrid::numberOfDimensions(), numberOfGhostLines, periodic, R, and unused.
Referenced by GenericMappedGridOperators::finishBoundaryConditions(), and GenericMappedGridOperators::finishBoundaryConditionsOld().
|
virtual |
References equationNumber, equationOffset, and numberOfComponents.
Referenced by GenericCompositeGridOperators::getInterpolationCoefficients(), interpolateRefinements(), and setCoefficientIndex().
SparseRepForMGF & SparseRepForMGF::operator= | ( | const SparseRepForMGF & | rep | ) |
References classify, equationNumber, equationOffset, and numberOfComponents.
|
inlinevirtual |
Reimplemented from ReferenceCounting.
|
virtual |
References classify, and ParallelUtility::getLocalArrayBounds().
Referenced by MappedGridOperators::applyBoundaryConditionCoefficients(), Ogmg::assignBoundaryConditionCoefficients(), interpolateRefinements(), Ogmg::operatorAveraging(), GenericMappedGridOperators::setExtrapolationCoefficients(), and GenericMappedGridOperators::setSymmetryCoefficients().
|
virtual |
References equationNumber, i2, indexToEquation(), max(), min(), and numberOfComponents.
Referenced by MappedGridOperators::applyBoundaryConditionCoefficients(), Ogmg::assignBoundaryConditionCoefficients(), GenericMappedGridOperators::finishBoundaryConditions(), GenericCompositeGridOperators::getInterpolationCoefficients(), interpolateRefinements(), Ogmg::operatorAveraging(), floatMappedGridFunction::setCoefficientIndex(), doubleMappedGridFunction::setCoefficientIndex(), intMappedGridFunction::setCoefficientIndex(), GenericMappedGridOperators::setExtrapolationCoefficients(), GenericMappedGridOperators::setPeriodicCoefficients(), GenericMappedGridOperators::setSymmetryCoefficients(), and updateToMatchGrid().
|
virtual |
References classify, equationNumber, and ParallelUtility::getLocalArrayBounds().
|
virtual |
int SparseRepForMGF::updateToMatchGrid | ( | MappedGrid & | mg, |
int | stencilSize = 9 , |
||
int | numberOfGhostLines = 1 , |
||
int | numberOfComponents = 1 , |
||
int | offset = 0 |
||
) |
References assert, axis1, boundary, c, CE, classify, debug, Mapping::debug, MappedGrid::dimension(), End, equationNumber, equationOffset, extrapolation, ForStencil, getBoundaryIndex(), getGhostIndex(), getIndex(), ParallelUtility::getLocalArrayBounds(), MappedGrid::gridIndexRange(), MappedGrid::indexRange(), interior, MappedGrid::isAllCellCentered(), M123, M123CE, numberOfComponents, MappedGrid::numberOfDimensions(), numberOfGhostLines, pow(), REAL_EPSILON, setCoefficientIndex(), SQR, Start, stencilSize, unused, and intMappedGridFunction::updateToMatchGrid().
Referenced by doubleMappedGridFunction::setIsACoefficientMatrix(), intMappedGridFunction::setIsACoefficientMatrix(), and floatMappedGridFunction::setIsACoefficientMatrix().
intMappedGridFunction SparseRepForMGF::classify |
Referenced by Ogmg::applyBoundaryConditions(), GenericMappedGridOperators::finishBoundaryConditions(), GenericMappedGridOperators::finishBoundaryConditionsOld(), fixUpClassify(), Ogmg::initializeBoundaryConditions(), operator=(), setClassify(), setCoefficientIndex(), GenericMappedGridOperators::setPeriodicCoefficients(), and updateToMatchGrid().
|
static |
Referenced by checkGrid(), fixUpClassify(), and updateToMatchGrid().
intMappedGridFunction SparseRepForMGF::equationNumber |
Referenced by equationToIndex(), indexToEquation(), operator=(), setCoefficientIndex(), and updateToMatchGrid().
int SparseRepForMGF::equationOffset |
Referenced by equationToIndex(), indexToEquation(), operator=(), setParameters(), SparseRepForMGF(), and updateToMatchGrid().
int SparseRepForMGF::numberOfComponents |
Referenced by displayCoeff(), equationToIndex(), fixUpClassify(), GenericCompositeGridOperators::getInterpolationCoefficients(), indexToEquation(), interpolateRefinements(), operator=(), Oges::setCoefficientArray(), setCoefficientIndex(), setParameters(), GenericMappedGridOperators::setPeriodicCoefficients(), SparseRepForMGF(), and updateToMatchGrid().
int SparseRepForMGF::numberOfGhostLines |
int SparseRepForMGF::stencilSize |