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

#include <GridCollection.h>

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

Public Types

enum  {
  THEmask = GridCollectionData::THEmask, THEinverseVertexDerivative, THEinverseCenterDerivative, THEvertex = GridCollectionData::THEvertex,
  THEcenter = GridCollectionData::THEcenter, THEcorner = GridCollectionData::THEcorner, THEvertexDerivative = GridCollectionData::THEvertexDerivative, THEcenterDerivative = GridCollectionData::THEcenterDerivative,
  THEvertexJacobian = GridCollectionData::THEvertexJacobian, THEcenterJacobian = GridCollectionData::THEcenterJacobian, THEcellVolume = GridCollectionData::THEcellVolume, THEcenterNormal = GridCollectionData::THEcenterNormal,
  THEcenterArea = GridCollectionData::THEcenterArea, THEfaceNormal = GridCollectionData::THEfaceNormal, THEfaceArea = GridCollectionData::THEfaceArea, THEvertexBoundaryNormal = GridCollectionData::THEvertexBoundaryNormal,
  THEcenterBoundaryNormal = GridCollectionData::THEcenterBoundaryNormal, THEcenterBoundaryTangent = GridCollectionData::THEcenterBoundaryTangent, THEboundingBox = GridCollectionData::THEboundingBox, THEusualSuspects = GridCollectionData::THEusualSuspects,
  EVERYTHING = GridCollectionData::EVERYTHING
}
 
enum  { USEdifferenceApproximation, COMPUTEgeometry = GridCollectionData::COMPUTEgeometry, COMPUTEgeometryAsNeeded = GridCollectionData::COMPUTEgeometryAsNeeded, COMPUTEtheUsual = GridCollectionData::COMPUTEtheUsual }
 
enum  {
  ISinterpolationPoint = GridCollectionData::ISinterpolationPoint, ISdiscretizationPoint = GridCollectionData::ISdiscretizationPoint, ISghostPoint = GridCollectionData::ISghostPoint, ISinteriorBoundaryPoint = GridCollectionData::ISinteriorBoundaryPoint,
  USESbackupRules = GridCollectionData::USESbackupRules, IShiddenByRefinement = GridCollectionData::IShiddenByRefinement, ISreservedBit2 = GridCollectionData::ISreservedBit2, ISreservedBit1 = GridCollectionData::ISreservedBit1,
  ISreservedBit0 = GridCollectionData::ISreservedBit0, GRIDnumberBits = GridCollectionData::GRIDnumberBits, ISusedPoint = GridCollectionData::ISusedPoint
}
 
typedef GridCollectionData RCData
 
- Public Types inherited from GenericGridCollection
enum  {
  THEbaseGrid = GenericGridCollectionData::THEbaseGrid, THErefinementLevel = GenericGridCollectionData::THErefinementLevel, THEcomponentGrid = GenericGridCollectionData::THEcomponentGrid, THEmultigridLevel = GenericGridCollectionData::THEmultigridLevel,
  THEdomain = GenericGridCollectionData::THEdomain, NOTHING = GenericGridCollectionData::NOTHING, THEusualSuspects = GenericGridCollectionData::THEusualSuspects, THElists = GenericGridCollectionData::THElists,
  EVERYTHING = GenericGridCollectionData::EVERYTHING
}
 
enum  { COMPUTEnothing = GenericGridCollectionData::COMPUTEnothing, COMPUTEtheUsual = GenericGridCollectionData::COMPUTEtheUsual, COMPUTEfailed = GenericGridCollectionData::COMPUTEfailed }
 
typedef GenericGridCollectionData RCData
 

Public Member Functions

IntegernumberOfDimensions ()
 
const IntegernumberOfDimensions () const
 
 GridCollection (const Integer numberOfDimensions_=0, const Integer numberOfGrids_=0)
 
 GridCollection (const GridCollection &x, const CopyType ct=DEEP)
 
virtual ~GridCollection ()
 
GridCollectionoperator= (const GridCollection &x)
 
MappedGridoperator[] (const Integer &i)
 
const MappedGridoperator[] (const Integer &i) const
 
void reference (const GridCollection &x)
 
void reference (GridCollectionData &x)
 
virtual void breakReference ()
 
virtual void changeToAllVertexCentered ()
 
virtual void changeToAllCellCentered ()
 
virtual void consistencyCheck () const
 
