Overture
Version 25
|
#include <CompositeGrid.h>
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 } |
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 |
anonymous enum |
CompositeGridData::CompositeGridData | ( | const Integer | numberOfDimensions_ = 0 , |
const Integer | numberOfComponentGrids_ = 0 |
||
) |
References initialize(), NULL, partitionInitialized, and surfaceStitching.
CompositeGridData::CompositeGridData | ( | const CompositeGridData & | x, |
const CopyType | ct = DEEP |
||
) |
|
virtual |
References ReferenceCounting::decrementReferenceCount(), and surfaceStitching.
|
virtual |
Reimplemented from GridCollectionData.
References GridCollectionData::addMultigridCoarsening(), assert, GenericGridCollectionData::baseGridNumber, GenericGridCollectionData::componentGridNumber, GridCollectionData::grid, interpolationIsImplicit, interpolationOverlap, interpolationPreference, interpolationWidth, MappedGrid::isCellCentered(), mayInterpolate, multigridCoarseningRatio, GenericGridCollectionData::multigridLevelNumber, multigridProlongationWidth, multigridRestrictionWidth, GenericGridCollectionData::numberOfComponentGrids, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfGrids, and setNumberOfDimensionsAndGrids().
Referenced by makeCompleteMultigridLevels().
|
inlineprotectedvirtual |
Reimplemented from GridCollectionData.
References GridCollectionData::addMultigridCoarsening().
|
virtual |
Reimplemented from GridCollectionData.
References GridCollectionData::addRefinement(), amax1(), assert, GenericGridCollectionData::baseGridNumber, GenericGridCollectionData::componentGridNumber, MappedGrid::discretizationWidth(), epsilon, MappingRC::getGridDimensions(), GridCollectionData::grid, interpolationIsImplicit, interpolationOverlap, interpolationPreference, interpolationWidth, LogicalFalse, LogicalTrue, MappedGrid::mapping(), mayInterpolate, multigridCoarseningRatio, GenericGridCollectionData::multigridLevelNumber, multigridProlongationWidth, multigridRestrictionWidth, GenericGridCollectionData::numberOfComponentGrids, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfGrids, numberOfInterpolationPoints, GenericGridCollectionData::refinementLevelNumber, and setNumberOfDimensionsAndGrids().
|
inlineprotectedvirtual |
Reimplemented from GridCollectionData.
References GridCollectionData::addRefinement().
|
virtual |
Reimplemented from GridCollectionData.
References GridCollectionData::breakReference().
Logical CompositeGridData::canInterpolate | ( | const Integer & | k1, |
const Integer & | k2, | ||
const realArray & | r, | ||
const intArray & | ok, | ||
const intArray & | useBackupRules, | ||
const Logical | checkForOneSided = LogicalFalse |
||
) |
References assert, MappedGrid::boundaryCondition(), GenericGridCollectionData::componentGridNumber, COMPOSITE_GRID_FOR_3, MappedGrid::dimension(), MappedGrid::discretizationWidth(), epsilon, MappedGrid::extendedRange(), fabs(), FALSE, g_boundaryCondition, g_dimension, g_discretizationWidth, g_gridSpacing, g_indexRange, g_isCellCentered, g_isPeriodic, g_mask, getInterpolationStencil(), GridCollectionData::grid, MappedGrid::gridSpacing(), MappedGrid::I1(), i2, MappedGrid::I2(), MappedGrid::I3(), iab, iab2_, MappedGrid::indexRange(), interpolationOverlap, interpolationWidth, MappedGrid::isCellCentered(), GridCollectionData::ISinteriorBoundaryPoint, MappedGrid::isPeriodic(), GridCollectionData::ISusedPoint, iw0_, LogicalFalse, LogicalTrue, MappedGrid::mask(), max(), max0(), min0(), GenericGridCollectionData::multigridLevelNumber, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfGrids, ok_, ov0_, r, r_, Start, and useBackupRules_.
Referenced by CompositeGrid::canInterpolate(), checkOverlappingGrid(), Ogen::classifyPoints(), Ogen::interpolateAll(), Ogen::interpolateAPoint(), Ogen::interpolatePoints(), Ogen::lastChanceInterpolation(), Ogen::movingUpdate(), Ogen::movingUpdateNew(), Ogen::preInterpolateGrids(), Ogen::updateCanInterpolate(), and Ogen::updateRefinement().
|
virtual |
Reimplemented from GridCollectionData.
References ReferenceCounting::consistencyCheck(), GridCollectionData::consistencyCheck(), doubleGridCollectionFunction::consistencyCheck(), intGridCollectionFunction::consistencyCheck(), domain, interpolationCoordinates, interpolationIsImplicit, interpolationOverlap, interpolationPoint, interpolationPreference, interpolationStartEndIndex, interpolationWidth, interpoleeGrid, interpoleeLocation, inverseCoordinates, inverseGrid, maximumHoleCuttingDistance, mayCutHoles, mayInterpolate, multigridCoarseningRatio, multigridLevel, multigridProlongationWidth, multigridRestrictionWidth, numberOfImplicitInterpolationPoints, numberOfInterpolationPoints, sharedSidesMayCutHoles, and variableInterpolationWidth.
|
protected |
References Overture::abort(), assert, GridCollectionData::baseGrid, ci, debug, SparseArray< T >::get(), getCPU(), CopyArray::getLocalArrayBox(), getLocalArrayWithGhostBoundaries(), ParallelUtility::getMaxValue(), ParallelUtility::getSums(), GridCollectionData::grid, ia, ig, il, initializePartition(), interpolationCoordinates, interpolationCoordinatesLocal, interpolationPoint, interpolationPointLocal, interpolationStartEndIndex, interpoleeGrid, interpoleeGridLocal, interpoleeLocation, interpoleeLocationLocal, ip, localInterpolationDataForAll, localInterpolationDataForAMR, localInterpolationDataState, max(), min(), MPI_Real, noLocalInterpolationData, GenericGridCollectionData::numberOfBaseGrids, GenericGridCollectionData::numberOfComponentGrids, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfGrids, numberOfInterpolationPoints, numberOfInterpolationPointsLocal, GenericGridCollectionData::numberOfRefinementLevels, OV_ABORT, Overture::OV_COMM, partition, printF(), GenericGridCollectionData::refinementLevelNumber, variableInterpolationWidth, variableInterpolationWidthLocal, and viw.
|
virtual |
Reimplemented from GridCollectionData.
References assert, GenericGridCollectionData::componentGridNumber, GridCollectionData::deleteMultigridCoarsening(), interpolationIsImplicit, interpolationOverlap, interpolationWidth, GenericGridCollectionData::multigridLevelNumber, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfGrids, numberOfInterpolationPoints, GenericGridCollectionData::refinementLevelNumber, and setNumberOfDimensionsAndGrids().
Referenced by deleteRefinement().
|
virtual |
Reimplemented from GridCollectionData.
References assert, GridCollectionData::deleteMultigridLevels(), GenericGridCollectionData::multigridLevelNumber, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfGrids, numberOfInterpolationPoints, GenericGridCollectionData::numberOfMultigridLevels, and setNumberOfDimensionsAndGrids().
|
virtual |
Reimplemented from GridCollectionData.
References assert, deleteMultigridCoarsening(), GenericGridCollectionData::numberOfGrids, and GenericGridCollectionData::refinementLevelNumber.
|
virtual |
Reimplemented from GridCollectionData.
References boundaryAdjustment, ListOfIntDistributedArray::deleteElement(), ListOfFloatDistributedArray::deleteElement(), GridCollectionData::destroy(), doubleGridCollectionFunction::destroy(), intGridCollectionFunction::destroy(), domain, ListOfIntDistributedArray::getLength(), ListOfFloatDistributedArray::getLength(), interpolationCoordinates, interpolationPoint, interpoleeGrid, interpoleeLocation, inverseCoordinates, inverseGrid, multigridLevel, TrivialArray< Type, Dim >::redim(), ListOfCompositeGrid::reference(), GenericGridCollectionData::THEdomain, THEinterpolationCoordinates, THEinterpolationPoint, THEinterpoleeGrid, THEinterpoleeLocation, THEinverseMap, GenericGridCollectionData::THEmultigridLevel, and variableInterpolationWidth.
Referenced by initialize(), and operator=().
|
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().
|
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 | ||
) |
References MappedGrid::boundaryCondition(), GenericGridCollectionData::componentGridNumber, epsilon, MappedGrid::extendedIndexRange(), g_boundaryCondition, g_extendedIndexRange, g_gridSpacing, g_indexRange, g_isCellCentered, g_isPeriodic, GridCollectionData::grid, MappedGrid::gridSpacing(), MappedGrid::indexRange(), INTEGER_MAX, interpolationStencil_, interpolationWidth, MappedGrid::isCellCentered(), MappedGrid::isPeriodic(), iw0_, GenericGridCollectionData::multigridLevelNumber, GridCollectionData::numberOfDimensions, r, r_, and useBackupRules_.
Referenced by canInterpolate(), and CompositeGrid::getInterpolationStencil().
void CompositeGridData::getInterpolationStencil | ( | const MappedGrid & | g, |
const Integer & | k10, | ||
const Integer & | k20, | ||
const RealArray & | r, | ||
const IntegerArray & | interpolationStencil, | ||
const intArray & | useBackupRules | ||
) |
References MappedGrid::boundaryCondition(), GenericGridCollectionData::componentGridNumber, MappedGrid::discretizationWidth(), epsilon, MappedGrid::extendedIndexRange(), g2_extendedIndexRange, g2_gridSpacing, g2_indexRange, g2_useGhostPoints, g_boundaryCondition, g_discretizationWidth, g_extendedIndexRange, g_indexRange, g_isCellCentered, g_isPeriodic, g_numberOfGhostPoints, GridCollectionData::grid, MappedGrid::gridSpacing(), MappedGrid::indexRange(), INTEGER_MAX, interpolationStencil_, interpolationWidth, MappedGrid::isCellCentered(), MappedGrid::isPeriodic(), iw0_, max0(), min0(), GenericGridCollectionData::multigridLevelNumber, GridCollectionData::numberOfDimensions, MappedGrid::numberOfGhostPoints(), r, r_, GridCollectionData::refinementFactor, refinementFactor_, useBackupRules_, and MappedGrid::useGhostPoints().
void CompositeGridData::initialize | ( | const Integer & | numberOfDimensions_, |
const Integer & | numberOfGrids_ | ||
) |
References destroy(), epsilon, Mapping::epsilon(), GridCollectionData::EVERYTHING, localInterpolationDataState, noLocalInterpolationData, GenericGridCollectionData::NOTHING, numberOfCompleteMultigridLevels, and setNumberOfDimensionsAndGrids().
Referenced by CompositeGridData(), get(), Ogen::removeExteriorPoints(), and Ugen::sealHoles3D().
|
protected |
References partition, and partitionInitialized.
Referenced by convertLocalInterpolationData(), and update().
void CompositeGridData::isInteriorBoundaryPoint | ( | const Integer & | k1, |
const Integer & | k2, | ||
const IntegerArray & | i1, | ||
const RealArray & | r2, | ||
const LogicalArray & | ok | ||
) |
|
virtual |
References addMultigridCoarsening(), assert, GenericGridCollectionData::baseGridNumber, GenericGridCollectionData::componentGridNumber, multigridCoarseningRatio, GenericGridCollectionData::multigridLevelNumber, numberOfCompleteMultigridLevels, GenericGridCollectionData::numberOfComponentGrids, and GenericGridCollectionData::numberOfGrids.
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.
|
virtual |
Reimplemented from GridCollectionData.
References aString, GenericDataBase::create(), interpolationCoordinates, interpoleeGrid, interpoleeLocation, GenericDataBase::put(), GridCollectionData::put(), GenericDataBase::putDistributed(), GenericDataBase::setMode(), sPrintF(), GenericDataBase::streamOutputMode, variableInterpolationWidth, and GenericDataBase::virtualConstructor().
void CompositeGridData::reference | ( | const CompositeGridData & | x | ) |
References GridCollectionData::reference().
Referenced by update(), updateCollection(), and MultigridCompositeGrid::updateToMatchGrid().
|
inline |
References referenceRefinementLevels().
Referenced by referenceRefinementLevels().
|
protectedvirtual |
|
virtual |
Replace refinement level "level0" and higher.
level0,numberOfRefinementLevels0 | : replace and/or add levels level0,..,numberOfRefinementLevels0-1 |
gridInfo[bg][l](0:ni-1,0:ng-1) | : info defining a new refinement grid on base grid bg and refinement level=level0+l |
Reimplemented from GridCollectionData.
References amax1(), assert, GenericGridCollectionData::baseGridNumber, GenericGridCollectionData::componentGridNumber, GenericGridCollectionData::computedGeometry, MappedGrid::discretizationWidth(), epsilon, MappingRC::getGridDimensions(), GridCollectionData::grid, interpolationIsImplicit, interpolationOverlap, interpolationPreference, interpolationWidth, LogicalFalse, LogicalTrue, MappedGrid::mapping(), mayInterpolate, multigridCoarseningRatio, GenericGridCollectionData::multigridLevelNumber, multigridProlongationWidth, multigridRestrictionWidth, GenericGridCollectionData::numberOfComponentGrids, GridCollectionData::numberOfDimensions, GenericGridCollectionData::numberOfGrids, numberOfInterpolationPoints, GenericGridCollectionData::refinementLevelNumber, GridCollectionData::replaceRefinementLevels(), setNumberOfDimensionsAndGrids(), and GenericGridCollection::THEmultigridLevel.
|
virtual |
Reimplemented from GridCollectionData.
References GenericGridCollectionData::numberOfGrids, and setNumberOfDimensionsAndGrids().
|
virtual |
Reimplemented from GridCollectionData.
References GenericGridCollectionData::computedGeometry, interpolationIsImplicit, interpolationOverlap, interpolationPreference, interpolationStartEndIndex, interpolationWidth, LogicalFalse, maximumHoleCuttingDistance, mayCutHoles, mayInterpolate, multigridCoarseningRatio, multigridProlongationWidth, multigridRestrictionWidth, nullRange, GenericGridCollectionData::numberOfComponentGrids, GenericGridCollectionData::numberOfGrids, numberOfImplicitInterpolationPoints, numberOfInterpolationPoints, GenericGridCollectionData::numberOfMultigridLevels, REAL_MAX, GridCollectionData::setNumberOfDimensionsAndGrids(), sharedSidesMayCutHoles, THEinterpolationCoordinates, THEinterpolationPoint, THEinterpoleeGrid, THEinterpoleeLocation, and THEinverseMap.
Referenced by addMultigridCoarsening(), addRefinement(), deleteMultigridCoarsening(), deleteMultigridLevels(), deleteRefinementLevels(), initialize(), referenceRefinementLevels(), replaceRefinementLevels(), setNumberOfDimensions(), setNumberOfGrids(), and updateCollection().
|
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().
|
inline |
References update().
Referenced by get(), operator=(), CompositeGrid::operator=(), and update().
|
inline |
|
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.
|
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().
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 |
Referenced by Ogmg::buildExtraLevelsNew(), checkOverlappingGrid(), convertLocalInterpolationData(), Ogen::generateInterpolationArrays(), ParallelGridUtility::getLocalInterpolationData(), main(), Ogen::movingUpdateNew(), operator=(), PlotIt::plot(), PlotIt::plotGrid(), ParallelOverlappingGridInterpolator::setup(), CanInterpolate::transferInterpDataForAMR(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), and Ogen::updateRefinementNewer().
Logical CompositeGridData::interpolationIsAllExplicit |
Referenced by get(), CompositeGrid::interpolationIsAllExplicit(), operator=(), update(), and updateCollection().
Logical CompositeGridData::interpolationIsAllImplicit |
Referenced by get(), CompositeGrid::interpolationIsAllImplicit(), operator=(), update(), and updateCollection().
LogicalArray CompositeGridData::interpolationIsImplicit |
RealArray CompositeGridData::interpolationOverlap |
ListOfIntDistributedArray CompositeGridData::interpolationPoint |
ListOfIntegerArray CompositeGridData::interpolationPointLocal |
Referenced by Ogmg::buildExtraLevelsNew(), checkOverlappingGrid(), collectInterpolationData(), convertLocalInterpolationData(), Ogen::generateInterpolationArrays(), ParallelGridUtility::getLocalInterpolationData(), main(), Ogen::movingUpdateNew(), operator=(), PlotIt::plot(), PlotIt::plotGrid(), ParallelOverlappingGridInterpolator::setup(), Ogmg::smoothInterpolationNeighbours(), Ogmg::smoothLine(), CanInterpolate::transferInterpDataForAMR(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), and Ogen::updateRefinementNewer().
IntegerArray CompositeGridData::interpolationPreference |
IntegerArray CompositeGridData::interpolationStartEndIndex |
IntegerArray CompositeGridData::interpolationStartEndIndexLocal |
IntegerArray CompositeGridData::interpolationWidth |
ListOfIntDistributedArray CompositeGridData::interpoleeGrid |
ListOfIntegerArray CompositeGridData::interpoleeGridLocal |
Referenced by Ogmg::buildExtraLevelsNew(), checkOverlappingGrid(), collectInterpolationData(), convertLocalInterpolationData(), Ogen::generateInterpolationArrays(), ParallelGridUtility::getLocalInterpolationData(), main(), Ogen::movingUpdateNew(), operator=(), PlotIt::plot(), PlotIt::plotGrid(), ParallelOverlappingGridInterpolator::setup(), CanInterpolate::transferInterpDataForAMR(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), and Ogen::updateRefinementNewer().
ListOfIntDistributedArray CompositeGridData::interpoleeLocation |
ListOfIntegerArray CompositeGridData::interpoleeLocationLocal |
Referenced by Ogmg::buildExtraLevelsNew(), checkOverlappingGrid(), convertLocalInterpolationData(), Ogen::generateInterpolationArrays(), ParallelGridUtility::getLocalInterpolationData(), main(), Ogen::movingUpdateNew(), operator=(), PlotIt::plot(), PlotIt::plotGrid(), ParallelOverlappingGridInterpolator::setup(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), and Ogen::updateRefinementNewer().
RealCompositeGridFunction CompositeGridData::inverseCoordinates |
Referenced by consistencyCheck(), destroy(), get(), operator=(), update(), and updateCollection().
IntegerCompositeGridFunction CompositeGridData::inverseGrid |
Referenced by consistencyCheck(), destroy(), get(), operator=(), update(), and updateCollection().
LocalInterpolationDataEnum CompositeGridData::localInterpolationDataState |
Referenced by Ogmg::buildExtraLevelsNew(), collectInterpolationData(), convertLocalInterpolationData(), Ogen::generateInterpolationArrays(), ParallelGridUtility::getLocalInterpolationData(), initialize(), main(), Ogen::movingUpdateNew(), operator=(), PlotIt::plot(), PlotIt::plotGrid(), ParallelOverlappingGridInterpolator::setup(), Ogmg::smoothInterpolationNeighbours(), Ogmg::smoothLine(), CanInterpolate::transferInterpDataForAMR(), and Ogen::updateRefinement().
RealArray CompositeGridData::maximumHoleCuttingDistance |
Referenced by consistencyCheck(), get(), operator=(), setNumberOfDimensionsAndGrids(), and updateCollection().
IntegerArray CompositeGridData::mayCutHoles |
Referenced by consistencyCheck(), get(), operator=(), setNumberOfDimensionsAndGrids(), and updateCollection().
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 |
Referenced by consistencyCheck(), get(), operator=(), and setNumberOfDimensionsAndGrids().
IntegerArray CompositeGridData::numberOfInterpolationPoints |
Referenced by addRefinement(), consistencyCheck(), convertLocalInterpolationData(), deleteMultigridCoarsening(), deleteMultigridLevels(), deleteRefinementLevels(), get(), operator=(), referenceRefinementLevels(), replaceRefinementLevels(), setNumberOfDimensionsAndGrids(), update(), and updateCollection().
IntegerArray CompositeGridData::numberOfInterpolationPointsLocal |
Referenced by Ogmg::buildExtraLevelsNew(), checkOverlappingGrid(), convertLocalInterpolationData(), Ogen::generateInterpolationArrays(), Ogen::movingUpdateNew(), operator=(), PlotIt::plot(), ParallelOverlappingGridInterpolator::setup(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), and Ogen::updateRefinementNewer().
Partitioning_Type CompositeGridData::partition |
Referenced by convertLocalInterpolationData(), initializePartition(), main(), operator=(), PlotIt::plot(), and update().
bool CompositeGridData::partitionInitialized |
Referenced by CompositeGridData(), and initializePartition().
LogicalArray CompositeGridData::sharedSidesMayCutHoles |
Referenced by consistencyCheck(), get(), operator=(), setNumberOfDimensionsAndGrids(), and updateCollection().
UnstructuredMapping* CompositeGridData::surfaceStitching |
Referenced by CompositeGridData(), get(), CompositeGrid::getSurfaceStitching(), operator=(), and ~CompositeGridData().
ListOfIntDistributedArray CompositeGridData::variableInterpolationWidth |
ListOfIntegerArray CompositeGridData::variableInterpolationWidthLocal |
Referenced by Ogmg::buildExtraLevelsNew(), checkOverlappingGrid(), convertLocalInterpolationData(), Ogen::generateInterpolationArrays(), ParallelGridUtility::getLocalInterpolationData(), main(), Ogen::movingUpdateNew(), operator=(), PlotIt::plot(), PlotIt::plotGrid(), ParallelOverlappingGridInterpolator::setup(), Ogen::updateRefinementFillInterpolationData(), Ogen::updateRefinementFillInterpolationDataNew(), Ogen::updateRefinementNew(), and Ogen::updateRefinementNewer().