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

#include <CompositeGrid.h>

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

Public Types

enum  {
  THEinterpolationCoordinates = ENDtheGridCollectionData, THEinterpoleeGrid = THEinterpolationCoordinates << 1, THEinterpoleeLocation = THEinterpoleeGrid << 1, THEinterpolationPoint = THEinterpoleeLocation << 1,
  THEinverseMap = THEinterpolationPoint << 1, ENDtheCompositeGridData = THEinverseMap << 1, THEusualSuspects, EVERYTHING,
  COMPUTEtheUsual = GridCollectionData::COMPUTEtheUsual, ISgivenByInterpoleePoint = INT_MIN
}
 
enum  LocalInterpolationDataEnum { noLocalInterpolationData, localInterpolationDataForAMR, localInterpolationDataForAll }
 
typedef TrivialArray
< BoundaryAdjustment, Range > 
BoundaryAdjustmentArray
 
typedef TrivialArray
< BoundaryAdjustmentArray,
Range > 
BoundaryAdjustmentArray2
 
- Public Types inherited from GridCollectionData
enum  {
  THEmask = MappedGridData::THEmask, THEinverseVertexDerivative = MappedGridData::THEinverseVertexDerivative, THEinverseCenterDerivative, THEvertex = MappedGridData::THEvertex,
  THEcenter = MappedGridData::THEcenter, THEcorner = MappedGridData::THEcorner, THEvertexDerivative = MappedGridData::THEvertexDerivative, THEcenterDerivative = MappedGridData::THEcenterDerivative,
  THEvertexJacobian = MappedGridData::THEvertexJacobian, THEcenterJacobian = MappedGridData::THEcenterJacobian, THEcellVolume = MappedGridData::THEcellVolume, THEcenterNormal = MappedGridData::THEcenterNormal,
  THEcenterArea = MappedGridData::THEcenterArea, THEfaceNormal = MappedGridData::THEfaceNormal, THEfaceArea = MappedGridData::THEfaceArea, THEvertexBoundaryNormal = MappedGridData::THEvertexBoundaryNormal,
  THEcenterBoundaryNormal = MappedGridData::THEcenterBoundaryNormal, THEcenterBoundaryTangent = MappedGridData::THEcenterBoundaryTangent, THEboundingBox = MappedGridData::THEboundingBox, ENDtheGridCollectionData = ENDtheGenericGridCollectionData,
  THEusualSuspects, EVERYTHING, USEdifferenceApproximation = MappedGridData::USEdifferenceApproximation, COMPUTEgeometry = MappedGridData::COMPUTEgeometry,
  COMPUTEgeometryAsNeeded = MappedGridData::COMPUTEgeometryAsNeeded, COMPUTEtheUsual, ISinterpolationPoint = MappedGridData::ISinterpolationPoint, ISdiscretizationPoint = MappedGridData::ISdiscretizationPoint,
  ISghostPoint = MappedGridData::ISghostPoint, ISinteriorBoundaryPoint = MappedGridData::ISinteriorBoundaryPoint, USESbackupRules = MappedGridData::USESbackupRules, IShiddenByRefinement = MappedGridData::IShiddenByRefinement,
  ISreservedBit2 = MappedGridData::ISreservedBit2, ISreservedBit1 = MappedGridData::ISreservedBit1, ISreservedBit0 = MappedGridData::ISreservedBit0, GRIDnumberBits = MappedGridData::GRIDnumberBits,
  ISusedPoint = MappedGridData::ISusedPoint
}
 
- Public Types inherited from GenericGridCollectionData
enum  {
  THEbaseGrid = 1 << 20, THErefinementLevel = THEbaseGrid << 1, THEcomponentGrid = THErefinementLevel << 1, THEmultigridLevel = THEcomponentGrid << 1,
  THEdomain = THEmultigridLevel << 1, ENDtheGenericGridCollectionData = THEdomain << 1, NOTHING = GenericGridData::NOTHING, THEusualSuspects = GenericGridData::THEusualSuspects,
  THElists, EVERYTHING, COMPUTEnothing = GenericGridData::COMPUTEnothing, COMPUTEtheUsual = GenericGridData::COMPUTEtheUsual,
  COMPUTEfailed = GenericGridData::COMPUTEfailed
}
 