void displayDistribution (const aString &label, FILE *file=stdout)
 
int numberOfGridPoints () const
 
InterpolantgetInterpolant () const
 
virtual Integer get (const GenericDataBase &db, const aString &name)
 
virtual Integer put (GenericDataBase &db, const aString &name, int geometryToPut=-1) const
 
void updateReferences (const Integer what=EVERYTHING)
 
Integer update (const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
Integer update (GridCollection &x, const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
ListOfParentChildSiblingInfogetParentChildSiblingInfo () const
 return the ListOfParentChildSiblingInfo.
 
virtual void updateParentChildSiblingInfo ()
 Update the ListOfParentChildSiblingInfo.
 
void parentChildSiblingInfoNeedsUpdate ()
 
virtual void destroy (const Integer what=NOTHING)
 
virtual int add (MappedGrid &g)
 
virtual int add (Mapping &map)
 
virtual int deleteGrid (Integer k)
 
virtual int deleteGrid (const IntegerArray &gridsToDelete)
 
virtual int deleteGrid (const IntegerArray &gridsToDelete, const IntegerArray &gridsToSave)
 
virtual Integer addRefinement (const IntegerArray &range, const IntegerArray &factor, const Integer &level, const Integer k=0)
 Add a refinement grid to the collection.
 
Integer addRefinement (const IntegerArray &range, const Integer &factor, const Integer &level, const Integer k=0)
 
virtual Integer replaceRefinementLevels (int level0, int numberOfRefinementLevels0, IntegerArray **gridInfo)
 Replace refinement levels "level0" and higher.
 
virtual void deleteRefinement (const Integer &k)
 
virtual void deleteRefinementLevels (const Integer level=0)
 
void referenceRefinementLevels (GridCollection &x, const Integer level=INTEGER_MAX)
 
virtual Integer addMultigridCoarsening (const IntegerArray &factor, const Integer &level, const Integer k=0)
 
virtual void deleteMultigridCoarsening (const Integer &k)
 
virtual void deleteMultigridLevels (const Integer level=0)
 
virtual void addToDomain (int domain, const IntegerArray &gridList)
 
virtual void setNumberOfGrids (const Integer &numberOfGrids_)
 
virtual void setNumberOfDimensions (const Integer &numberOfDimensions_)
 
virtual void setNumberOfDimensionsAndGrids (const Integer &numberOfDimensions_, const Integer &numberOfGrids_)
 
virtual real sizeOf (FILE *file=NULL, bool returnSizeOfReference=false) const
 
int setMaskAtRefinements ()
 
void specifyProcesses (const Range &range)
 
virtual void initialize (const Integer &numberOfDimensions_, const Integer &numberOfGrids_)
 
GridCollectionmasterGridCollection ()
 
GridCollectionDataoperator-> ()
 
const GridCollectionDataoperator-> () const
 
GridCollectionDataoperator* ()
 
const GridCollectionDataoperator* () const
 
virtual aString getClassName () const
 
- Public Member Functions inherited from GenericGridCollection
const IntegercomputedGeometry () const
 
const IntegernumberOfGrids () const
 
const IntegernumberOfBaseGrids () const
 
const IntegernumberOfRefinementLevels () const
 
const IntegernumberOfComponentGrids () const
 
const IntegernumberOfMultigridLevels () const
 
const IntegernumberOfDomains () const
 
 GenericGridCollection (const Integer numberOfGrids_=0)
 
 GenericGridCollection (const GenericGridCollection &x, const CopyType ct=DEEP)
 
virtual ~GenericGridCollection ()
 
GenericGridCollectionoperator= (const GenericGridCollection &x)
 
GenericGridoperator[] (const Integer &i)
 
const GenericGridoperator[] (const Integer &i) const
 
void reference (const GenericGridCollection &x)
 
void reference (GenericGridCollectionData &x)
 
const aStringgetDomainName (int domain) const
 
void setDomainName (int domain, const aString &name)
 
void setLoadBalancer (LoadBalancer &loadBalancer)
 
void updateReferences (const Integer what=EVERYTHING)
 
Integer update (const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
void geometryHasChanged (const Integer what=~NOTHING)
 
void keepGridDistributionOnCopy (const bool trueOrFalse=true)
 
Logical operator== (const GenericGridCollection &x) const
 
Logical operator!= (const GenericGridCollection &x) const
 
Integer getIndex (const GenericGrid &x) const
 
GenericGridCollectionmasterGridCollection ()
 
GenericGridCollectionDataoperator-> ()
 
const GenericGridCollectionDataoperator-> () const
 
GenericGridCollectionDataoperator* ()
 
const GenericGridCollectionDataoperator* () const
 
- 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)
 

Public Attributes

const RealArray boundingBox
 
const IntegerArray refinementFactor
 
const IntegerArray multigridCoarseningFactor
 
IntegerArraynodeNumbering
 
ListOfMappedGrid grid
 
ListOfGridCollection baseGrid
 
ListOfGridCollection refinementLevel
 
ListOfGridCollection componentGrid
 
ListOfGridCollection multigridLevel
 
ListOfGridCollection domain
 
AMR_RefinementLevelInfo * refinementLevelInfo
 
RCDatarcData
 
Logical isCounted
 
- Public Attributes inherited from GenericGridCollection
ListOfGenericGrid grid
 
const IntegerArray gridNumber
 
ListOfGenericGridCollection baseGrid
 
const IntegerArray baseGridNumber
 
ListOfGenericGridCollection refinementLevel
 
const IntegerArray refinementLevelNumber
 
ListOfGenericGridCollection componentGrid
 
const IntegerArray componentGridNumber
 
ListOfGenericGridCollection multigridLevel
 
const IntegerArray multigridLevelNumber
 
ListOfGenericGridCollection domain
 
const IntegerArray domainNumber
 
RCDatarcData
 
Logical isCounted
 

Protected Member Functions

virtual Integer addRefinement (const Integer &level, const Integer k=0)
 
virtual Integer addMultigridCoarsening (const Integer &level, const Integer k=0)
 
virtual void initialize (const Integer &numberOfGrids_)
 

Protected Attributes

GridCollectionmaster
 
- Protected Attributes inherited from GenericGridCollection
GenericGridCollectionmaster
 

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum
Enumerator
THEmask 
THEinverseVertexDerivative 
THEinverseCenterDerivative 
THEvertex 
THEcenter 
THEcorner 
THEvertexDerivative 
THEcenterDerivative 
THEvertexJacobian 
THEcenterJacobian 
THEcellVolume 
THEcenterNormal 
THEcenterArea 
THEfaceNormal 
THEfaceArea 
THEvertexBoundaryNormal 
THEcenterBoundaryNormal 
THEcenterBoundaryTangent 
THEboundingBox 
THEusualSuspects 
EVERYTHING 
anonymous enum
Enumerator
USEdifferenceApproximation 
COMPUTEgeometry 
COMPUTEgeometryAsNeeded 
COMPUTEtheUsual 
anonymous enum
Enumerator
ISinterpolationPoint 
ISdiscretizationPoint 
ISghostPoint 
ISinteriorBoundaryPoint 
USESbackupRules 
IShiddenByRefinement 
ISreservedBit2 
ISreservedBit1 
ISreservedBit0 
GRIDnumberBits 
ISusedPoint 

Constructor & Destructor Documentation

GridCollection::GridCollection ( const Integer  numberOfDimensions_ = 0,
const Integer  numberOfGrids_ = 0 
)
GridCollection::GridCollection ( const GridCollection x,
const CopyType  ct = DEEP 
)
GridCollection::~GridCollection ( )
virtual

Member Function Documentation

int GridCollection::add ( MappedGrid g)
virtual
int GridCollection::add ( Mapping map)
virtual
Integer GridCollection::addMultigridCoarsening ( const IntegerArray factor,
const Integer level,
const Integer  k = 0 
)
virtual

Reimplemented in CompositeGrid.

References updateReferences().

Referenced by CompositeGrid::addMultigridCoarsening().

virtual Integer GridCollection::addMultigridCoarsening ( const Integer level,
const Integer  k = 0 
)
inlineprotectedvirtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

Integer GridCollection::addRefinement ( const IntegerArray range,
const IntegerArray factor,
const Integer level,
const Integer  k = 0 
)
virtual

Add a refinement grid to the collection.

Reimplemented in CompositeGrid.

References updateReferences().

Referenced by addRefinement(), CompositeGrid::addRefinement(), Regrid::buildGrids(), and main().

Integer GridCollection::addRefinement ( const IntegerArray range,
const Integer factor,
const Integer level,
const Integer  k = 0 
)
inline

References addRefinement().

virtual Integer GridCollection::addRefinement ( const Integer level,
const Integer  k = 0 
)
inlineprotectedvirtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

void GridCollection::addToDomain ( int  domain,
const IntegerArray gridList 
)
virtual
void GridCollection::breakReference ( void  )
virtual
void GridCollection::changeToAllCellCentered ( )
virtual
void GridCollection::changeToAllVertexCentered ( )
virtual
void GridCollection::consistencyCheck ( void  ) const
virtual
int GridCollection::deleteGrid ( Integer  k)
virtual

Reimplemented in CompositeGrid.

Referenced by deleteGrid(), and CompositeGrid::deleteGrid().

int GridCollection::deleteGrid ( const IntegerArray gridsToDelete)
virtual
int GridCollection::deleteGrid ( const IntegerArray gridsToDelete,
const IntegerArray gridsToSave 
)
virtual
void GridCollection::deleteMultigridCoarsening ( const Integer k)
virtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

References updateReferences().

void GridCollection::deleteMultigridLevels ( const Integer  level = 0)
virtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

References updateReferences().

void GridCollection::deleteRefinement ( const Integer k)
virtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

References updateReferences().

Referenced by Regrid::buildGrids(), and Regrid::regridRotated().

void GridCollection::deleteRefinementLevels ( const Integer  level = 0)
virtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

References updateReferences().

void GridCollection::destroy ( const Integer  what = NOTHING)
virtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

References updateReferences().

void GridCollection::displayDistribution ( const aString label,
FILE *  file = stdout 
)
Integer GridCollection::get ( const GenericDataBase db,
const aString name 
)
virtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

References GridCollectionData::get(), rcData, and updateReferences().

Referenced by ShowFileReader::getAGrid().

virtual aString GridCollection::getClassName ( void  ) const
inlinevirtual
Interpolant* GridCollection::getInterpolant ( ) const
inline
ListOfParentChildSiblingInfo * GridCollection::getParentChildSiblingInfo ( ) const
void GridCollection::initialize ( const Integer numberOfDimensions_,
const Integer numberOfGrids_ 
)
virtual
virtual void GridCollection::initialize ( const Integer numberOfGrids_)
inlineprotectedvirtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

GridCollection & GridCollection::masterGridCollection ( )

References assert, and master.

Integer& GridCollection::numberOfDimensions ( )
inline

References GridCollectionData::numberOfDimensions, and rcData.

Referenced by Ogen::adjustBoundary(), Ogen::adjustBoundarySerial(), Ogen::adjustForNearbyBoundaries(), Ogmg::alternatingLineSmooth(), Ogmg::applyFinalConditions(), Ogmg::applyInitialConditions(), Ogmg::assignBoundaryConditionCoefficients(), Ogmg::averageCoefficients(), Ogmg::bcTest(), InterpolateRefinements::boxWasAdjustedInPeriodicDirection(), Integrate::buildAdaptiveMeshRefinementSurfaceWeights(), Ogmg::buildCoefficientArrays(), Ogen::buildCutout(), Ogmg::buildExtraLevels(), Ogmg::buildExtraLevelsNew(), UnstructuredMapping::buildFromACompositeGrid(), Regrid::buildGrids(), Ugen::buildHybridInterfaceMappings(), Ugen::buildHybridVertexMappings(), InterpolatePoints::buildInterpolationInfo(), InterpolatePointsOnAGrid::buildInterpolationInfo(), Ogmg::buildPredefinedCoefficientMatrix(), Ogmg::buildPredefinedEquations(), Ogmg::buildPredefinedVariableCoefficients(), CanInterpolate::canInterpolate(), CanInterpolate::canInterpolateOld(), CompositeGrid::changeInterpolationWidth(), Ogen::changeParameters(), Ogen::checkBoundaryAdjustment(), Ogen::checkCanInterpolate(), Ogen::checkCrossings(), checkError(), ExposedPoints::checkForBetterQualityInterpolation(), Ogmg::checkForBetterQualityInterpolation(), Ogen::checkForBoundaryAdjustments(), Ogen::checkForOrphanPointsOnBoundaries(), checkGrid(), Ogen::checkHoleCutting(), Ogen::checkInterpolationOnBoundaries(), checkOverlappingGrid(), Ogen::checkParallelGhostWidth(), Ogen::checkRefinementInterpolation(), Ogen::checkRefinementInterpolationNew(), OgmgParameters::chooseGoodMultigridParameters(), Ogen::classifyPoints(), Ogmg::coarseGridSolverTest(), Ogmg::coarseToFineTest(), collectInterpolationData(), DerivedFunctions::computeDerivedFunctions(), ErrorEstimator::computeErrorFunction(), ErrorEstimator::computeFunction(), Ogen::computeInterpolationQuality(), Ogen::computeInterpolationStencil(), Integrate::computeLeftNullVector(), Ogmg::computeLeftNullVector(), Integrate::computeStitchedSurfaceWeights(), Integrate::computeStitchedSurfaceWeightsOld(), Integrate::computeSurfaceWeights(), Integrate::computeWeights(), Ugen::computeZoneMasks(), PlotIt::contour(), PlotIt::contour2d(), PlotIt::contour3d(), PlotIt::contourCuts(), PlotIt::contourOpt2d(), Ogen::countCrossingsWithRealBoundary(), Ogen::cutHoles(), Ogen::cutHolesNew(), Ogen::cutHolesNewer(), Ogmg::cycle(), Integrate::defineSurfacesAndComputeWeights(), Ogen::determineBoundaryPointsToAdjust(), Ogen::determineMinimalIndexRange(), Ogen::displayCompositeGridParameters(), displayDistribution(), displayValuesAtAPoint(), dudt(), SurfaceStitcher::enlargeGapWidth(), Ugen::enlargeHole(), Ogen::explicitHoleCutting(), fileOutput(), Ogen::findBestGuess(), InterpolatePointsOnAGrid::findNearestValidGridPoint(), findNearestValidGridPoint(), Ogen::findTrueBoundary(), Ogmg::fineToCoarseTest(), Oges::formRhsAndSolutionVectors(), Ogmg::fullMultigrid(), Ugen::generateInitialFaceList(), Ogen::generateInterpolationArrays(), Ugen::generateSpacingControlMesh(), Ogen::getAdjustmentVectors(), PlotIt::getBounds(), PlotIt::getGridBounds(), PlotIt::getGridColour(), GenericCompositeGridOperators::getInterpolationCoefficients(), Ogmg::getInterpolationCoordinates(), Ogmg::getInterpolationCoordinatesNew(), Ogmg::getInterpolationCoordinatesNewOld(), ExposedPoints::getInterpolationStencil(), Ogmg::getInterpolationStencil(), ParallelGridUtility::getLocalInterpolationData(), ParentChildSiblingInfo::getParentGhostBoxes(), ParentChildSiblingInfo::getSiblingGhostBoxes(), getTimeStep(), getTrueSolution(), DerivedFunctions::getUserDefinedDerivedFunction(), PlotIt::grid3d(), Ogen::improveQuality(), ExposedPoints::initialize(), Ogmg::initializeConstantCoefficients(), Ugen::initializeGeneration(), ExposedPoints::interpolate(), Interpolant::interpolate(), Ogmg::interpolate(), Ogen::interpolateAll(), InterpolatePointsOnAGrid::interpolateAllPoints(), interpolateAllPoints(), Ogen::interpolateAPoint(), InterpolateRefinements::interpolateCoarseFromFine(), interpolateExposedPoints(), Ogen::interpolateMixedBoundary(), InterpolatePoints::interpolatePoints(), interpolatePoints(), InterpolatePointsOnAGrid::interpolatePoints(), Ogen::interpolatePoints(), ExposedPoints::interpolatePoints(), InterpolateRefinements::interpolateRefinementBoundaries(), InterpolateRefinements::interpolateRefinements(), interpolateRefinements(), InterpolatePoints::interpolationCoefficients(), Ogen::isNeededForMultigridRestriction(), Ogen::lastChanceInterpolation(), main(), Ogen::markPointsNeededForInterpolation(), Ogen::markPointsNeededForInterpolationNew(), Ogen::markPointsReallyNeededForInterpolation(), Ogen::movingUpdate(), Ogen::movingUpdateNew(), CompositeGrid::numberOfPossibleMultigridLevels(), ogen(), operator<<(), Ogmg::operatorAveraging(), outputRefinementInfo(), outputRefinementInfoNew(), InterpolatePointsOnAGrid::parallelSetup(), PlotIt::plot(), Ogen::plot(), plot3dToOverture(), ErrorEstimator::plotErrorPoints(), BodyForce::plotForcingRegions(), PlotIt::plotGrid(), PlotIt::plotGrid2d(), PlotIt::plotGridBoundaries(), PlotIt::plotGridQuality(), Ogen::preInterpolateGrids(), Ogen::printOrphanPoints(), Oges::privateUpdateToMatchGrid(), Ogen::projectToBoundary(), Ogen::queryAPoint(), readMappingsFromAnOverlappingGridFile(), ParallelGridUtility::redistribute(), Regrid::regrid(), Regrid::regridAligned(), Regrid::regridRotated(), Ogen::removeExteriorPoints(), Ogen::removeExteriorPointsNew(), residual(), FileOutput::save(), saveOvertureTextFile(), Ugen::sealHoles(), Ugen::sealHoles3D(), Oges::setEquationAndBoundaryConditions(), Ogen::setGridParameters(), CompositeGrid::setHybridConnectivity(), setMaskAtRefinements(), CompositeGrid::setOverlapParameters(), ParallelOverlappingGridInterpolator::setup(), Ogmg::setup(), GenericGridCollectionOperators::setup(), GenericCompositeGridOperators::setup(), ErrorEstimator::smooth(), Ogmg::smoothTest(), CompositeGrid::sortInterpolationPoints(), PlotIt::streamLines(), PlotIt::streamLines2d(), PlotIt::streamLines3d(), Integrate::surfaceIntegral(), Ogen::sweepOutHolePoints(), Interpolant::testInterpolation(), CanInterpolate::transferInterpDataForAMR(), Ogen::unmarkBoundaryInterpolationPoints(), Ogen::unmarkInterpolationPoints(), FileOutput::update(), OgmgParameters::update(), Ogen::updateBoundaryAdjustment(), Ogen::updateCanInterpolate(), Ogen::updateGeometry(), Ugen::updateHybrid(), Ogen::updateOverlap(), Ogen::updateParameters(), Ogen::updateRefinement(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), Ogen::updateRefinementNewer(), Interpolant::updateToMatchGrid(), Integrate::updateToMatchGrid(), Integrate::useAdaptiveMeshRefinementGrids(), PlotIt::userDefinedOutput(), DataFormats::writePlot3d(), xInterpolate(), and xInterpolateOpt().

const Integer& GridCollection::numberOfDimensions ( ) const
inline
int GridCollection::numberOfGridPoints ( ) const
GridCollectionData& GridCollection::operator* ( )
inline

References rcData.

const GridCollectionData& GridCollection::operator* ( ) const
inline

References rcData.

GridCollectionData* GridCollection::operator-> ( )
inline

References rcData.

const GridCollectionData* GridCollection::operator-> ( ) const
inline

References rcData.

GridCollection & GridCollection::operator= ( const GridCollection x)
MappedGrid& GridCollection::operator[] ( const Integer i)
inline

References grid.

const MappedGrid& GridCollection::operator[] ( const Integer i) const
inline

References grid.

void GridCollection::parentChildSiblingInfoNeedsUpdate ( )

Call this function when the GridCollection has changed and the parent child sibling info needs to be updated.

Integer GridCollection::put ( GenericDataBase db,
const aString name,
int  geometryToPut = -1 
) const
virtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

Referenced by Ogshow::saveSolution().

void GridCollection::reference ( const GridCollection x)
void GridCollection::reference ( GridCollectionData x)
void GridCollection::referenceRefinementLevels ( GridCollection x,
const Integer  level = INTEGER_MAX 
)
inline
Integer GridCollection::replaceRefinementLevels ( int  level0,
int  numberOfRefinementLevels0,
IntegerArray **  gridInfo 
)
virtual

Replace refinement levels "level0" and higher.

This function is used by the AMR Regrid class in order to efficiently replace a collection of refinement grids. This function avoids the overhead of calling addRefinement and deleteRefinement many times.

Parameters
level0,numberOfRefinementLevels0: replace and/or add levels level0,..,numberOfRefinementLevels0-1
gridInfo[bg][lev](0:ni-1,0:ng-1): info defining a new refinement grid on base grid bg and refinement level=level0+lev, lev=0,1,.... If we let IntegerArray & info = gridInfo[bg][lev] then the number of new refinement grids is given by info.getLength(1). The first 6 entries in info define the range(0:1,0:2) of the refinement grid and the next three entries define the refinement factors along each axis, info(0,g) = range(0,0) info(1,g) = range(1,0) info(2,g) = range(0,1) info(3,g) = range(1,1) info(4,g) = range(0,2) info(5,g) = range(1,2) info(6,g) = factor(0) info(7,g) = factor(1) info(8,g) = factor(2)

Reimplemented in CompositeGrid.

References updateReferences().

Referenced by Regrid::regridAligned().

int GridCollection::setMaskAtRefinements ( )
void GridCollection::setNumberOfDimensions ( const Integer numberOfDimensions_)
virtual

Reimplemented in CompositeGrid.

References updateReferences().

void GridCollection::setNumberOfDimensionsAndGrids ( const Integer numberOfDimensions_,
const Integer numberOfGrids_ 
)
virtual

Reimplemented in CompositeGrid.

References updateReferences().

Referenced by ParallelGridUtility::redistribute().

void GridCollection::setNumberOfGrids ( const Integer numberOfGrids_)
virtual

Reimplemented from GenericGridCollection.

Reimplemented in CompositeGrid.

References updateReferences().

Referenced by Regrid::buildGrids(), and deleteGrid().

real GridCollection::sizeOf ( FILE *  file = NULL,
bool  returnSizeOfReference = false 
) const
virtual

Reimplemented in CompositeGrid.

References assert, boundingBox, and NULL.

Referenced by CompositeGrid::sizeOf().

void GridCollection::specifyProcesses ( const Range &  range)
Integer GridCollection::update ( const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
inline
Integer GridCollection::update ( GridCollection x,
const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
inline

References update().

Referenced by update().

void GridCollection::updateParentChildSiblingInfo ( )
virtual
void GridCollection::updateReferences ( const Integer  what = EVERYTHING)

Member Data Documentation

ListOfGridCollection GridCollection::baseGrid
const RealArray GridCollection::boundingBox
ListOfGridCollection GridCollection::componentGrid
ListOfGridCollection GridCollection::domain
ListOfMappedGrid GridCollection::grid
Logical GridCollection::isCounted
GridCollection* GridCollection::master
protected
const IntegerArray GridCollection::multigridCoarseningFactor
ListOfGridCollection GridCollection::multigridLevel
IntegerArray* GridCollection::nodeNumbering
RCData* GridCollection::rcData
const IntegerArray GridCollection::refinementFactor
ListOfGridCollection GridCollection::refinementLevel

Referenced by Integrate::buildAdaptiveMeshRefinementSurfaceWeights(), Regrid::buildGrids(), ParentChildSiblingInfo::buildParentChildSiblingInfoObjects(), Regrid::buildProperNestingDomains(), Ogen::checkUpdateRefinement(), consistencyCheck(), InterpolateRefinements::interpolateCoarseFromFine(), InterpolateRefinements::interpolateRefinementBoundaries(), Interpolant::interpolateRefinementLevel(), InterpolateRefinements::interpolateRefinements(), interpolateRefinements(), main(), Regrid::outputRefinementInfo(), printInfo(), Regrid::printStatistics(), Regrid::regridAligned(), Regrid::regridRotated(), intCompositeGridFunction::setIsACoefficientMatrix(), floatCompositeGridFunction::setIsACoefficientMatrix(), doubleCompositeGridFunction::setIsACoefficientMatrix(), floatGridCollectionFunction::setIsACoefficientMatrix(), intGridCollectionFunction::setIsACoefficientMatrix(), doubleGridCollectionFunction::setIsACoefficientMatrix(), setMaskAtRefinements(), intCompositeGridFunction::setOperators(), floatCompositeGridFunction::setOperators(), doubleCompositeGridFunction::setOperators(), doubleGridCollectionFunction::setOperators(), floatGridCollectionFunction::setOperators(), intGridCollectionFunction::setOperators(), Interpolant::testInterpolation(), CanInterpolate::transferInterpDataForAMR(), floatCompositeGridFunction::updateCollections(), intCompositeGridFunction::updateCollections(), doubleCompositeGridFunction::updateCollections(), intGridCollectionFunction::updateCollections(), floatGridCollectionFunction::updateCollections(), doubleGridCollectionFunction::updateCollections(), updateReferences(), Ogen::updateRefinement(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), and Ogen::updateRefinementNewer().

AMR_RefinementLevelInfo* GridCollection::refinementLevelInfo

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