Public Member Functions | Private Member Functions | Private Attributes | Friends
DynamicList Class Reference

A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects. More...

Inheritance diagram for DynamicList:
Inheritance graph
[legend]

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...
 
Toperator() (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...
 
Ostreamoperator (Ostream &, const DynamicList< T, SizeInc, SizeMult, SizeDiv > &)
 
Istreamoperator>> (Istream &, DynamicList< T, SizeInc, SizeMult, SizeDiv > &)
 Read from Istream, discarding contents of existing DynamicList. More...
 

Detailed Description

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).

Source files

Definition at line 56 of file DynamicList.H.

Constructor & Destructor Documentation

◆ DynamicList() [1/7]

DynamicList ( )
inline

Construct null.

Definition at line 29 of file DynamicListI.H.

◆ DynamicList() [2/7]

DynamicList ( const  label)
inlineexplicit

Construct given size.

◆ DynamicList() [3/7]

DynamicList ( const DynamicList< T, SizeInc, SizeMult, SizeDiv > &  )
inline

Construct copy.

◆ DynamicList() [4/7]

DynamicList ( const UList< T > &  )
inlineexplicit

Construct from UList. Size set to UList size.

Also constructs from DynamicList with different sizing parameters.

◆ DynamicList() [5/7]

DynamicList ( const UIndirectList< T > &  )
inlineexplicit

Construct from UIndirectList. Size set to UIndirectList size.

◆ DynamicList() [6/7]

DynamicList ( const Xfer< List< T > > &  )
inlineexplicit

Construct by transferring the parameter contents.

◆ DynamicList() [7/7]

DynamicList ( Istream )
explicit

Construct from Istream. Size set to size of list read.

Member Function Documentation

◆ StaticAssert()

StaticAssert ( (SizeInc||SizeMult) &&  SizeDiv)
private

Avoid invalid sizing parameters.

◆ capacity()

Foam::label capacity ( ) const
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().

Here is the caller graph for this function:

◆ setCapacity()

void setCapacity ( const label  nElem)
inline

◆ setSize() [1/2]

void setSize ( const  label)
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().

Here is the caller graph for this function:

◆ setSize() [2/2]

void setSize ( const  label,
const T  
)
inline

Alter the addressed list size and fill new space with a.

constant.

◆ resize() [1/2]

void resize ( const  label)
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).

◆ resize() [2/2]

void resize ( const  label,
const T  
)
inline

Alter the addressed list size and fill new space with a.

constant.

◆ reserve()

void reserve ( const label  nElem)
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().

Here is the caller graph for this function:

◆ clear()

void clear ( )
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().

◆ clearStorage()

void clearStorage ( )
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().

Here is the caller graph for this function:

◆ shrink()

Foam::DynamicList< T, SizeInc, SizeMult, SizeDiv > & shrink ( )
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() [1/2]

void transfer ( List< T > &  )
inline

◆ transfer() [2/2]

void transfer ( DynamicList< T, SizeInc, SizeMult, SizeDiv > &  )
inline

Transfer contents of the argument DynamicList into this.

◆ xfer()

Foam::Xfer< Foam::List< T > > xfer ( )
inline

◆ append() [1/3]

DynamicList<T, SizeInc, SizeMult, SizeDiv>& append ( const T )
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().

◆ append() [2/3]

DynamicList<T, SizeInc, SizeMult, SizeDiv>& append ( const UList< T > &  )
inline

Append a List at the end of this list.

◆ append() [3/3]

DynamicList<T, SizeInc, SizeMult, SizeDiv>& append ( const UIndirectList< T > &  )
inline

Append a UIndirectList at the end of this list.

◆ remove()

T remove ( )
inline

◆ operator()()

T & operator() ( const label  elemI)
inline

Return non-const access to an element, resizing list if.

necessary

Definition at line 387 of file DynamicListI.H.

◆ operator=() [1/4]

void operator= ( const T )
inline

Assignment of all addressed entries to the given value.

◆ operator=() [2/4]

void operator= ( const DynamicList< T, SizeInc, SizeMult, SizeDiv > &  )
inline

Assignment from DynamicList.

◆ operator=() [3/4]

void operator= ( const UList< T > &  )
inline

Assignment from UList.

◆ operator=() [4/4]

void operator= ( const UIndirectList< T > &  )
inline

Assignment from UIndirectList.

Friends And Related Function Documentation

◆ List< T >

friend class List< T >
friend

Declare friendship with the List class.

Definition at line 95 of file DynamicList.H.

◆ operator

Ostream& operator ( Ostream ,
const DynamicList< T, SizeInc, SizeMult, SizeDiv > &   
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
DynamicList< T, SizeInc, SizeMult, SizeDiv > &   
)
friend

Read from Istream, discarding contents of existing DynamicList.

Field Documentation

◆ capacity_

label capacity_
private

The capacity (allocated size) of the underlying list.

Definition at line 87 of file DynamicList.H.


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