A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects. More...
Public Member Functions | |
DynamicList () | |
Construct null. More... | |
DynamicList (const label) | |
Construct given size. More... | |
DynamicList (const DynamicList< T, SizeInc, SizeMult, SizeDiv > &) | |
Construct copy. More... | |
DynamicList (const UList< T > &) | |
Construct from UList. Size set to UList size. More... | |
DynamicList (const UIndirectList< T > &) | |
Construct from UIndirectList. Size set to UIndirectList size. More... | |
DynamicList (const Xfer< List< T > > &) | |
Construct by transferring the parameter contents. More... | |
DynamicList (Istream &) | |
Construct from Istream. Size set to size of list read. More... | |
label | capacity () const |
Size of the underlying storage. More... | |
void | setCapacity (const label) |
Alter the size of the underlying storage. More... | |
void | setSize (const label) |
Alter the addressed list size. More... | |
void | setSize (const label, const T &) |
Alter the addressed list size and fill new space with a. More... | |
void | resize (const label) |
Alter the addressed list size. More... | |
void | resize (const label, const T &) |
Alter the addressed list size and fill new space with a. More... | |
void | reserve (const label) |
Reserve allocation space for at least this size. More... | |
void | clear () |
Clear the addressed list, i.e. set the size to zero. More... | |
void | clearStorage () |
Clear the list and delete storage. More... | |
DynamicList< T, SizeInc, SizeMult, SizeDiv > & | shrink () |
Shrink the allocated space to the number of elements used. More... | |
void | transfer (List< T > &) |
Transfer contents of the argument List into this. More... | |
void | transfer (DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Transfer contents of the argument DynamicList into this. More... | |
Xfer< List< T > > | xfer () |
Transfer contents to the Xfer container as a plain List. More... | |
DynamicList< T, SizeInc, SizeMult, SizeDiv > & | append (const T &) |
Append an element at the end of the list. More... | |
DynamicList< T, SizeInc, SizeMult, SizeDiv > & | append (const UList< T > &) |
Append a List at the end of this list. More... | |
DynamicList< T, SizeInc, SizeMult, SizeDiv > & | append (const UIndirectList< T > &) |
Append a UIndirectList at the end of this list. More... | |
T | remove () |
Remove and return the top element. More... | |
T & | operator() (const label) |
Return non-const access to an element, resizing list if. More... | |
void | operator= (const T &) |
Assignment of all addressed entries to the given value. More... | |
void | operator= (const DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Assignment from DynamicList. More... | |
void | operator= (const UList< T > &) |
Assignment from UList. More... | |
void | operator= (const UIndirectList< T > &) |
Assignment from UIndirectList. More... | |
Private Member Functions | |
StaticAssert ((SizeInc||SizeMult) &&SizeDiv) | |
Avoid invalid sizing parameters. More... | |
Private Attributes | |
label | capacity_ |
The capacity (allocated size) of the underlying list. More... | |
Friends | |
class | List< T > |
Declare friendship with the List class. More... | |
Ostream & | operator (Ostream &, const DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Istream & | operator>> (Istream &, DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Read from Istream, discarding contents of existing DynamicList. More... | |
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Internal storage is a compact array and the list can be shrunk to compact storage. The increase of list size is controlled by three template parameters, which allows the list storage to either increase by the given increment or by the given multiplier and divider (allowing non-integer multiples).
Definition at line 56 of file DynamicList.H.
|
inline |
Construct null.
Definition at line 29 of file DynamicListI.H.
|
inlineexplicit |
Construct given size.
|
inline |
Construct copy.
|
inlineexplicit |
Construct from UList. Size set to UList size.
Also constructs from DynamicList with different sizing parameters.
|
inlineexplicit |
Construct from UIndirectList. Size set to UIndirectList size.
|
inlineexplicit |
Construct by transferring the parameter contents.
|
explicit |
Construct from Istream. Size set to size of list read.
|
private |
Avoid invalid sizing parameters.
|
inline |
Size of the underlying storage.
Definition at line 100 of file DynamicListI.H.
Referenced by primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), extendedEdgeMesh::cut(), primitiveMesh::faceEdges(), main(), primitiveMesh::pointPoints(), and printInfo().
|
inline |
Alter the size of the underlying storage.
The addressed size will be truncated if needed to fit, but will remain otherwise untouched. Use this or reserve() in combination with append().
Definition at line 109 of file DynamicListI.H.
Referenced by polyDualMesh::calcDual(), patchSeedSet::calcSamples(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), polyDualMesh::collectPatchSideFace(), hexRef8::consistentSlowRefinement(), extendedEdgeMesh::cut(), autoSnapDriver::detectWarpedFaces(), primitiveMesh::faceEdges(), fileMonitorWatcher::fileMonitorWatcher(), polyBoundaryMesh::findIndices(), main(), polyMeshAdder::mergeCellZones(), polyMeshAdder::mergeFaceZones(), polyMeshAdder::mergePointZones(), primitiveMesh::pointPoints(), Pstream::Pstream(), TRIsurfaceFormatCore::read(), surfaceFeatures::selectFeatureEdges(), PatchTools::sortedPointEdges(), extendedEdgeMesh::sortPointsAndEdges(), autoSnapDriver::splitDiagonals(), topoCellLooper::subsetList(), and isoSurface::trimToBox().
|
inline |
Alter the addressed list size.
New space will be allocated if required. Use this to resize the list prior to using the operator[] for setting values (as per List usage).
Referenced by InteractionLists< typename CloudType::parcelType >::buildInteractionLists(), primitiveMesh::pointCells(), OBJedgeFormat::read(), refinementHistory::refinementHistory(), face::triangles(), streamLineBase::trimToBox(), and WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot().
|
inline |
Alter the addressed list size and fill new space with a.
constant.
|
inline |
Alter the addressed list size.
New space will be allocated if required. Use this to resize the list prior to using the operator[] for setting values (as per List usage).
|
inline |
Alter the addressed list size and fill new space with a.
constant.
|
inline |
Reserve allocation space for at least this size.
Never shrinks the allocated size, use setCapacity() for that.
Definition at line 130 of file DynamicListI.H.
Referenced by PointEdgeWave< Type, TrackingData >::handleCyclicPatches(), PointEdgeWave< Type, TrackingData >::handleProcPatches(), main(), STARCDsurfaceFormat< Face >::read(), and STARCDedgeFormat::read().
|
inline |
Clear the addressed list, i.e. set the size to zero.
Allocated size does not change
Definition at line 242 of file DynamicListI.H.
Referenced by domainDecomposition::addInterProcFace(), chemkinReader::addReaction(), singleCellFvMesh::agglomerateMesh(), Foam::bandCompression(), cellCuts::calcAnchors(), CFCFaceToCellStencil::calcCellStencil(), polyDualMesh::calcDual(), createShellMesh::calcPointRegions(), isoSurfaceCell::calcSnappedCc(), isoSurface::calcSnappedCc(), isoSurfaceCell::calcSnappedPoint(), isoSurface::calcSnappedPoint(), faceHeatShading::calculate(), faceShading::calculate(), mapNearestAMI< SourcePatch, TargetPatch >::calculate(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), mapNearestMethod::calculateAddressing(), primitiveMesh::cellCells(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), sampledSets::fieldGroup< Foam::SphericalTensor >::clear(), probes::clearFieldGroups(), edgeCollapser::collapseToEdge(), edgeCollapser::collapseToPoint(), hexRef8::consistentSlowRefinement(), autoSnapDriver::detectWarpedFaces(), triSurfaceTools::doRefine(), autoSnapDriver::doSnap(), primitiveMesh::edgeCells(), primitiveMesh::edgeFaces(), primitiveMesh::faceEdges(), autoSnapDriver::featureAttractionUsingReconstruction(), triSurfaceSearch::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), isoSurface::generateTriPoints(), polyTopoChange::getCellOrder(), autoLayerDriver::getVertexString(), PointEdgeWave< Type, TrackingData >::handleCyclicPatches(), PointEdgeWave< Type, TrackingData >::handleProcPatches(), indexedOctree< Foam::treeDataFace >::indexedOctree(), ParticleCollector< CloudType >::initConcentricCircles(), polyMeshAdder::insertVertices(), hexRef8::matchHexShape(), primitiveMesh::pointCells(), primitiveMesh::pointPoints(), faceAreaWeightAMI< SourcePatch, TargetPatch >::processSourceFace(), STARCDsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), STARCDCore::readPoints(), OBJedgeFormat::readVertices(), faceAreaWeightAMI< SourcePatch, TargetPatch >::restartUncoveredSourceFace(), extendedUpwindCellToFaceStencil::selectOppositeFaces(), Reaction::setLRhs(), boundaryCutter::setRefinement(), searchableSurfacesQueries::signedDistance(), procFacesGAMGProcAgglomeration::singleCellMesh(), PatchTools::sortedPointEdges(), autoSnapDriver::splitDiagonals(), polyDualMesh::splitFace(), patchInjectionBase::updateMesh(), cuttingPlane::walkCell(), and PairCollision< CloudType >::wallInteraction().
|
inline |
Clear the list and delete storage.
Definition at line 249 of file DynamicListI.H.
Referenced by isoSurfaceCell::collapseSurface(), domainDecomposition::decomposeMesh(), NASedgeFormat::read(), NASsurfaceFormat< Face >::read(), and List< substance >::transfer().
|
inline |
Shrink the allocated space to the number of elements used.
Returns a reference to the DynamicList.
Definition at line 258 of file DynamicListI.H.
Referenced by chemkinReader::addReaction(), chemkinReader::addReactionType(), cellCuts::calcAnchors(), enrichedPatch::calcCutFaces(), polyDualMesh::calcDual(), primitiveMesh::calcEdges(), globalMeshData::calcGlobalPointBoundaryCells(), distributedTriSurfaceMesh::calcLocalQueries(), thresholdCellFaces::calculate(), refinementHistory::clone(), polyDualMesh::collectPatchSideFace(), polyMeshAdder::combinePatches(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), localPointRegion::countPointRegions(), AABBTree::createBoxes(), geomCellLooper::cut(), determineCoupledFaces(), refinementHistory::distribute(), distributedTriSurfaceMesh::distributeSegments(), autoLayerDriver::doLayers(), triSurfaceTools::doRefine(), faceCollapser::filterFace(), filterPatches(), localPointRegion::findDuplicateFacePairs(), meshRefinement::findEdgeConnectedProblemCells(), meshRefinement::freeStandingBaffleFaces(), isoSurfaceCell::generateTriPoints(), isoSurface::generateTriPoints(), cloudSet::genSamples(), triSurfaceMeshPointSet::genSamples(), patchCloudSet::genSamples(), arraySet::genSamples(), patchSeedSet::genSamples(), polyLineSet::genSamples(), circleSet::genSamples(), faceOnlySet::genSamples(), uniformSet::genSamples(), removeCells::getExposedFaces(), combineFaces::getMergeSets(), boundaryMesh::getNearest(), router::getRoute(), getSelectedPatches(), undoableMeshCutter::getSplitFaces(), triSurfaceTools::greenRefine(), indexedOctree< Foam::treeDataFace >::indexedOctree(), intersectedSurface::intersectedSurface(), meshSearch::intersections(), isoSurfaceCell::isoSurfaceCell(), main(), immersedBoundaryFvPatch::makeIbFaces(), meshRefinement::markInternalGapRefinement(), meshRefinement::markSmallFeatureRefinement(), meshRefinement::markSurfaceGapRefinement(), faceCoupleInfo::matchEdgeFaces(), polyMeshAdder::mergeCellZones(), polyMeshAdder::mergeFaceZones(), meshRefinement::mergePatchFacesUndo(), polyMeshAdder::mergePatchNames(), polyMeshAdder::mergePointZones(), ProcessorTopology< Container, ProcPatch >::ProcessorTopology(), NASedgeFormat::read(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), triSurface::readAC(), triSurface::readNAS(), triSurface::readOBJ(), triSurface::readOFF(), searchableSurfaceCollection::regions(), surfaceFeatures::selectFeatureEdges(), dynamicRefineFvMesh::selectRefineCells(), dynamicRefineFvMesh::selectUnrefinePoints(), smoothDelta::setChangedFaces(), faceCoupleInfo::setCutEdgeToPoints(), cellCuts::setFromCellCutter(), Reaction::setLRhs(), faceCollapser::setRefinement(), boundaryCutter::setRefinement(), potential::setSiteIdList(), Foam::fvc::smooth(), polyDualMesh::splitFace(), intersectedSurface::splitFace(), meshRefinement::splitMesh(), meshRefinement::splitMeshRegions(), Foam::fvc::spread(), Foam::fvc::sweep(), List< substance >::transfer(), faceShading::triangulate(), faceHeatShading::triangulate(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), streamLineBase::trimToBox(), medialAxisMeshMover::update(), externalDisplacementMeshMover::updateMesh(), vtkTools::write(), and writeFuns::write().
Transfer contents of the argument List into this.
Referenced by indexedOctree< Foam::treeDataFace >::divide(), main(), OBJsurfaceFormat< Face >::read(), dynamicIndexedOctree::removeIndex(), polyTopoChange::reorder(), faceAreaWeightAMI< SourcePatch, TargetPatch >::restartUncoveredSourceFace(), and patchInjectionBase::updateMesh().
|
inline |
Transfer contents of the argument DynamicList into this.
|
inline |
Transfer contents to the Xfer container as a plain List.
Definition at line 301 of file DynamicListI.H.
Referenced by hexRef8::cellShapes(), fileName::components(), autoSnapDriver::doSnap(), extractSurface(), InteractionLists< typename CloudType::parcelType >::findExtendedProcBbsInRange(), main(), immersedBoundaryFvPatch::makeIbFaces(), epsilonWallFunctionFvPatchScalarField::manipulateMatrix(), omegaWallFunctionFvPatchScalarField::manipulateMatrix(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), VTKsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), and dictionary::tokens().
|
inline |
Append an element at the end of the list.
Referenced by extendedEdgeMesh::add(), boundaryCutter::addEdgeCutsToFace(), domainDecomposition::addInterProcFace(), autoLayerDriver::addLayers(), cellZoneSet::addSet(), pointZoneSet::addSet(), faceZoneSet::addSet(), globalPoints::addToSend(), singleCellFvMesh::agglomerateMesh(), extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::allNearestFeaturePoints(), meshToMeshMethod::appendNbrCells(), AMIMethod< SourcePatch, TargetPatch >::appendNbrFaces(), directAMI< SourcePatch, TargetPatch >::appendToDirectSeeds(), directMethod::appendToDirectSeeds(), averageCondition::apply(), searchableSurfaceToFaceZone::applyToSet(), setToCellZone::applyToSet(), faceZoneToFaceZone::applyToSet(), setToPointZone::applyToSet(), setToFaceZone::applyToSet(), normalToFace::applyToSet(), setAndNormalToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), extendedEdgeMesh::autoMap(), Foam::bandCompression(), InteractionLists< typename CloudType::parcelType >::buildInteractionLists(), faceAreaWeightAMI< SourcePatch, TargetPatch >::calcAddressing(), cellCuts::calcAnchors(), primitiveMesh::calcCellEdges(), CFCFaceToCellStencil::calcCellStencil(), enrichedPatch::calcCutFaces(), polyDualMesh::calcDual(), primitiveMesh::calcEdges(), enrichedPatch::calcEnrichedFaces(), surfaceFeatures::calcFeatPoints(), polyDualMesh::calcFeatures(), globalMeshData::calcGlobalEdgeSlaves(), globalMeshData::calcGlobalPointBoundaryCells(), distributedTriSurfaceMesh::calcLocalQueries(), mappedPatchBase::calcMapping(), autoSnapDriver::calcNearestFace(), intersectedSurface::calcPointEdgeAddressing(), enrichedPatch::calcPointPoints(), createShellMesh::calcPointRegions(), cloudSet::calcSamples(), triSurfaceMeshPointSet::calcSamples(), patchCloudSet::calcSamples(), arraySet::calcSamples(), patchSeedSet::calcSamples(), polyLineSet::calcSamples(), circleSet::calcSamples(), faceOnlySet::calcSamples(), uniformSet::calcSamples(), globalMeshData::calcSharedEdges(), isoSurfaceCell::calcSnappedCc(), isoSurface::calcSnappedCc(), isoSurfaceCell::calcSnappedPoint(), isoSurface::calcSnappedPoint(), cellFeatures::calcSuperFaces(), thresholdCellFaces::calculate(), faceHeatShading::calculate(), faceShading::calculate(), mapNearestAMI< SourcePatch, TargetPatch >::calculate(), viewFactor::calculate(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), mapNearestMethod::calculateAddressing(), primitiveMesh::cellCells(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), polyMesh::cellShapePointCells(), polyMeshTetDecomposition::cellTetIndices(), displacementLayeredMotionMotionSolver::cellZoneSolve(), changeFrontBackPatches(), edgeCollapser::checkBadFaces(), attachDetach::checkDefinition(), checkFlatRegionEdge(), surfaceIntersection::classifyHit(), refinementHistory::clone(), edgeCollapser::collapseToEdge(), edgeCollapser::collapseToPoint(), collectLibsCallback(), polyDualMesh::collectPatchInternalFace(), polyDualMesh::collectPatchSideFace(), UPstream::collectReceives(), polyMeshAdder::combinePatches(), removeFaces::compatibleRemoves(), fileName::components(), meshRefinement::consistentOrientation(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), meshToMesh::constructFromCuttingPatches(), meshToMesh::constructNoCuttingPatches(), patchPatchDist::correct(), localPointRegion::countPointRegions(), slidingInterface::coupleInterface(), epsilonWallFunctionFvPatchScalarField::createAveragingWeights(), omegaWallFunctionFvPatchScalarField::createAveragingWeights(), conformalVoronoiMesh::createBafflePointPair(), AABBTree::createBoxes(), conformalVoronoiMesh::createPointPair(), createReconstructMap(), curvatureSeparation::curvatureSeparation(), geomCellLooper::cut(), extendedEdgeMesh::cut(), cyclicACMIGAMGInterface::cyclicACMIGAMGInterface(), cyclicAMIGAMGInterface::cyclicAMIGAMGInterface(), cyclicGAMGInterface::cyclicGAMGInterface(), slidingInterface::decoupleInterface(), cellZoneSet::deleteSet(), pointZoneSet::deleteSet(), faceZoneSet::deleteSet(), autoSnapDriver::detectWarpedFaces(), determineCoupledFaces(), refinementHistory::distribute(), meshToMesh::distributeCells(), distributedTriSurfaceMesh::distributeSegment(), indexedOctree< Foam::treeDataFace >::divide(), dynamicIndexedOctree::divide(), surfaceIntersection::doCutEdges(), autoLayerDriver::doLayers(), triSurfaceTools::doRefine(), autoSnapDriver::doSnap(), conformalVoronoiMesh::dualFaceBoundaryPoints(), polyDualMesh::dualPatch(), extendedEdgeMesh::edgeBaffles(), primitiveMesh::edgeCells(), primitiveMesh::edgeFaces(), edgeSurface::edgeSurface(), runTimeControl::execute(), valueAverage::execute(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), extractSurface(), primitiveMesh::faceEdges(), combineFaces::faceNeighboursValid(), FacePostProcessing< CloudType >::FacePostProcessing(), autoSnapDriver::featureAttractionUsingReconstruction(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::filmModel(), faceCollapser::filterFace(), parLagrangianRedistributor::filterObjects(), filterPatches(), localPointRegion::findDuplicateFacePairs(), meshRefinement::findEdgeConnectedProblemCells(), InteractionLists< typename CloudType::parcelType >::findExtendedProcBbsInRange(), refinementSurfaces::findHigherLevel(), polyBoundaryMesh::findIndices(), triSurfaceSearch::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), mapNearestMethod::findMappedSrcCell(), mapNearestAMI< SourcePatch, TargetPatch >::findMappedSrcFace(), meshRefinement::findNearest(), mapNearestMethod::findNearestCell(), mapNearestAMI< SourcePatch, TargetPatch >::findNearestFace(), refinementHistory::freeSplitCell(), meshRefinement::freeStandingBaffleFaces(), UPstream::freeTag(), isoSurface::generateFaceTriPoints(), isoSurfaceCell::generateTriPoints(), isoSurfaceCell::genPointTris(), polyTopoChange::getCellOrder(), primitiveMesh::getEdge(), removeCells::getExposedFaces(), externalDisplacementMeshMover::getFixedValueBCs(), combineFaces::getMergeSets(), boundaryMesh::getNearest(), getPatchIds(), router::getRoute(), getSelectedPatches(), undoableMeshCutter::getSplitFaces(), autoLayerDriver::getVertexString(), meshRefinement::getZones(), triSurfaceTools::greenRefine(), PointEdgeWave< Type, TrackingData >::handleCyclicPatches(), FaceCellWave< Type, int >::handleExplicitConnections(), PointEdgeWave< Type, TrackingData >::handleProcPatches(), indexedOctree< Foam::treeDataFace >::indexedOctree(), ParticleCollector< CloudType >::initConcentricCircles(), regionModel1D::initialise(), regionModel::initialise(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), vtkTools::insert(), writeFuns::insert(), hexRef8::insertEdgeSplit(), polyMeshAdder::insertVertices(), cuttingPlane::intersectEdges(), intersectedSurface::intersectedSurface(), meshSearch::intersections(), main(), immersedBoundaryFvPatch::makeIbFaces(), epsilonWallFunctionFvPatchScalarField::manipulateMatrix(), omegaWallFunctionFvPatchScalarField::manipulateMatrix(), boundaryMesh::markEdges(), meshRefinement::markInternalGapRefinement(), meshRefinement::markPatchZones(), meshRefinement::markSmallFeatureRefinement(), refinementHistory::markSplit(), meshRefinement::markSurfaceGapRefinement(), regionToFace::markZone(), momentOfInertia::massPropertiesPatch(), faceCoupleInfo::matchEdgeFaces(), polyBoundaryMesh::matchGroups(), hexRef8::matchHexShape(), faceCoupleInfo::matchPointsThroughFaces(), Foam::mergeAndWrite(), polyMeshAdder::mergeCellZones(), removeFaces::mergeFaces(), polyMeshAdder::mergeFaceZones(), meshRefinement::mergePatchFacesUndo(), polyMeshAdder::mergePatchNames(), polyMeshAdder::mergePointZones(), meshRefinement::mergeZoneBaffles(), meshRefinement::meshedPatches(), multiSolidBodyMotionFvMesh::multiSolidBodyMotionFvMesh(), fvMeshTools::newMesh(), functionObjectState::objectResultEntries(), csvTableReader< Type >::operator()(), polyMeshAdder::patchIndex(), patchInteractionDataList::patchInteractionDataList(), patchWriter::patchWriter(), primitiveMesh::pointCells(), primitiveMesh::pointPoints(), processorGAMGInterface::processorGAMGInterface(), conformalVoronoiMesh::processorsAttached(), ProcessorTopology< Container, ProcPatch >::ProcessorTopology(), faceAreaWeightAMI< SourcePatch, TargetPatch >::processSourceFace(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::pyrModel(), TRIsurfaceFormatCore::read(), NASedgeFormat::read(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OBJedgeFormat::read(), VTKsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), AC3DsurfaceFormat< Face >::read(), CSV::read(), STARCDsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), triSurface::readAC(), STLsurfaceFormatCore::readBINARY(), triSurface::readNAS(), triSurface::readOBJ(), triSurface::readOFF(), STARCDCore::readPoints(), OBJedgeFormat::readVertices(), regionCoupledBaseGAMGInterface::regionCoupledBaseGAMGInterface(), searchableSurfaceCollection::regions(), edgeMesh::regions(), moleculeCloud::removeHighEnergyOverlaps(), dynamicIndexedOctree::removeIndex(), dynamicCode::resolveTemplates(), directAMI< SourcePatch, TargetPatch >::restartAdvancingFront(), faceAreaWeightAMI< SourcePatch, TargetPatch >::restartUncoveredSourceFace(), autoSnapDriver::reverseAttractMeshPoints(), scalarRanges::scalarRanges(), surfaceFeatures::selectFeatureEdges(), extendedUpwindCellToFaceStencil::selectOppositeFaces(), dynamicRefineFvMesh::selectRefineCells(), dynamicRefineFvMesh::selectUnrefinePoints(), smoothDelta::setChangedFaces(), faceCoupleInfo::setCutEdgeToPoints(), faceSource::setFaceZoneFaces(), boundaryMesh::setFeatureEdges(), cellCuts::setFromCellCutter(), Reaction::setLRhs(), CellZoneInjection< CloudType >::setPositions(), faceCollapser::setRefinement(), boundaryCutter::setRefinement(), createShellMesh::setRefinement(), hexRef8::setRefinement(), potential::setSiteIdList(), searchableSurfacesQueries::signedDistance(), procFacesGAMGProcAgglomeration::singleCellMesh(), Foam::fvc::smooth(), solidBodyMotionFvMesh::solidBodyMotionFvMesh(), PatchTools::sortedPointEdges(), extendedEdgeMesh::sortPointsAndEdges(), autoSnapDriver::splitDiagonals(), boundaryCutter::splitFace(), polyDualMesh::splitFace(), intersectedSurface::splitFace(), meshRefinement::splitFacesUndo(), meshRefinement::splitMesh(), meshRefinement::splitMeshRegions(), Foam::fvc::spread(), isoSurfaceCell::stitchTriPoints(), isoSurface::stitchTriPoints(), surfaceIntersection::storeIntersection(), hexRef8::storeMidPointInfo(), streamLineBase::storePoint(), router::storeRoute(), cellZoneSet::subset(), pointZoneSet::subset(), faceZoneSet::subset(), meshRefinement::subsetBaffles(), surfaceFeatures::surfaceFeatures(), surfaceIntersection::surfaceIntersection(), surfaceMeshWriter::surfaceMeshWriter(), Foam::fvc::sweep(), edgeCollapser::syncCollapse(), createShellMesh::syncEdges(), dictionary::tokens(), polyLineSet::trackToBoundary(), faceOnlySet::trackToBoundary(), uniformSet::trackToBoundary(), faceAreaIntersect::triangleFan(), faceHeatShading::triangulate(), faceShading::triangulate(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), streamLineBase::trimToBox(), isoSurface::trimToBox(), isoSurface::trimToPlanes(), uniformInterpolatedDisplacementPointPatchVectorField::uniformInterpolatedDisplacementPointPatchVectorField(), refinementParameters::unzonedLocations(), medialAxisMeshMover::update(), CollisionRecordList< vector, vector >::update(), patchInjectionBase::updateMesh(), externalDisplacementMeshMover::updateMesh(), probes::updateMesh(), cuttingPlane::walkCell(), cuttingPlane::walkCellCuts(), hexRef8::walkFaceFromMid(), hexRef8::walkFaceToMid(), topoCellLooper::walkSplitHex(), PairCollision< CloudType >::wallInteraction(), wallLayerCells::wallLayerCells(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), writeRegisteredObject::write(), writeEdgesToVTK(), writeFacetsToVTK(), fieldValueDelta::writeFileHeader(), externalCoupledFunctionObject::writeGeometry(), refinementParameters::zonedLocations(), and polyMeshAdder::zoneIndex().
|
inline |
Append a List at the end of this list.
|
inline |
Append a UIndirectList at the end of this list.
|
inline |
Remove and return the top element.
Definition at line 365 of file DynamicListI.H.
Referenced by refinementHistory::allocateSplitCell(), UPstream::allocateTag(), directAMI< SourcePatch, TargetPatch >::appendToDirectSeeds(), directMethod::appendToDirectSeeds(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), mapNearestMethod::findMappedSrcCell(), mapNearestAMI< SourcePatch, TargetPatch >::findMappedSrcFace(), mapNearestMethod::findNearestCell(), mapNearestAMI< SourcePatch, TargetPatch >::findNearestFace(), regionModel1D::initialise(), faceAreaWeightAMI< SourcePatch, TargetPatch >::processSourceFace(), and Reaction::setLRhs().
Return non-const access to an element, resizing list if.
necessary
Definition at line 387 of file DynamicListI.H.
|
inline |
Assignment from DynamicList.
|
inline |
Assignment from UIndirectList.
Declare friendship with the List class.
Definition at line 95 of file DynamicList.H.
|
friend |
|
friend |
Read from Istream, discarding contents of existing DynamicList.
|
private |
The capacity (allocated size) of the underlying list.
Definition at line 87 of file DynamicList.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.