Public Member Functions

 CompositeGridData (const Integer numberOfDimensions_=0, const Integer numberOfComponentGrids_=0)
 
 CompositeGridData (const CompositeGridData &x, const CopyType ct=DEEP)
 
virtual ~CompositeGridData ()
 
CompositeGridDataoperator= (const CompositeGridData &x)
 
void reference (const CompositeGridData &x)
 
virtual void breakReference ()
 
virtual void consistencyCheck () const
 
virtual Integer get (const GenericDataBase &db, const aString &name)
 
virtual Integer put (GenericDataBase &db, const aString &name, int geometryToPut=-1) const
 
Integer update (const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
Integer update (CompositeGridData &x, const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
virtual void destroy (const Integer what=NOTHING)
 
virtual Integer addRefinement (const IntegerArray &range, const IntegerArray &factor, const Integer &level, const Integer k=0)
 
virtual Integer replaceRefinementLevels (int level0, int numberOfRefinementLevels0, IntegerArray **gridInfo)
 Replace refinement level "level0" and higher.
 
virtual void deleteRefinement (const Integer &k)
 
virtual void deleteRefinementLevels (const Integer level=0)
 
void referenceRefinementLevels (CompositeGridData &x, const Integer level=INTEGER_MAX)
 
virtual Integer addMultigridCoarsening (const IntegerArray &factor, const Integer &level, const Integer k=0)
 
virtual void makeCompleteMultigridLevels ()
 
virtual void deleteMultigridCoarsening (const Integer &k)
 
virtual void deleteMultigridLevels (const Integer level=0)
 
void getInterpolationStencil (const Integer &k1, const Integer &k2, const RealArray &r, const IntegerArray &interpolationStencil, const intArray &useBackupRules)
 
void getInterpolationStencil (const MappedGrid &g, const Integer &k10, const Integer &k20, const RealArray &r, const IntegerArray &interpolationStencil, const intArray &useBackupRules)
 
Logical canInterpolate (const Integer &k1, const Integer &k2, const realArray &r, const intArray &ok, const intArray &useBackupRules, const Logical checkForOneSided=LogicalFalse)
 
void isInteriorBoundaryPoint (const Integer &k1, const Integer &k2, const IntegerArray &i1, const RealArray &r2, const LogicalArray &ok)
 
virtual void setNumberOfGrids (const Integer &numberOfGrids_)
 Set the number of grids.
 
virtual void setNumberOfDimensions (const Integer &numberOfDimensions_)
 
virtual void setNumberOfDimensionsAndGrids (const Integer &numberOfDimensions_, const Integer &numberOfGrids_)
 
void initialize (const Integer &numberOfDimensions_, const Integer &numberOfGrids_)
 
virtual aString getClassName () const
 
- Public Member Functions inherited from GridCollectionData
 GridCollectionData (const Integer numberOfDimensions_=0, const Integer numberOfGrids_=0)
 
 GridCollectionData (const GridCollectionData &x, const CopyType ct=DEEP)
 
virtual ~GridCollectionData ()
 
GridCollectionDataoperator= (const GridCollectionData &x)
 
MappedGridoperator[] (const Integer &i)
 
const MappedGridoperator[] (const Integer &i) const
 
void reference (const GridCollectionData &x)
 
Integer update (const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
Integer update (GridCollectionData &x, const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
void updateParentChildSiblingInfo (GridCollection &gc)
 Update the parent child sibling info.
 
void referenceRefinementLevels (GridCollectionData &x, const Integer level=INTEGER_MAX)
 
void initialize (const Integer &numberOfDimensions_, const Integer &numberOfGrids_)
 
- Public Member Functions inherited from GenericGridCollectionData
 GenericGridCollectionData (const Integer numberOfGrids_=0)
 
 GenericGridCollectionData (const GenericGridCollectionData &x, const CopyType ct=DEEP)
 
virtual ~GenericGridCollectionData ()
 
GenericGridCollectionDataoperator= (const GenericGridCollectionData &x)
 
GenericGridoperator[] (const Integer &i)
 
const GenericGridoperator[] (const Integer &i) const
 
void reference (const GenericGridCollectionData &x)
 
const aStringgetDomainName (int domain) const
 
void setDomainName (int domain, const aString &name)
 
Integer update (const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
virtual void geometryHasChanged (const Integer what=~NOTHING)
 
virtual Integer addRefinements (const Integer level, const Integer k, const Integer numberToAdd)
 
void initialize (const Integer &numberOfGrids_)
 
- 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

Integer numberOfCompleteMultigridLevels
 
Real epsilon
 
IntegerArray numberOfInterpolationPoints
 
IntegerArray numberOfImplicitInterpolationPoints
 
IntegerArray interpolationStartEndIndex
 
Logical interpolationIsAllExplicit
 
Logical interpolationIsAllImplicit
 
LogicalArray interpolationIsImplicit
 
IntegerArray interpolationWidth
 
RealArray interpolationOverlap
 
RealArray maximumHoleCuttingDistance
 
IntegerArray interpolationPreference
 
LogicalArray mayInterpolate
 
IntegerArray mayCutHoles
 
LogicalArray sharedSidesMayCutHoles
 
IntegerArray multigridCoarseningRatio
 
IntegerArray multigridProlongationWidth
 
IntegerArray multigridRestrictionWidth
 
ListOfRealDistributedArray interpolationCoordinates
 
ListOfIntDistributedArray interpoleeGrid
 
ListOfIntDistributedArray variableInterpolationWidth
 
ListOfIntDistributedArray interpoleeLocation
 
ListOfIntDistributedArray interpolationPoint
 
ListOfCompositeGrid multigridLevel
 
ListOfCompositeGrid domain
 
RealCompositeGridFunction inverseCoordinates
 
IntegerCompositeGridFunction inverseGrid
 
BoundaryAdjustmentArray2 boundaryAdjustment
 
LocalInterpolationDataEnum localInterpolationDataState
 
IntegerArray numberOfInterpolationPointsLocal
 
ListOfIntegerArray interpolationPointLocal
 
ListOfIntegerArray interpoleeGridLocal
 
ListOfIntegerArray variableInterpolationWidthLocal
 
ListOfIntegerArray interpoleeLocationLocal
 
ListOfRealArray interpolationCoordinatesLocal
 
IntegerArray interpolationStartEndIndexLocal
 
Partitioning_Type partition
 
bool partitionInitialized
 
CompositeGridHybridConnectivity hybridConnectivity
 
UnstructuredMappingsurfaceStitching
 
- Public Attributes inherited from GridCollectionData
Integer numberOfDimensions
 
RealArray boundingBox
 
IntegerArray refinementFactor
 
IntegerArray multigridCoarseningFactor
 
ListOfMappedGrid grid
 
ListOfGridCollection baseGrid
 
ListOfGridCollection refinementLevel
 
ListOfGridCollection componentGrid
 
ListOfGridCollection multigridLevel
 
ListOfGridCollection domain
 
Interpolantinterpolant
 
ListOfParentChildSiblingInfoparentChildSiblingInfoList
 
int parentChildSiblingInfoNeedsUpdate
 
- Public Attributes inherited from GenericGridCollectionData
Integer computedGeometry
 
Integer numberOfGrids
 
ListOfGenericGrid grid
 
IntegerArray gridNumber
 
Integer numberOfBaseGrids
 
ListOfGenericGridCollection baseGrid
 
IntegerArray baseGridNumber
 
Integer numberOfRefinementLevels
 
ListOfGenericGridCollection refinementLevel
 
IntegerArray refinementLevelNumber
 
Integer numberOfComponentGrids
 
ListOfGenericGridCollection componentGrid
 
IntegerArray componentGridNumber
 
Integer numberOfMultigridLevels
 
ListOfGenericGridCollection multigridLevel
 
IntegerArray multigridLevelNumber
 
Integer numberOfDomains
 
ListOfGenericGridCollection domain
 
IntegerArray domainNumber
 
std::vector< aStringdomainName
 
bool keepGridDistributionOnCopy
 
GridDistributionList gridDistributionList
 
LoadBalancerpLoadBalancer
 

Protected Member Functions

int convertLocalInterpolationData ()
 
virtual Integer update (GenericGridCollectionData &x, const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
virtual void referenceRefinementLevels (GenericGridCollectionData &x, const Integer level=INTEGER_MAX)
 
Integer updateCollection (const Integer &what, Integer &numberOfCollections, ListOfCompositeGrid &list, ListOfGridCollection &gridCollectionList, ListOfGenericGridCollection &genericGridCollectionList, IntegerArray &number)
 update "collections" such as THEbaseGrid, THErefinementLevel, THEcomponentGrid, THEmultigridLevel, and THEdomain.
 
virtual Integer addRefinement (const Integer &level, const Integer k=0)
 
virtual Integer addMultigridCoarsening (const Integer &level, const Integer k=0)
 
void initializePartition ()
 
- Protected Member Functions inherited from GridCollectionData
Integer updateCollection (const Integer &what, Integer &numberOfCollections, ListOfGridCollection &list, ListOfGenericGridCollection &genericList, IntegerArray &collection)
 update "collections" such as THEbaseGrid, THErefinementLevel, THEcomponentGrid, THEmultigridLevel, and THEdomain.
 
int updateRefinementGrid (int n, int b, int p, const IntegerArray &range, const IntegerArray &factor, const Integer &level)
 Protected routine to update parameters in a new grid.
 
- Protected Member Functions inherited from GenericGridCollectionData
Integer updateCollection (const Integer &what, Integer &numberOfCollections, ListOfGenericGridCollection &list, IntegerArray &number)
 

Additional Inherited Members

- Protected Types inherited from GenericGridCollectionData
enum  GridCollectionTypes {
  masterGridCollection, refinementLevelGridCollection, multigridLevelGridCollection, baseGridGridCollection,
  domainGridCollection
}
 
- Protected Attributes inherited from GenericGridCollectionData
enum
GenericGridCollectionData::GridCollectionTypes 
gridCollectionType
 

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum
Enumerator
THEinterpolationCoordinates 
THEinterpoleeGrid 
THEinterpoleeLocation 
THEinterpolationPoint 
THEinverseMap 
ENDtheCompositeGridData 
THEusualSuspects 
EVERYTHING 
COMPUTEtheUsual 
ISgivenByInterpoleePoint 
Enumerator
noLocalInterpolationData 
localInterpolationDataForAMR 
localInterpolationDataForAll 

Constructor & Destructor Documentation

CompositeGridData::CompositeGridData ( const Integer  numberOfDimensions_ = 0,
const Integer  numberOfComponentGrids_ = 0 
)
CompositeGridData::CompositeGridData ( const CompositeGridData x,
const CopyType  ct = DEEP 
)
CompositeGridData::~CompositeGridData ( )
virtual

Member Function Documentation

Integer CompositeGridData::addMultigridCoarsening ( const IntegerArray factor,
const Integer level,
const Integer  k = 0 
)
virtual
virtual Integer CompositeGridData::addMultigridCoarsening ( const Integer level,
const Integer  k = 0 
)
inlineprotectedvirtual
Integer CompositeGridData::addRefinement ( const IntegerArray range,
const IntegerArray factor,
const Integer level,
const Integer  k = 0 
)
virtual
virtual Integer CompositeGridData::addRefinement ( const Integer level,
const Integer  k = 0 
)
inlineprotectedvirtual
void CompositeGridData::breakReference ( void  )
virtual
Logical CompositeGridData::canInterpolate ( const Integer k1,
const Integer k2,
const realArray r,
const intArray &  ok,
const intArray &  useBackupRules,
const Logical  checkForOneSided = LogicalFalse 
)
void CompositeGridData::consistencyCheck ( void  ) const
virtual
int CompositeGridData::convertLocalInterpolationData ( )
protected
void CompositeGridData::deleteMultigridCoarsening ( const Integer k)
virtual
void CompositeGridData::deleteMultigridLevels ( const Integer  level = 0)
virtual
void CompositeGridData::deleteRefinement ( const Integer k)
virtual
void CompositeGridData::deleteRefinementLevels ( const Integer  level = 0)
virtual
void CompositeGridData::destroy ( const Integer  what = NOTHING)
virtual
Integer CompositeGridData::get ( const GenericDataBase db,
const aString name 
)
virtual

Reimplemented from GridCollectionData.

References aString, GenericGridCollectionData::computedGeometry, GenericGridCollectionData::COMPUTEnothing, epsilon, EVERYTHING, GenericDataBase::find(), GenericDataBase::get(), GridCollectionData::get(), UnstructuredMapping::get(), doubleGridCollectionFunction::get(), intGridCollectionFunction::get(), getClassName(), GenericDataBase::getDistributed(), hybridConnectivity, initialize(), interpolationCoordinates, interpolationIsAllExplicit, interpolationIsAllImplicit, interpolationIsImplicit, interpolationOverlap, interpolationPoint, interpolationPreference, interpolationStartEndIndex, interpolationWidth, interpoleeGrid, interpoleeLocation, inverseCoordinates, inverseGrid, max(), maximumHoleCuttingDistance, mayCutHoles, mayInterpolate, multigridCoarseningRatio, multigridProlongationWidth, multigridRestrictionWidth, numberOfCompleteMultigridLevels, GenericGridCollectionData::numberOfComponentGrids, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfGrids, numberOfImplicitInterpolationPoints, numberOfInterpolationPoints, CompositeGridHybridConnectivity::setCompositeGridHybridConnectivity(), GenericDataBase::setMode(), sharedSidesMayCutHoles, sPrintF(), GenericDataBase::streamInputMode, surfaceStitching, THEinterpolationCoordinates, THEinterpolationPoint, THEinterpoleeGrid, THEinterpoleeLocation, THEinverseMap, GenericGridCollectionData::THElists, update(), variableInterpolationWidth, and GenericDataBase::virtualConstructor().

Referenced by CompositeGrid::get().

virtual aString CompositeGridData::getClassName ( void  ) const
inlinevirtual

Reimplemented from GridCollectionData.

Referenced by get(), and CompositeGrid::operator=().

void CompositeGridData::getInterpolationStencil ( const Integer k1,
const Integer k2,
const RealArray r,
const IntegerArray interpolationStencil,
const intArray &  useBackupRules 
)
void CompositeGridData::getInterpolationStencil ( const MappedGrid g,
const Integer k10,
const Integer k20,
const RealArray r,
const IntegerArray interpolationStencil,
const intArray &  useBackupRules 
)
void CompositeGridData::initialize ( const Integer numberOfDimensions_,
const Integer numberOfGrids_ 
)
void CompositeGridData::initializePartition ( )
protected
void CompositeGridData::isInteriorBoundaryPoint ( const Integer k1,
const Integer k2,
const IntegerArray i1,
const RealArray r2,
const LogicalArray ok 
)
void CompositeGridData::makeCompleteMultigridLevels ( )
virtual
CompositeGridData & CompositeGridData::operator= ( const CompositeGridData x)

References assign(), ci, GenericGridCollectionData::computedGeometry, GenericGridCollectionData::COMPUTEnothing, ListOfIntSerialArray::destroy(), ListOfFloatSerialArray::destroy(), destroy(), epsilon, CopyArray::getAggregateArray(), ListOfIntSerialArray::getLength(), ListOfFloatDistributedArray::getLength(), ListOfIntDistributedArray::getLength(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getSum(), doubleGridCollectionFunction::gridCollectionData, intGridCollectionFunction::gridCollectionData, hasSameDistribution(), hybridConnectivity, if(), ig, il, ReferenceCounting::incrementReferenceCount(), interpolationCoordinates, interpolationCoordinatesLocal, interpolationIsAllExplicit, interpolationIsAllImplicit, interpolationIsImplicit, interpolationOverlap, interpolationPoint, interpolationPointLocal, interpolationPreference, interpolationStartEndIndex, interpolationWidth, interpoleeGrid, interpoleeGridLocal, interpoleeLocation, interpoleeLocationLocal, inverseCoordinates, inverseGrid, ip, doubleGridCollectionFunction::isNull(), intGridCollectionFunction::isNull(), localInterpolationDataForAll, localInterpolationDataState, maximumHoleCuttingDistance, mayCutHoles, mayInterpolate, multigridCoarseningRatio, multigridProlongationWidth, multigridRestrictionWidth, noLocalInterpolationData, GenericGridCollectionData::NOTHING, GenericGridCollectionData::numberOfBaseGrids, numberOfCompleteMultigridLevels, GenericGridCollectionData::numberOfComponentGrids, GridCollectionData::numberOfDimensions, numberOfImplicitInterpolationPoints, numberOfInterpolationPoints, numberOfInterpolationPointsLocal, GridCollectionData::operator=(), partition, sharedSidesMayCutHoles, surfaceStitching, THEinterpolationCoordinates, THEinterpolationPoint, THEinterpoleeGrid, THEinterpoleeLocation, THEinverseMap, update(), intCompositeGridFunction::updateToMatchGrid(), doubleCompositeGridFunction::updateToMatchGrid(), variableInterpolationWidth, and variableInterpolationWidthLocal.

Integer CompositeGridData::put ( GenericDataBase db,
const aString name,
int  geometryToPut = -1 
) const
virtual
void CompositeGridData::reference ( const CompositeGridData x)
void CompositeGridData::referenceRefinementLevels ( CompositeGridData x,
const Integer  level = INTEGER_MAX 
)
inline
void CompositeGridData::referenceRefinementLevels ( GenericGridCollectionData x,
const Integer  level = INTEGER_MAX 
)
protectedvirtual
Integer CompositeGridData::replaceRefinementLevels ( int  level0,
int  numberOfRefinementLevels0,
IntegerArray **  gridInfo 
)
virtual
void CompositeGridData::setNumberOfDimensions ( const Integer numberOfDimensions_)
virtual
void CompositeGridData::setNumberOfDimensionsAndGrids ( const Integer numberOfDimensions_,
const Integer numberOfGrids_ 
)
virtual
void CompositeGridData::setNumberOfGrids ( const Integer numberOfGrids_)
virtual

Set the number of grids.

This function will set the number of grids in the grid collection. It will resize the gridNumber, baseGridNumber, refinementLevelNumber etc. arrays and add/delete elements to the "grid" list .

Reimplemented from GridCollectionData.

References GridCollectionData::numberOfDimensions, and setNumberOfDimensionsAndGrids().

Integer CompositeGridData::update ( const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
inline

References update().

Referenced by get(), operator=(), CompositeGrid::operator=(), and update().

Integer CompositeGridData::update ( CompositeGridData x,
const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
inline

References update().

Referenced by update().

Integer CompositeGridData::update ( GenericGridCollectionData x,
const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
protectedvirtual

Reimplemented from GridCollectionData.

References GenericGridCollectionData::computedGeometry, GridCollectionData::COMPUTEgeometry, GridCollectionData::COMPUTEgeometryAsNeeded, GridCollectionData::domain, GenericGridCollectionData::domain, domain, GenericGridCollectionData::domainNumber, ListOfFloatDistributedArray::getLength(), ListOfIntDistributedArray::getLength(), initializePartition(), interpolationCoordinates, interpolationIsAllExplicit, interpolationIsAllImplicit, interpolationIsImplicit, interpolationPoint, interpoleeGrid, interpoleeLocation, inverseCoordinates, inverseGrid, LogicalFalse, LogicalTrue, mayInterpolate, GenericGridCollectionData::multigridLevel, GridCollectionData::multigridLevel, multigridLevel, GenericGridCollectionData::multigridLevelNumber, GenericGridCollectionData::NOTHING, GenericGridCollectionData::numberOfComponentGrids, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfDomains, GenericGridCollectionData::numberOfGrids, numberOfInterpolationPoints, GenericGridCollectionData::numberOfMultigridLevels, partition, ListOfIntDistributedArray::reference(), reference(), intCompositeGridFunction::reference(), doubleCompositeGridFunction::reference(), GenericGridCollectionData::THEdomain, THEinterpolationCoordinates, THEinterpolationPoint, THEinterpoleeGrid, THEinterpoleeLocation, THEinverseMap, GenericGridCollectionData::THElists, GenericGridCollectionData::THEmultigridLevel, GridCollectionData::update(), updateCollection(), doubleGridCollectionFunction::updateResized, intCompositeGridFunction::updateToMatchGrid(), doubleCompositeGridFunction::updateToMatchGrid(), and variableInterpolationWidth.

Integer CompositeGridData::updateCollection ( const Integer what,
Integer numberOfCollections,
ListOfCompositeGrid list,
ListOfGridCollection gridCollectionList,
ListOfGenericGridCollection genericGridCollectionList,
IntegerArray number 
)
protected

update "collections" such as THEbaseGrid, THErefinementLevel, THEcomponentGrid, THEmultigridLevel, and THEdomain.

The collections are lists that consist of sub-sets of the total set of grids.

References ListOfGenericGridCollection::addElement(), ListOfGridCollection::addElement(), assert, boundaryAdjustment, GenericGridCollectionData::computedGeometry, GenericGridCollectionData::COMPUTEnothing, ListOfGenericGridCollection::deleteElement(), ListOfGridCollection::deleteElement(), GenericGridCollectionData::domainNumber, epsilon, ListOfGridCollection::getLength(), ListOfGenericGridCollection::getLength(), getLocalArrayWithGhostBoundaries(), TrivialArray< Type, Dim >::getNumberOfElements(), GridCollectionData::grid, ig, interpolationCoordinates, interpolationIsAllExplicit, interpolationIsAllImplicit, interpolationIsImplicit, interpolationOverlap, interpolationPoint, interpolationPreference, interpolationStartEndIndex, interpolationWidth, interpoleeGrid, interpoleeLocation, inverseCoordinates, inverseGrid, max(), maximumHoleCuttingDistance, mayCutHoles, mayInterpolate, multigridCoarseningRatio, multigridProlongationWidth, multigridRestrictionWidth, nullRange, numberOfCompleteMultigridLevels, GenericGridCollectionData::numberOfComponentGrids, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfDomains, GenericGridCollectionData::numberOfGrids, numberOfInterpolationPoints, GenericGridCollectionData::numberOfMultigridLevels, TrivialArray< Type, Dim >::redim(), BoundaryAdjustment::reference(), reference(), setNumberOfDimensionsAndGrids(), sharedSidesMayCutHoles, GenericGridCollectionData::THEdomain, THEinterpolationCoordinates, THEinterpolationPoint, THEinterpoleeGrid, THEinterpoleeLocation, THEinverseMap, GenericGridCollectionData::THElists, GenericGridCollectionData::THEmultigridLevel, GridCollectionData::updateCollection(), and variableInterpolationWidth.

Referenced by update().

Member Data Documentation

BoundaryAdjustmentArray2 CompositeGridData::boundaryAdjustment
ListOfCompositeGrid CompositeGridData::domain

Referenced by consistencyCheck(), destroy(), and update().

Real CompositeGridData::epsilon
CompositeGridHybridConnectivity CompositeGridData::hybridConnectivity

Referenced by get(), and operator=().

ListOfRealDistributedArray CompositeGridData::interpolationCoordinates
ListOfRealArray CompositeGridData::interpolationCoordinatesLocal
Logical CompositeGridData::interpolationIsAllExplicit
Logical CompositeGridData::interpolationIsAllImplicit
LogicalArray CompositeGridData::interpolationIsImplicit
RealArray CompositeGridData::interpolationOverlap
ListOfIntDistributedArray CompositeGridData::interpolationPoint
ListOfIntegerArray CompositeGridData::interpolationPointLocal
IntegerArray CompositeGridData::interpolationPreference
IntegerArray CompositeGridData::interpolationStartEndIndex
IntegerArray CompositeGridData::interpolationStartEndIndexLocal
IntegerArray CompositeGridData::interpolationWidth
ListOfIntDistributedArray CompositeGridData::interpoleeGrid
ListOfIntegerArray CompositeGridData::interpoleeGridLocal
ListOfIntDistributedArray CompositeGridData::interpoleeLocation
ListOfIntegerArray CompositeGridData::interpoleeLocationLocal
RealCompositeGridFunction CompositeGridData::inverseCoordinates
IntegerCompositeGridFunction CompositeGridData::inverseGrid
LocalInterpolationDataEnum CompositeGridData::localInterpolationDataState
RealArray CompositeGridData::maximumHoleCuttingDistance
IntegerArray CompositeGridData::mayCutHoles
LogicalArray CompositeGridData::mayInterpolate
IntegerArray CompositeGridData::multigridCoarseningRatio
ListOfCompositeGrid CompositeGridData::multigridLevel

Referenced by consistencyCheck(), destroy(), and update().

IntegerArray CompositeGridData::multigridProlongationWidth
IntegerArray CompositeGridData::multigridRestrictionWidth
Integer CompositeGridData::numberOfCompleteMultigridLevels
IntegerArray CompositeGridData::numberOfImplicitInterpolationPoints
IntegerArray CompositeGridData::numberOfInterpolationPoints
IntegerArray CompositeGridData::numberOfInterpolationPointsLocal
Partitioning_Type CompositeGridData::partition
bool CompositeGridData::partitionInitialized
LogicalArray CompositeGridData::sharedSidesMayCutHoles
UnstructuredMapping* CompositeGridData::surfaceStitching
ListOfIntDistributedArray CompositeGridData::variableInterpolationWidth
ListOfIntegerArray CompositeGridData::variableInterpolationWidthLocal

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