A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bounds checking, etc. More...
Inherited by BinSum< IndexType, List, CombineOp >, cell, cellToFaceStencil, faceTriangulation, faPatch, IOList< T >, ITstream, PDRblock::gridControl, polynomialFunction [private]
, ProcessorTopology< Container, ProcPatch >, pTraits< List< T > >, and surfZoneIOList.
Public Types | |
typedef SubList< T > | subList |
Declare type of subList. More... | |
Public Member Functions | |
constexpr | List () noexcept |
Default construct. More... | |
List (const label len) | |
Construct with given size. More... | |
List (const label len, const T &val) | |
Construct with given size and value for all elements. More... | |
List (const label len, const Foam::zero) | |
Construct with given size initializing all elements to zero. More... | |
List (const Foam::one, const T &val) | |
Construct with length=1, copying the value as the only content. More... | |
List (const Foam::one, T &&val) | |
Construct with length=1, moving the value as the only content. More... | |
List (const Foam::one, const Foam::zero) | |
Construct with length=1, initializing content to zero. More... | |
List (const List< T > &a) | |
Copy construct from list. More... | |
List (const UList< T > &a) | |
Copy construct contents from list. More... | |
List (List< T > &a, bool reuse) | |
Construct as copy or re-use as specified. More... | |
List (const UList< T > &list, const labelUList &indices) | |
Copy construct subset of list. More... | |
template<unsigned N> | |
List (const UList< T > &list, const FixedList< label, N > &indices) | |
Copy construct subset of list. More... | |
template<unsigned N> | |
List (const FixedList< T, N > &list) | |
Construct as copy of FixedList<T, N> More... | |
List (const PtrList< T > &list) | |
Construct as copy of PtrList<T> More... | |
List (const SLList< T > &list) | |
Construct as copy of SLList<T> More... | |
template<class Addr > | |
List (const IndirectListBase< T, Addr > &list) | |
Construct as copy of IndirectList contents. More... | |
List (std::initializer_list< T > list) | |
Construct from an initializer list. More... | |
List (List< T > &&list) | |
Move construct from List. More... | |
template<int SizeMin> | |
List (DynamicList< T, SizeMin > &&list) | |
Move construct from DynamicList. More... | |
List (SortableList< T > &&list) | |
Move construct from SortableList. More... | |
List (SLList< T > &&list) | |
Move construct from SLList. More... | |
List (Istream &is) | |
Construct from Istream. More... | |
autoPtr< List< T > > | clone () const |
Clone. More... | |
~List () | |
Destructor. More... | |
void | clear () |
Clear the list, i.e. set size to zero. More... | |
void | resize (const label len) |
Adjust allocated size of list. More... | |
void | resize (const label len, const T &val) |
Adjust allocated size of list and set val for new elements. More... | |
void | resize_nocopy (const label len) |
Adjust allocated size of list without necessarily. More... | |
void | setSize (const label n) |
Alias for resize() More... | |
void | setSize (const label n, const T &val) |
Alias for resize() More... | |
void | append (const T &val) |
Append an element at the end of the list. More... | |
void | append (T &&val) |
Move append an element at the end of the list. More... | |
void | append (const UList< T > &list) |
Append a List to the end of this list. More... | |
template<class Addr > | |
void | append (const IndirectListBase< T, Addr > &list) |
Append IndirectList contents at the end of this list. More... | |
label | appendUniq (const T &val) |
Append an element if not already in the list. More... | |
void | transfer (List< T > &list) |
template<int SizeMin> | |
void | transfer (DynamicList< T, SizeMin > &list) |
void | transfer (SortableList< T > &list) |
T & | newElmt (const label i) |
void | operator= (const UList< T > &a) |
Assignment to UList operator. Takes linear time. More... | |
void | operator= (const List< T > &list) |
Assignment operator. Takes linear time. More... | |
void | operator= (const SLList< T > &list) |
Assignment to SLList operator. Takes linear time. More... | |
template<class Addr > | |
void | operator= (const IndirectListBase< T, Addr > &list) |
Assignment from IndirectList. Takes linear time. More... | |
template<unsigned N> | |
void | operator= (const FixedList< T, N > &list) |
Copy assignment from FixedList. More... | |
void | operator= (std::initializer_list< T > list) |
Assignment to an initializer list. More... | |
void | operator= (const T &val) |
Assignment of all entries to the given value. More... | |
void | operator= (const Foam::zero) |
Assignment of all entries to zero. More... | |
void | operator= (List< T > &&list) |
Move assignment. Takes constant time. More... | |
template<int SizeMin> | |
void | operator= (DynamicList< T, SizeMin > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (SortableList< T > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (SLList< T > &&list) |
Move assignment. Takes constant time. More... | |
Istream & | readList (Istream &is) |
Read List from Istream, discarding contents of existing List. More... | |
void | shallowCopy (const UList< T > &)=delete |
No shallowCopy permitted. More... | |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | set (const label i, bool val=true) |
A bitSet::set() method for a list of bool. More... | |
template<> | |
Istream & | readList (Istream &is) |
template<> | |
void | resize (const label newLen) |
template<> | |
Istream & | readList (Istream &is) |
Static Public Member Functions | |
static const List< T > & | null () |
Return a null List. More... | |
Friends | |
Istream & | operator>> (Istream &is, List< T > &list) |
Use the readList() method to read contents from Istream. More... | |
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bounds checking, etc.
|
inlineconstexprnoexcept |
List | ( | const label | len, |
const Foam::zero | |||
) |
List | ( | const Foam::one | , |
const Foam::zero | |||
) |
List | ( | const UList< T > & | list, |
const labelUList< T > & | indices | ||
) |
|
explicit |
Construct as copy of IndirectList contents.
List | ( | DynamicList< T, SizeMin > && | list | ) |
Move construct from DynamicList.
List | ( | SortableList< T > && | list | ) |
Move construct from SortableList.
|
inlinestatic |
Return a null List.
Definition at line 109 of file ListI.H.
Referenced by volRegion::cellIDs(), meshedSurfRef::clear(), meshedSurf::faceIds(), meshedSurf::emptySurface::faces(), faEdgeMapper::insertedObjectLabels(), ensightCells::uniqueMeshPoints(), lumpedPointMovement::writeVTP(), lumpedPointMovement::writeZonesVTP(), sampledNone::zoneIds(), sampledInterface::zoneIds(), sampledFaceZone::zoneIds(), sampledThresholdCellFaces::zoneIds(), sampledPatch::zoneIds(), sampledDistanceSurface::zoneIds(), sampledCuttingPlane::zoneIds(), and sampledIsoSurface::zoneIds().
|
inline |
|
inline |
Clear the list, i.e. set size to zero.
Definition at line 116 of file ListI.H.
Referenced by polyMeshAdder::add(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), ensightPart::clear(), SortableList< T >::clear(), IListStreamAllocator::clearStorage(), PackedList< 2 >::clearStorage(), polySurface::copySurface(), surfMesh::copySurface(), removePoints::countPointUsage(), distanceSurface::createGeometry(), box::createMap(), meshRefinement::createZoneBaffles(), Foam::duplicateOrder(), Field< Foam::Vector2D >::Field(), refinementSurfaces::findAllIntersections(), probes::findElements(), searchablePlane::findLineAll(), searchablePlate::findLineAll(), searchableDisk::findLineAll(), searchableCylinder::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), searchableCone::findLineAll(), searchableSphere::findLineAll(), distributedTriSurfaceMesh::findLineAll(), triSurfaceMesh::isSurfaceClosed(), Cloud< passivePositionParticle >::move(), argList::parse(), Foam::parseStream(), RecycleInteraction< CloudType >::postEvolve(), STARCDsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), STLsurfaceFormat< Face >::read(), ensightWrite::read(), STARCDMeshReader::readCells(), Time::readDict(), List< vectorField >::readList(), boundaryMesh::readTriSurface(), surfMesh::removeZones(), decompositionMethod::setConstraints(), lumpedPointMovement::setInterpolator(), hexRef8::storeData(), PatchTools::subsetMap(), trackingInverseDistance::update(), cellVolumeWeight::update(), inverseDistance::update(), surfaceNoise::writeSurfaceData(), zoneToPoint::zones(), zoneToCell::zones(), and zoneToFace::zones().
|
inline |
Adjust allocated size of list.
The boolList version fills new memory with false.
Definition at line 139 of file ListI.H.
Referenced by preservePatches::add(), singleProcessorFaceSets::add(), geometric::add(), polyTopoChange::addMesh(), isoSurfaceBase::calcCellCuts(), polyLine::calcParam(), topoSetSource::check(), MeshedSurface< Foam::face >::checkFaces(), cellShape::collapsedFaces(), multiWorldConnections::comms(), faMeshDecomposition::decomposeMesh(), directions::directions(), Foam::duplicateOrder(), cell::edges(), Foam::etcDirs(), NASCore::faceDecomposition(), ABAQUSCore::faceDecomposition(), faceZone::faceZone(), searchableDisk::findLine(), searchableSphere::findLine(), searchableSphere::findLineAll(), searchableSphere::findLineAny(), namesList< solutionEntry >::findNames(), searchableDisk::findNearest(), searchableSphere::findNearest(), lumpedPointMovement::forcesAndMoments(), decomposedBlockData::gather(), decomposedBlockData::gatherSlaveData(), Foam::exprTools::getList(), searchableDisk::getRegion(), searchableSphere::getRegion(), searchableSphere::getVolumeType(), GAMGInterface::interfaceInternalField(), Foam::invertOneToMany(), isoSurfaceTopo::isoSurfaceTopo(), dictionary::keys(), UPstream::listGatherValues(), dlLibraryTable::loaded(), PatchTools::matchEdges(), wordRes::matching(), scalars::matching(), PatchTools::matchPoints(), globalIndex::mpiGather(), Foam::nonProcessorPatchNames(), polynomialFunction::operator+=(), polynomialFunction::operator-=(), Foam::operator>>(), argList::parse(), Foam::parseStream(), sampledPatch::patchIDs(), Foam::prependList(), Foam::printTable(), Foam::blockMeshTools::read(), ABAQUSsurfaceFormat< Face >::read(), pointNoise::read(), multiphaseMangrovesTurbulenceModel::read(), writeObjects::read(), surfaceNoise::read(), explicitPorositySource::read(), derivedFields::read(), areaWrite::read(), functionObjectList::read(), Foam::readBlock(), Foam::readDir(), List< vectorField >::readList(), functionEntry::readStringList(), isoAlpha::reconstruct(), searchableBox::regions(), searchableDisk::regions(), searchablePlate::regions(), searchableSphere::regions(), PackedList< 2 >::reserve(), SortList< T >::reset(), faMeshBoundaryHalo::reset(), option::resetApplied(), PDRblock::gridControl::resize(), SortList< T >::reverseSort(), Foam::BitOps::set(), List< vectorField >::set(), PackedList< 2 >::setCapacity(), fvMeshSubset::setCellSubset(), ZoneMesh< cellZone, polyMesh >::setGroup(), polyBoundaryMesh::setGroup(), lumpedPointMovement::setInterpolator(), edgeCollapser::setRefinement(), List< vectorField >::setSize(), PackedList< 2 >::shrink(), LUscalarMatrix::solve(), SortList< T >::sort(), basicThermo::splitThermoName(), MeshedSurface< Foam::face >::stitchFaces(), surfZoneIOList::surfZoneIOList(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::tocEntries(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::tocKeys(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::tocValues(), topoBoolSet::topoBoolSet(), faceAreaIntersect::triangulate(), hashedWordList::uniq(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::uniqBoundaryFaces(), Foam::uniqueOrder(), sampledFaceZone::update(), sampledPatch::update(), faMesh::updateMesh(), ensightFaces::write(), multiFieldValue::write(), decomposedBlockData::writeBlocks(), lumpedPointMovement::writeStateVTP(), zeroATCcells::zeroATCcells(), zoneToCell::zones(), zoneToPoint::zones(), zoneToFace::zones(), and faceZoneToCell::zones().
void resize | ( | const label | len, |
const T & | val | ||
) |
|
inline |
Adjust allocated size of list without necessarily.
retaining old content. If no reallocation is required, the contents remain untouched. Otherwise the contents will be uninitialized.
Definition at line 146 of file ListI.H.
Referenced by globalIndex::gather(), globalIndex::get(), globalIndex::mpiGather(), Foam::sortedOrder(), and Foam::ensightOutput::Detail::writeFieldContent().
|
inline |
Alias for resize()
Definition at line 222 of file List.H.
Referenced by preserveBaffles::add(), preserveFaceZones::add(), fvMeshAdder::add(), polyMeshAdder::add(), refinementHistory::add(), fvMeshPrimitiveLduAddressing::addAddressing(), cyclicAMIPolyPatch::addAMIFaces(), cellTable::addCellZones(), object::addData(), addPatchCellLayer::addedCells(), lduPrimitiveMesh::addInterfaces(), edgeSurface::addIntersectionEdges(), snappyLayerDriver::addLayers(), regIOobject::addWatch(), adjointSolverManager::adjointSolverManager(), AMIInterpolation::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), extendedEdgeMesh::allNearestFeatureEdges(), face::areaInContact(), sensitivitySurfacePoints::assembleSensitivities(), FreeStream< CloudType >::autoMap(), extendedEdgeMesh::autoMap(), meshRefinement::balance(), Bezier::Bezier(), bladeModel::bladeModel(), booleanSurface::booleanSurface(), nearWallFields::calcAddressing(), decompositionMethod::calcCellCells(), primitiveMesh::calcCells(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), CentredFitSnGradData< Polynomial >::calcFit(), FitData< CentredFitSnGradData< Polynomial >, extendedCentredCellToFaceStencil, Polynomial >::calcFit(), primitiveMesh::calcPointOrder(), createShellMesh::calcPointRegions(), waveMethod::calculate(), correctedCellVolumeWeightMethod::calculate(), surfaceNoise::calculate(), GAMGAgglomeration::calculateRegionMaster(), fvMotionSolver::cellMotionBoundaryTypes(), boundaryMesh::changeFaces(), extractEulerianParticles::checkFaceZone(), polyBoundaryMesh::checkParallelSync(), GAMGAgglomeration::checkRestriction(), refinementHistory::clone(), extendedCellToFaceStencil::collectData(), extendedFaceToCellStencil::collectData(), mappedPatchBase::collectSamples(), mapDistributeBase::compact(), GAMGAgglomeration::compactLevels(), removeFaces::compatibleRemoves(), NURBS3DVolume::computeParametricCoordinates(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), removePoints::countPointUsage(), cyclicPolyPatch::coupledPoints(), box::createLODMap(), meshRefinement::createZoneBaffles(), motionSmootherAlgo::curPoints(), hexCellLooper::cut(), geomCellLooper::cut(), simpleGeomDecomp::decompose(), faMeshDecomposition::decomposeMesh(), mapPatchChange::deletedPatches(), meshRefinement::directionalRefineCandidates(), fvMeshDistribute::distribute(), mapDistributeBase::distribute(), distributedTriSurfaceMesh::distribute(), Pstream::exchange(), mapDistributeBase::exchangeAddressing(), Pstream::exchangeSizes(), forceCoeffs::execute(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), primitiveMesh::faceEdges(), searchablePlateFeatures::features(), searchableSurfacesQueries::findAllIntersections(), refinementSurfaces::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), shellSurfaces::findDirectionalLevel(), patchProbes::findElements(), probes::findElements(), shellSurfaces::findHigherGapLevel(), refinementSurfaces::findHigherIntersection(), refinementSurfaces::findInside(), shellSurfaces::findLevel(), triSurfaceSearch::findLine(), searchablePlane::findLine(), searchablePlate::findLine(), searchableCylinder::findLine(), searchableSurfaceCollection::findLine(), searchableSurfaceWithGaps::findLine(), searchableRotatedBox::findLine(), searchableBox::findLine(), searchableCone::findLine(), triSurfaceSearch::findLineAll(), searchablePlane::findLineAll(), searchablePlate::findLineAll(), searchableDisk::findLineAll(), searchableCylinder::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), searchableCone::findLineAll(), distributedTriSurfaceMesh::findLineAll(), triSurfaceSearch::findLineAny(), searchableCylinder::findLineAny(), searchableRotatedBox::findLineAny(), searchableBox::findLineAny(), searchableCone::findLineAny(), mappedPatchBase::findLocalSamples(), searchableSurfacesQueries::findNearest(), triSurfaceRegionSearch::findNearest(), triSurfaceSearch::findNearest(), searchablePlane::findNearest(), searchableExtrudedCircle::findNearest(), searchablePlate::findNearest(), searchableCylinder::findNearest(), searchableRotatedBox::findNearest(), searchableBox::findNearest(), searchableCone::findNearest(), distributedTriSurfaceMesh::findNearest(), refinementFeatures::findNearestEdge(), searchableSurfacesQueries::findNearestIntersection(), refinementSurfaces::findNearestIntersection(), refinementFeatures::findNearestPoint(), refinementSurfaces::findNearestRegion(), refinementFeatures::findNearestRegionEdge(), searchableExtrudedCircle::findParametricNearest(), NURBS3DVolume::findPointsInBox(), meshRefinement::findRegions(), mappedPatchBase::findSamples(), polyMeshAdder::findSharedPoints(), FreeStream< CloudType >::FreeStream(), decomposedBlockData::gather(), externalCoupled::gatherAndCombine(), PatchTools::gatherAndMerge(), GAMGAgglomeration::gatherList(), decomposedBlockData::gatherSlaveData(), combineFaces::getMergeSets(), decompositionConstraint::getMinBoundaryValue(), boundaryMesh::getNTris(), weightedPosition::getPoints(), searchablePlane::getRegion(), searchableExtrudedCircle::getRegion(), searchablePlate::getRegion(), searchableCylinder::getRegion(), searchableSurfaceCollection::getRegion(), searchableRotatedBox::getRegion(), searchableBox::getRegion(), searchableCone::getRegion(), triSurfaceMesh::getRegion(), distributedTriSurfaceMesh::getRegion(), removePoints::getUnrefimentSet(), cellLooper::getVertEdgesNonFace(), triSurfaceTools::getVertexTriangles(), searchableCylinder::getVolumeType(), searchableBox::getVolumeType(), searchableCone::getVolumeType(), triSurfaceMesh::getVolumeType(), distributedTriSurfaceMesh::getVolumeType(), meshRefinement::getZoneFaces(), cellCellStencil::globalCellCells(), addPatchCellLayer::globalEdgeFaces(), triSurfaceTools::greenRefine(), Distribution< Type >::index(), dynamicMultiMotionSolverFvMesh::init(), calculatedProcessorFvPatchField< Type >::initEvaluate(), meshToMeshMethod::initialise(), InjectedParticleDistributionInjection< CloudType >::initialise(), surfaceNoise::initialise(), fluxSummary::initialiseSurfaceAndDirection(), linearInterpolationWeights::integrationWeights(), AMIInterpolation::interpolateToSource(), AMIInterpolation::interpolateToTarget(), intersectedSurface::intersectedSurface(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), lduPrimitiveMesh::lduPrimitiveMesh(), triSurfaceLoader::load(), distributedTriSurfaceMesh::localQueries(), voxelMeshSearch::makeMesh(), processorFaPatch::makeNonGlobalPatchPoints(), mappedPolyPatch::mapCollocatedFaces(), mappedWallPolyPatch::mapCollocatedFaces(), cyclicACMIPolyPatch::mapCollocatedFaces(), cyclicPolyPatch::mapCollocatedFaces(), mapDistribute::mapDistribute(), mapDistributeBase::mapDistributeBase(), trackingInverseDistance::markDonors(), inverseDistance::markDonors(), boundaryMesh::markFaces(), PatchTools::markZones(), triSurface::markZones(), Foam::matchPoints(), cellToFaceStencil::merge(), edgeIntersections::merge(), meshRefinement::mergeBaffles(), Foam::mergePoints(), globalMeshData::mergePoints(), extendedEdgeMesh::mergePointsAndSort(), fileOperation::mergeTimes(), engineValve::movingPatchIDs(), extendedEdgeMesh::nearestFeatureEdge(), extendedEdgeMesh::nearestFeatureEdgeByType(), surfaceFeatures::nearestSurfEdge(), cellCuts::nonAnchorPoints(), Distribution< Type >::normalised(), objectiveManager::objectiveManager(), UList< Foam::wordRe >::operator[](), oldCyclicPolyPatch::order(), processorPolyPatch::order(), cyclicPolyPatch::order(), cyclicAMIPolyPatch::order(), distributedTriSurfaceMesh::overlappingSurface(), ParticleCollector< CloudType >::ParticleCollector(), polyMeshAdder::patchFacePairs(), PatchParticleHistogram< CloudType >::PatchParticleHistogram(), SprayCloud< Foam::DSMCCloud >::penetration(), pointCells::pointCells(), pointFieldReconstructor::pointFieldReconstructor(), PatchTools::pointNormals(), Foam::polyMeshZipUpCells(), snappySnapDriver::preSmoothPatch(), Distribution< Type >::raw(), cloudSolution::read(), runTimeControl::read(), multiphaseMangrovesTurbulenceModel::read(), regIOobject::read(), STARCDMeshReader::readBoundary(), STARCDMeshReader::readCells(), FIREMeshReader::readFaces(), reader::readField(), masterUncollatedFileOperation::readHeader(), surfaceNoise::readSurfaceData(), boundaryMesh::readTriSurface(), meshRefinement::refineCandidates(), searchablePlane::regions(), searchableExtrudedCircle::regions(), searchableCylinder::regions(), searchableSurfaceCollection::regions(), searchableCone::regions(), triSurfaceMesh::regions(), edgeMesh::regions(), fvMeshTools::removeEmptyPatches(), mapDistributeBase::schedule(), searchableSurfaces::searchableSurfaces(), extendedEdgeMesh::select(), fvMeshSubset::setCellSubset(), decompositionMethod::setConstraints(), weightedPosition::setPoints(), box::setRefineFlags(), duplicatePoints::setRefinement(), refinementIterator::setRefinement(), removePoints::setRefinement(), boundaryCutter::setRefinement(), tetDecomposer::setRefinement(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), propellerInfo::setSampleDiskGeometry(), SortableListDRGEP< Type >::setSize(), SortableListEFA< Type >::setSize(), data::setSolverPerformance(), removePoints::setUnrefinement(), ParSortableList< Type >::sort(), extendedEdgeMesh::sortedOrder(), extendedEdgeMesh::sortPointsAndEdges(), meshRefinement::splitFacesUndo(), leastSquares::stencilWeights(), cellVolumeWeight::stencilWeights(), inverseDistance::stencilWeights(), streamLineParticle::streamLineParticle(), triSurfaceRegionSearch::treeByRegion(), boundaryMesh::triangulate(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), boundaryMesh::triangulateLocal(), advancingFrontAMI::triangulatePatch(), triSurface::triFaceFaces(), streamLineBase::trimToBox(), trackingInverseDistance::update(), inverseDistance::update(), dynamicOversetFvMesh::updateAddressing(), edgeVertex::updateLabels(), removePoints::updateMesh(), boundaryCutter::updateMesh(), faceZone::updateMesh(), addPatchCellLayer::updateMesh(), faMesh::updateMesh(), cellToFaceStencil::validBoundaryFaces(), cellToCellStencil::validBoundaryFaces(), splineInterpolationWeights::valueWeights(), linearInterpolationWeights::valueWeights(), volBSplinesBase::volBSplinesBase(), wallBoundedStreamLineParticle::wallBoundedStreamLineParticle(), and streamLineBase::writeToFile().
|
inline |
|
inline |
Append an element at the end of the list.
If this is frequently required, consider a DynamicList
Definition at line 175 of file ListI.H.
Referenced by singleProcessorFaceSets::add(), cellTable::addCellZones(), snappyLayerDriver::addLayers(), unwatchedIOdictionary::addWatch(), AMIInterpolation::agglomerate(), PDRblock::gridControl::append(), AMIInterpolation::append(), Foam::appendNamedEntry(), Foam::bandCompression(), createShellMesh::calcPointRegions(), waveMethod::calculate(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), GAMGAgglomeration::checkRestriction(), probes::classifyFields(), refinementHistory::clone(), commSchedule::commSchedule(), triSurface::compactPoints(), MeshedSurface< Foam::face >::compactPoints(), removeFaces::compatibleRemoves(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), box::createMap(), curvatureSeparation::curvatureSeparation(), faMeshDecomposition::decomposeMesh(), snappyLayerDriver::doLayers(), edgeSurface::edgeSurface(), faceCells::faceCells(), shellSurfaces::findDirectionalLevel(), localPointRegion::findDuplicateFacePairs(), Foam::findEtcEntries(), distributedTriSurfaceMesh::findNearest(), for(), removeCells::getExposedFaces(), MRFZoneList::getFromName(), meshRefinement::getZones(), triSurfaceTools::greenRefine(), InjectedParticleDistributionInjection< CloudType >::initialise(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), fluxSummary::initialiseSurface(), fluxSummary::initialiseSurfaceAndDirection(), triSurfaceLoader::load(), LuoSvendsen::LuoSvendsen(), trackingInverseDistance::markDonors(), inverseDistance::markDonors(), PatchTools::markZone(), triSurface::markZone(), blockMesh::mesh(), meshRefinement::meshedPatches(), findCellParticle::move(), UList< Foam::wordRe >::operator[](), boundaryMesh::patchify(), RecycleInteraction< CloudType >::postEvolve(), ensightSurfaceReader::readCase(), refinementParameters::refinementParameters(), edgeMesh::regions(), regionSplit2D::regionSplit2D(), timeSelector::select0(), edgeCollapser::setRefinement(), hexRef8::setRefinement(), masterUncollatedFileOperation::setTime(), faceZoneSet::subset(), meshRefinement::subsetBaffles(), faceZoneSet::sync(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), uniformInterpolatedDisplacementPointPatchVectorField::uniformInterpolatedDisplacementPointPatchVectorField(), dynamicOversetFvMesh::updateAddressing(), externalDisplacementMeshMover::updateMesh(), solverFieldSelection::updateSelection(), and particleDistribution::write().
|
inline |
Move append an element at the end of the list.
If this is frequently required, consider a DynamicList
Append a List to the end of this list.
If this is frequently required, consider a DynamicList
|
inline |
Append IndirectList contents at the end of this list.
If this is frequently required, consider a DynamicList
|
inline |
Append an element if not already in the list.
Definition at line 232 of file ListI.H.
Referenced by polyPatch::polyPatch().
Transfer the contents of the argument List into this list and annul the argument list
Definition at line 456 of file List.C.
Referenced by geometric::add(), extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::allNearestFeaturePoints(), faceZoneToFaceZone::applyToSet(), setToCellZone::applyToSet(), setToPointZone::applyToSet(), setAndNormalToFaceZone::applyToSet(), setToFaceZone::applyToSet(), searchableSurfaceToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), extendedEdgeMesh::autoMap(), PDRblock::blockMeshDict(), box::box(), polyDualMesh::calcFeatures(), createShellMesh::calcPointRegions(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), mapNearestMethod::calculateAddressing(), directMethod::calculateAddressing(), CECCellToFaceStencil::CECCellToFaceStencil(), CFCCellToFaceStencil::CFCCellToFaceStencil(), triSurface::compactPoints(), MeshedSurface< Foam::face >::compactPoints(), removeFaces::compatibleRemoves(), CPCCellToFaceStencil::CPCCellToFaceStencil(), distanceSurface::createGeometry(), inverseDistance::createStencil(), geomCellLooper::cut(), topoCellLooper::cut(), extendedEdgeMesh::cut(), cyclicACMIGAMGInterface::cyclicACMIGAMGInterface(), cyclicAMIGAMGInterface::cyclicAMIGAMGInterface(), fvMeshDistribute::distribute(), FECCellToFaceStencil::FECCellToFaceStencil(), triSurfaceSearch::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), distributedTriSurfaceMesh::findNearest(), PatchTools::gatherAndMerge(), InjectedParticleInjection< CloudType >::initialise(), InjectedParticleDistributionInjection< CloudType >::initialise(), objectivePtLosses::initialize(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), triSurfaceLoader::load(), voxelMeshSearch::makeMesh(), mapDistributeBase::mapDistributeBase(), PatchTools::markZone(), momentOfInertia::massPropertiesPatch(), polyBoundaryMesh::matchGroups(), cellToCellStencil::merge(), fileOperation::mergeTimes(), MeshedSurface< Foam::face >::MeshedSurface(), streamLineParticle::move(), wallBoundedStreamLineParticle::move(), properties::objectResultEntries(), SortableList< T >::operator=(), cellZone::operator=(), pointZone::operator=(), SortableList< T >::partialReverseSort(), SortableList< T >::partialSort(), OBJedgeFormat::read(), List< vectorField >::readList(), UList< Foam::wordRe >::readList(), STARCDCore::readPoints(), edgeMesh::regions(), cuttingSurfaceBase::remapFaces(), faceZone::resetAddressing(), SortableList< T >::reverseSort(), box::setRefineFlags(), hexRef8::setRefinement(), SortableListEFA< Type >::sort(), SortableListDRGEP< Type >::sort(), SortableList< T >::sort(), extendedEdgeMesh::sortPointsAndEdges(), SortableListEFA< Type >::stableSort(), SortableListDRGEP< Type >::stableSort(), PackedList< 2 >::transfer(), trackingInverseDistance::update(), inverseDistance::update(), topoBoolSet::updateLabels(), meshRefinement::updateList(), hexRef8Data::updateMesh(), boundaryCutter::updateMesh(), localPointRegion::updateMesh(), hexRef8::updateMesh(), meshRefinement::updateMesh(), solverFieldSelection::updateSelection(), volFieldSelection::updateSelection(), and fileFieldSelection::updateSelection().
void transfer | ( | DynamicList< T, SizeMin > & | list | ) |
void transfer | ( | SortableList< T > & | list | ) |
|
inline |
Return subscript-checked element of UList and resizing the list if required.
Definition at line 153 of file ListI.H.
Referenced by Foam::parseStream().
Assignment to UList operator. Takes linear time.
Definition at line 498 of file List.C.
Referenced by SortableListDRGEP< Type >::operator=(), SortableListEFA< Type >::operator=(), SortableList< T >::operator=(), cellZone::operator=(), pointZone::operator=(), cellClassification::operator=(), ITstream::operator=(), and faceZone::resetAddressing().
void operator= | ( | const IndirectListBase< T, Addr > & | list | ) |
Assignment from IndirectList. Takes linear time.
void operator= | ( | std::initializer_list< T > | list | ) |
|
inline |
|
inline |
void operator= | ( | DynamicList< T, SizeMin > && | list | ) |
void operator= | ( | SortableList< T > && | list | ) |
Foam::Istream & readList | ( | Istream & | is | ) |
Read List from Istream, discarding contents of existing List.
Definition at line 49 of file ListIO.C.
Referenced by Foam::operator>>(), and decomposedBlockData::readBlockEntry().
No shallowCopy permitted.
Referenced by ODESolver::resizeField().
|
inline |
A bitSet::set() method for a list of bool.
Increases size when setting an out-of-bounds value.
Definition at line 341 of file List.H.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), edgeCollapser::consistentCollapse(), hexRef8::consistentUnrefinement(), pointSet::distribute(), faceSet::distribute(), cellSet::distribute(), distanceSurface::filterPrepareRegionSplit(), distanceSurface::filterRegionProximity(), syncTools::getMasterEdges(), syncTools::getMasterPoints(), dynamicRefineFvMesh::init(), InjectedParticleDistributionInjection< CloudType >::initialise(), isoSurfacePoint::isoSurfacePoint(), GAMGAgglomeration::procAgglomerateLduAddressing(), boundaryMesh::readTriSurface(), sampledMeshedSurface::sampledMeshedSurface(), Foam::BitOps::set(), fvMatrix< Type >::setBounAndInterCoeffs(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::setEdgeInfo(), FaceCellWave< Type, TrackingData >::setFaceInfo(), lumpedPointMovement::setInterpolator(), hexRef8::setRefinement(), fieldSmoother::smoothNormals(), pointSet::sync(), faceSet::sync(), dynamicRefineFvMesh::update(), topoBoolSet::updateLabels(), cellVolumeWeight::walkFront(), and faMeshDecomposition::writeDecomposition().
Specialized list reading for character lists which always uses binary format.
Definition at line 49 of file charList.C.
Use the readList() method to read contents from Istream.