A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bounds checking, etc. More...
#include <OpenFOAM/List.H>
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bounds checking, etc.
Storage is allocated on free-store during construction.
Inherits UList< T >.
Inherited by Field< T >, cellToCellStencil, cellToFaceStencil, cellZone, DynamicList< T, SizeInc, SizeMult, SizeDiv >, face, faceTriangulation, IOList< T >, ITstream, patchZones, pointZone, receivingReferralList, regionSplit, SortableList< T >, surfacePatchIOList, and surfZoneIOList.
Public Types | |
typedef SubList< T > | subList |
Declare type of subList. | |
![]() | |
typedef T | value_type |
Type of values the UList contains. | |
typedef T & | reference |
Type that can be used for storing into. | |
typedef const T & | const_reference |
Type that can be used for storing into. | |
typedef label | difference_type |
The type that can represent the difference between any two. | |
typedef label | size_type |
The type that can represent the size of a UList. | |
typedef T * | iterator |
Random access iterator for traversing UList. | |
typedef const T * | const_iterator |
Random access iterator for traversing UList. | |
typedef T * | reverse_iterator |
Reverse iterator for reverse traversal of UList. | |
typedef const T * | const_reverse_iterator |
Reverse iterator for reverse traversal of constant UList. |
Public Member Functions | |
List () | |
Null constructor. | |
List (const label) | |
Construct with given size. | |
List (const label, const T &) | |
Construct with given size and value for all elements. | |
List (const List< T > &) | |
Copy constructor. | |
List (const Xfer< List< T > > &) | |
Construct by transferring the parameter contents. | |
List (List< T > &, bool reUse) | |
Construct as copy or re-use as specified. | |
List (const UList< T > &, const unallocLabelList &mapAddressing) | |
Construct as subset. | |
template<class InputIterator > | |
List (InputIterator first, InputIterator last) | |
Construct given start and end iterators. | |
template<unsigned Size> | |
List (const FixedList< T, Size > &) | |
Construct as copy of FixedList<T, Size> | |
List (const PtrList< T > &) | |
Construct as copy of PtrList<T> | |
List (const SLList< T > &) | |
Construct as copy of SLList<T> | |
List (const IndirectList< T > &) | |
Construct as copy of IndirectList<T> | |
List (const UIndirectList< T > &) | |
Construct as copy of UIndirectList<T> | |
List (const BiIndirectList< T > &) | |
Construct as copy of BiIndirectList<T> | |
List (Istream &) | |
Construct from Istream. | |
autoPtr< List< T > > | clone () const |
Clone. | |
~List () | |
label | size () const |
Return the number of elements in the UList. | |
void | resize (const label) |
Reset size of List. | |
void | resize (const label, const T &) |
Reset size of List and value for new elements. | |
void | setSize (const label) |
Reset size of List. | |
void | setSize (const label, const T &) |
Reset size of List and value for new elements. | |
void | clear () |
Clear the list, i.e. set size to zero. | |
void | append (const UList< T > &) |
Append a List at the end of this list. | |
void | append (const UIndirectList< T > &) |
Append a UIndirectList at the end of this list. | |
void | transfer (List< T > &) |
Transfer the contents of the argument List into this list. | |
template<unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv> | |
void | transfer (DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Transfer the contents of the argument List into this list. | |
void | transfer (SortableList< T > &) |
Transfer the contents of the argument List into this list. | |
Xfer< List< T > > | xfer () |
Transfer contents to the Xfer container. | |
T & | newElmt (const label) |
Return subscript-checked element of UList. | |
void | operator= (const UList< T > &) |
Assignment from UList operator. Takes linear time. | |
void | operator= (const List< T > &) |
Assignment operator. Takes linear time. | |
void | operator= (const SLList< T > &) |
Assignment from SLList operator. Takes linear time. | |
void | operator= (const IndirectList< T > &) |
Assignment from IndirectList operator. Takes linear time. | |
void | operator= (const UIndirectList< T > &) |
Assignment from UIndirectList operator. Takes linear time. | |
void | operator= (const BiIndirectList< T > &) |
Assignment from BiIndirectList operator. Takes linear time. | |
void | operator= (const T &) |
Assignment of all entries to the given value. | |
![]() | |
UList () | |
Null constructor. | |
UList (T *__restrict__ v, label size) | |
Construct from components. | |
label | fcIndex (const label i) const |
Return the forward circular index, i.e. the next index. | |
label | rcIndex (const label i) const |
Return the reverse circular index, i.e. the previous index. | |
label | byteSize () const |
Return the binary size in number of characters of the UList. | |
const T * | cdata () const |
Return a const pointer to the first data element,. | |
T * | data () |
Return a pointer to the first data element,. | |
void | checkStart (const label start) const |
Check start is within valid range (0 ... size-1). | |
void | checkSize (const label size) const |
Check size is within valid range (0 ... size). | |
void | checkIndex (const label i) const |
Check index i is within valid range (0 ... size-1). | |
void | writeEntry (Ostream &) const |
Write the UList as a dictionary entry. | |
void | writeEntry (const word &keyword, Ostream &) const |
Write the UList as a dictionary entry with keyword. | |
void | assign (const UList< T > &) |
Assign elements to those from UList. | |
T & | operator[] (const label) |
Return element of UList. | |
const T & | operator[] (const label) const |
Return element of constant UList. | |
operator const Foam::List< T > & () const | |
Allow cast to a const List<T>&. | |
iterator | begin () |
Return an iterator to begin traversing the UList. | |
iterator | end () |
Return an iterator to end traversing the UList. | |
const_iterator | cbegin () const |
Return const_iterator to begin traversing the constant UList. | |
const_iterator | cend () const |
Return const_iterator to end traversing the constant UList. | |
const_iterator | begin () const |
Return const_iterator to begin traversing the constant UList. | |
const_iterator | end () const |
Return const_iterator to end traversing the constant UList. | |
reverse_iterator | rbegin () |
Return reverse_iterator to begin reverse traversing the UList. | |
reverse_iterator | rend () |
Return reverse_iterator to end reverse traversing the UList. | |
const_reverse_iterator | crbegin () const |
Return const_reverse_iterator to begin reverse traversing the UList. | |
const_reverse_iterator | crend () const |
Return const_reverse_iterator to end reverse traversing the UList. | |
const_reverse_iterator | rbegin () const |
Return const_reverse_iterator to begin reverse traversing the UList. | |
const_reverse_iterator | rend () const |
Return const_reverse_iterator to end reverse traversing the UList. | |
label | max_size () const |
Return size of the largest possible UList. | |
bool | empty () const |
Return true if the UList is empty (ie, size() is zero). | |
void | swap (UList< T > &) |
Swap two ULists of the same type in constant time. | |
bool | operator== (const UList< T > &) const |
Equality operation on ULists of the same type. | |
bool | operator!= (const UList< T > &) const |
The opposite of the equality operation. Takes linear time. | |
bool | operator< (const UList< T > &) const |
Compare two ULists lexicographically. Takes linear time. | |
bool | operator> (const UList< T > &) const |
Compare two ULists lexicographically. Takes linear time. | |
bool | operator<= (const UList< T > &) const |
Return true if !(a > b). Takes linear time. | |
bool | operator>= (const UList< T > &) const |
Return true if !(a < b). Takes linear time. | |
template<> | |
const bool & | operator[] (const label i) const |
Static Public Member Functions | |
static const List< T > & | null () |
Return a null List. |
Protected Member Functions | |
void | size (const label) |
Override size to be inconsistent with allocated storage. |
Friends | |
Istream & | operator>> (Istream &, List< T > &) |
Read List from Istream, discarding contents of existing List. |
|
explicit |
Construct with given size.
Definition at line 43 of file List.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and Foam::T().
Construct with given size and value for all elements.
Definition at line 63 of file List.C.
References Foam::abort(), Foam::FatalError, FatalErrorIn, List_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().
Copy constructor.
Definition at line 88 of file List.C.
References UList< T >::byteSize(), List_ACCESS, List_CONST_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().
Construct as copy or re-use as specified.
Definition at line 124 of file List.C.
References UList< T >::byteSize(), List_ACCESS, List_CONST_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().
List | ( | const UList< T > & | a, |
const unallocLabelList< T > & | mapAddressing | ||
) |
List | ( | InputIterator | first, |
InputIterator | last | ||
) |
Construct as copy of FixedList<T, Size>
Definition at line 211 of file List.C.
References forAll, UList< T >::operator[](), and Foam::T().
Construct as copy of PtrList<T>
Definition at line 229 of file List.C.
References forAll, UList< T >::operator[](), and Foam::T().
Construct as copy of SLList<T>
Definition at line 247 of file List.C.
References SLListBase::begin(), SLListBase::end(), UList< T >::operator[](), and Foam::T().
List | ( | const IndirectList< T > & | lst | ) |
Construct as copy of IndirectList<T>
Definition at line 271 of file List.C.
References forAll, UList< T >::operator[](), and Foam::T().
List | ( | const UIndirectList< T > & | lst | ) |
Construct as copy of UIndirectList<T>
Definition at line 289 of file List.C.
References forAll, UList< T >::operator[](), and Foam::T().
List | ( | const BiIndirectList< T > & | lst | ) |
Construct as copy of BiIndirectList<T>
Definition at line 307 of file List.C.
References forAll, UList< T >::operator[](), and Foam::T().
|
inlineprotected |
Override size to be inconsistent with allocated storage.
Use with care.
Definition at line 76 of file ListI.H.
Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), refinementHistory::active(), cellTable::addCellZones(), addPatchCellLayer::addedCells(), mapPatchChange::addedPatches(), edgeSurface::addIntersectionEdges(), autoLayerDriver::addLayers(), polyTopoChange::addMesh(), polyMesh::addPatches(), faceZoneSet::addSet(), polyTopoChanger::addTopologyModifiers(), MeshedSurface< Face >::addZones(), polyMesh::addZones(), primitiveMeshGeometry::affectedCells(), polyMeshGeometry::affectedCells(), GAMGAgglomeration::agglomerateLduAddressing(), setToPointZone::applyToSet(), setToCellZone::applyToSet(), faceZoneToFaceZone::applyToSet(), setToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), face::areaInContact(), argList::argList(), LISA::atomizeParcel(), Field< Type >::autoMap(), meshRefinement::baffleAndSplitMesh(), meshRefinement::balance(), meshRefinement::balanceAndRefine(), Foam::bandCompression(), booleanSurface::booleanSurface(), tetherPotentialList::buildPotentials(), pairPotentialList::buildPotentials(), decompositionMethod::calcCellCells(), scotchDecomp::calcCSR(), extendedCellToFaceStencil::calcDistributeMap(), enrichedPatch::calcEnrichedFaces(), polyDualMesh::calcFeatures(), FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), triSurfaceSearch::calcInside(), triSurfaceTools::calcInterpolationWeights(), cellMatcher::calcLocalFaces(), triSurfaceSearch::calcNearest(), autoSnapDriver::calcNearestSurface(), triSurfaceSearch::calcNearestTri(), primitiveMesh::calcPointOrder(), DICPreconditioner::calcReciprocalD(), DILUPreconditioner::calcReciprocalD(), autoSnapDriver::calcSnapDistance(), coupledPolyPatch::calcTransformTensors(), ODEChemistryModel< CompType, ThermoType >::calculate(), cellModeller::cellModeller(), dynamicRefineFvMesh::cellToPoint(), cellModel::centre(), repatchPolyTopoChanger::changeAnchorPoint(), boundaryMesh::changeFaces(), polyTopoChange::changeMesh(), layerAdditionRemoval::changeTopology(), primitiveMesh::checkCellDeterminant(), primitiveMesh::checkCellsZipUp(), primitiveMesh::checkClosedBoundary(), pointZone::checkDefinition(), triSurface::checkEdges(), primitiveMeshGeometry::checkFaceAngles(), polyMeshGeometry::checkFaceAngles(), primitiveMesh::checkFaceAngles(), primitiveMeshGeometry::checkFaceDotProduct(), primitiveMesh::checkFaceFlatness(), primitiveMesh::checkFaceOrthogonality(), MeshedSurface< Face >::checkFaces(), primitiveMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceTwist(), primitiveMesh::checkFaceVertices(), probes::checkFieldTypes(), hexRef8::checkMesh(), PatchTools::checkOrientation(), polyBoundaryMesh::checkParallelSync(), PrimitivePatch< Face, FaceList, PointField, PointType >::checkPointManifold(), primitiveMesh::checkPointNearness(), ReactingCloud< ParcelType >::checkSuppliedComposition(), PrimitivePatch< Face, FaceList, PointField, PointType >::checkTopology(), triSurface::checkTriangles(), polyMeshGeometry::checkTriangleTwist(), primitiveMesh::checkUpperTriangular(), MeshedSurface< Face >::checkZones(), surfMesh::checkZones(), cellShape::collapsedFaces(), triSurfaceTools::collapseEdges(), extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), commSchedule::commSchedule(), mapDistribute::compact(), CompactListList_dev< T, Container >::CompactListList_dev(), face::compare(), removeFaces::compatibleRemoves(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), inversePointDistanceDiffusivity::correct(), Particle< ParticleType >::correctAfterParallelTransfer(), cellDistFuncs::correctBoundaryPointCells(), removePoints::countPointUsage(), cyclicPolyPatch::coupledEdges(), cyclicPolyPatch::coupledPoints(), hhuMixtureThermo< MixtureType >::Cp(), hPsiMixtureThermo< MixtureType >::Cp(), hsPsiMixtureThermo< MixtureType >::Cp(), hRhoMixtureThermo< MixtureType >::Cp(), hsRhoMixtureThermo< MixtureType >::Cp(), ePsiThermo< MixtureType >::Cp(), hPsiThermo< MixtureType >::Cp(), hsPsiThermo< MixtureType >::Cp(), hRhoThermo< MixtureType >::Cp(), hsRhoThermo< MixtureType >::Cp(), Foam::cp(), meshRefinement::createBaffles(), Keyed< T >::createList(), autoSnapDriver::createZoneBaffles(), csvTableReader< Type >::csvTableReader(), displacementInterpolationFvMotionSolver::curPoints(), hexCellLooper::cut(), cuttingPlane::cut(), geomCellLooper::cut(), topoCellLooper::cut(), Foam::meshTools::cutDirToEdge(), ePsiThermo< MixtureType >::Cv(), hPsiThermo< MixtureType >::Cv(), hsPsiThermo< MixtureType >::Cv(), hsRhoThermo< MixtureType >::Cv(), hRhoThermo< MixtureType >::Cv(), cyclicGAMGInterface::cyclicGAMGInterface(), definedPressureSwirlInjector::d0(), manualDecomp::decompose(), simpleGeomDecomp::decompose(), scotchDecomp::decompose(), decompositionMethod::decompose(), hierarchGeomDecomp::decompose(), triSurfaceTools::delaunay2D(), cellZoneSet::deleteSet(), pointZoneSet::deleteSet(), faceZoneSet::deleteSet(), cyclicFvPatch::delta(), displacementInterpolationFvMotionSolver::displacementInterpolationFvMotionSolver(), mapDistribute::distribute(), treeNode< Type >::distribute(), refinementHistory::distribute(), fvMeshDistribute::distribute(), distributedTriSurfaceMesh::distribute(), Foam::resError::div(), autoLayerDriver::doLayers(), meshRefinement::dumpIntersections(), ePsiThermo< MixtureType >::e(), primitiveMesh::edgeFaces(), PatchTools::edgeOwner(), cellModel::edges(), face::edges(), triSurfaceTools::edgeSide(), edgeSurface::edgeSurface(), directionInfo::edgeToFaceIndex(), Pstream::enlargeBuffer(), ensightPartFaces::ensightPartFaces(), directionInfo::enterDomain(), StaticHashTable< T, Key, Hash >::erase(), dynamicRefineFvMesh::error(), evaluateError::evaluateError(), spray::evolve(), explicitSource::explicitSource(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), faceCoupleInfo::faceCoupleInfo(), primitiveMesh::faceEdges(), lduMatrix::faceH(), cellModel::faces(), sampledIsoSurfaceCell::faces(), distanceSurface::faces(), sampledCuttingPlane::faces(), sampledIsoSurface::faces(), searchableSurfacesQueries::facesIntersection(), hexMatcher::faceSizeMatch(), prismMatcher::faceSizeMatch(), pyrMatcher::faceSizeMatch(), tetMatcher::faceSizeMatch(), tetWedgeMatcher::faceSizeMatch(), wedgeMatcher::faceSizeMatch(), PrimitivePatchInterpolation< Patch >::faceToEdgeInterpolate(), featureEdgeMesh::featureEdgeMesh(), Foam::fftRenumber(), Foam::fftRenumberRecurse(), cellClassification::fillRegionEdges(), refinementSurfaces::findAllHigherIntersections(), searchableSurfacesQueries::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), Time::findClosestTime(), probes::findElements(), patchProbes::findElements(), surfaceFeatures::findFeatures(), refinementSurfaces::findHigherIntersection(), refinementSurfaces::findInside(), Time::findInstance(), searchablePlane::findLine(), searchableSphere::findLine(), searchablePlate::findLine(), searchableSurfaceCollection::findLine(), searchableCylinder::findLine(), searchableSurfaceWithGaps::findLine(), searchableBox::findLine(), triSurfaceMesh::findLine(), searchablePlane::findLineAll(), searchableSphere::findLineAll(), searchablePlate::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableCylinder::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableBox::findLineAll(), triSurfaceMesh::findLineAll(), distributedTriSurfaceMesh::findLineAll(), searchableSphere::findLineAny(), searchableCylinder::findLineAny(), searchableBox::findLineAny(), triSurfaceMesh::findLineAny(), searchablePlane::findNearest(), searchableSphere::findNearest(), searchablePlate::findNearest(), searchableCylinder::findNearest(), searchableSurfacesQueries::findNearest(), searchableBox::findNearest(), triSurfaceMesh::findNearest(), distributedTriSurfaceMesh::findNearest(), primitiveMesh::findNearestCell(), refinementSurfaces::findNearestIntersection(), refinementSurfaces::findNearestRegion(), polyMeshAdder::findSharedPoints(), cellPointWeight::findTetrahedron(), Time::findTimes(), cellPointWeight::findTriangle(), Pstream::gatherList(), genericFvPatchField< Type >::genericFvPatchField(), genericPointPatchField< Type >::genericPointPatchField(), hexRef8::getAnchorLevel(), refinementSurfaces::getClosedNamedSurfaces(), meshRefinement::getDuplicateFaces(), searchableSurfaceCollection::getField(), triSurfaceMesh::getField(), distributedTriSurfaceMesh::getField(), combineFaces::getMergeSets(), boundaryMesh::getNearest(), searchablePlane::getNormal(), searchableSphere::getNormal(), searchablePlate::getNormal(), searchableSurfaceCollection::getNormal(), searchableCylinder::getNormal(), searchableBox::getNormal(), triSurfaceMesh::getNormal(), distributedTriSurfaceMesh::getNormal(), combineFaces::getOutsideFace(), cellDistFuncs::getPatchIDs(), cellDistFuncs::getPointNeighbours(), cloudSet::getRefPoint(), patchCloudSet::getRefPoint(), curveSet::getRefPoint(), searchablePlane::getRegion(), searchableSphere::getRegion(), searchablePlate::getRegion(), searchableSurfaceCollection::getRegion(), searchableCylinder::getRegion(), searchableBox::getRegion(), triSurfaceMesh::getRegion(), distributedTriSurfaceMesh::getRegion(), coupledPolyPatch::getRotation(), hexRef8::getSplitPoints(), injectorType::getTableValue(), refinementSurfaces::getUnnamedSurfaces(), removePoints::getUnrefimentSet(), cellLooper::getVertEdgesNonFace(), triSurfaceTools::getVertexTriangles(), cellLooper::getVertFacesNonEdge(), searchableSphere::getVolumeType(), searchableCylinder::getVolumeType(), searchableBox::getVolumeType(), triSurfaceMesh::getVolumeType(), globalPoints::globalPoints(), sphericalCS::globalToLocal(), cylindricalCS::globalToLocal(), faceLimitedGrad< Type >::grad(), cellLimitedGrad< Type >::grad(), triSurfaceTools::greenRefine(), hhuMixtureThermo< MixtureType >::h(), hPsiMixtureThermo< MixtureType >::h(), hRhoMixtureThermo< MixtureType >::h(), hRhoThermo< MixtureType >::h(), hPsiThermo< MixtureType >::h(), lduMatrix::H(), mapPolyMesh::hasMotionPoints(), hexRef8::hexRef8(), hsPsiMixtureThermo< MixtureType >::hs(), hsRhoMixtureThermo< MixtureType >::hs(), hsPsiThermo< MixtureType >::hs(), hsRhoThermo< MixtureType >::hs(), hhuMixtureThermo< MixtureType >::hu(), Particle< ParticleType >::inCell(), indexedOctree< Type >::indexedOctree(), FreeStream< CloudType >::inflow(), mpiIPstreamImpl::init(), lduMatrix::initMatrixInterfaces(), treeLeaf< Type >::insert(), distribution::insertMissingKeys(), correlationFunction< Type >::integral(), injectorType::integrateTable(), interpolationCellPointFace< Type >::interpolate(), volPointInterpolation::interpolate(), fvMeshSubset::interpolate(), meshToMesh::interpolateInternalField(), Foam::interpolatePointToCell(), Foam::interpolateXY(), intersectedSurface::intersectedSurface(), hexMatcher::isA(), prismMatcher::isA(), pyrMatcher::isA(), tetMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), ensightPart::isFieldDefined(), isoSurface::isoSurface(), isoSurfaceCell::isoSurfaceCell(), liquidMixture::K(), Foam::kShellIntegration(), Foam::kShellMean(), cell::labels(), noiseFFT::Ldelta(), Foam::MULES::limiter(), spray::liquidEnthalpy(), spray::liquidTotalEnthalpy(), Pstream::listCombineGather(), LocalInteraction< CloudType >::LocalInteraction(), facePointPatch::localPoints(), parabolicCylindricalCS::localToGlobal(), sphericalCS::localToGlobal(), cylindricalCS::localToGlobal(), cellCuts::loopPoints(), cellModel::mag(), cyclicFvPatch::makeDeltaCoeffs(), faceCoupleInfo::makeMap(), cyclicFvPatch::makeWeights(), Field< Type >::map(), mapDistribute::mapDistribute(), Foam::MapLagrangianFields(), PatchTools::markZone(), triSurface::markZone(), PatchTools::markZones(), triSurface::markZones(), degenerateMatcher::match(), Foam::matchPoints(), noiseFFT::meanPf(), distribution::median(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeBaffles(), Foam::mergePoints(), triSurfaceTools::mergePoints(), autoSnapDriver::mergeZoneBaffles(), cellShape::meshEdges(), MeshedSurface< Face >::MeshedSurface(), cellShape::meshFaces(), facePointPatch::meshPoints(), meshTriangulation::meshTriangulation(), edgeIntersections::minEdgeLength(), attachDetach::modifyMotionPoints(), slidingInterface::modifyMotionPoints(), Cloud< ParticleType >::move(), parcel::move(), polyTopoChange::movePoints(), primitiveMesh::movePoints(), MRFZone::MRFZone(), multiNormal::multiNormal(), surfaceFeatures::nearestEdges(), face::nearestPoint(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), cellModel::nEdges(), PrimitivePatch< face,::Foam::List, pointField, point >::nEdges(), primitiveMesh::nEdges(), polyBoundaryMesh::neighbourEdges(), cellModel::nFaces(), vtkMesh::nFieldCells(), vtkMesh::nFieldPoints(), fieldviewTopology::nHex(), potential::nIds(), surfaceFeatures::nInternalEdges(), noiseFFT::noiseFFT(), cellCuts::nonAnchorPoints(), surfaceLocation::normal(), distribution::normalisedShifted(), surfMesh::nPoints(), PrimitivePatch< face,::Foam::List, pointField, point >::nPoints(), fieldviewTopology::nPrism(), Pstream::nProcs(), fieldviewTopology::nPyr(), refinementSurfaces::nRegions(), fieldviewTopology::nTet(), ODEChemistryModel< CompType, ThermoType >::omega(), dlLibraryTable::open(), minEqOpFace::operator()(), MapInternalField< Type, MeshMapper, surfaceMesh >::operator()(), cellToCellStencil::unionEqOp::operator()(), cellToFaceStencil::unionEqOp::operator()(), csvTableReader< Type >::operator()(), lduMatrix::operator*=(), Foam::operator<<(), cellTable::operator=(), StaticHashTable< T, Key, Hash >::operator=(), Foam::operator==(), operator==(), Foam::operator>>(), cell::opposingFace(), cell::opposingFaceLabel(), processorPolyPatch::order(), orientedSurface::orient(), triSurfaceTools::otherFace(), distributedTriSurfaceMesh::overlappingSurface(), globalMeshData::parallel(), boundaryMesh::patchify(), pointPatchField< Type >::patchInternalField(), patchZones::patchZones(), noiseFFT::Pdelta(), primitiveMesh::pointCells(), facePointPatch::pointNormals(), primitiveMesh::pointPoints(), cell::points(), PrimitivePatchInterpolation< Patch >::pointToFaceInterpolate(), polyAddFace::polyAddFace(), polyMesh::polyMesh(), Foam::polyMeshZipUpCells(), polyModifyFace::polyModifyFace(), polynomial::polynomial(), noPreconditioner::precondition(), DICPreconditioner::precondition(), DILUPreconditioner::precondition(), GAMGPreconditioner::precondition(), diagonalPreconditioner::precondition(), FDICPreconditioner::precondition(), DILUPreconditioner::preconditionT(), pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField(), sampledPlane::print(), sampledTriSurfaceMesh::print(), sampledPatch::print(), distanceSurface::print(), sampledCuttingPlane::print(), indexedOctree< Type >::print(), fvMeshDistribute::printMeshInfo(), processorGAMGInterface::processorGAMGInterface(), PrimitivePatch< Face, FaceList, PointField, PointType >::projectFaceCentres(), PrimitivePatch< Face, FaceList, PointField, PointType >::projectPoints(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), SKA::read(), FTRsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), boundaryMesh::read(), sampledSurfaces::read(), STARCD::readBoundary(), STARCD::readCells(), Foam::readDir(), ReactingParcel< ParcelType >::readFields(), parcel::readFields(), ReactingMultiphaseParcel< ParcelType >::readFields(), boundaryMesh::readTriSurface(), surfMesh::readUpdate(), ensightParts::recalculate(), triSurfaceTools::redGreenRefine(), dynamicRefineFvMesh::refine(), refinementHistory::refinementHistory(), edgeMesh::regions(), searchableSurfaceCollection::regions(), fvMatrix< Type >::relax(), MeshedSurface< Face >::remapFaces(), undoableMeshCutter::removeSplitFaces(), ensightPart::renumber(), fieldAverage::resetFields(), polyMesh::resetPrimitives(), fvMatrix< Type >::residual(), lduMatrix::residual(), GAMGAgglomeration::restrictField(), face::reverseFace(), noiseFFT::RMSmeanPf(), motionSmoother::scaleMesh(), Pstream::scatterList(), mapDistribute::schedule(), searchableSurfaces::searchableSurfaces(), timeSelector::select(), scalarRanges::selected(), timeSelector::selected(), surfaceFeatures::selectFeatureEdges(), dynamicRefineFvMesh::selectRefineCells(), dynamicRefineFvMesh::selectUnrefinePoints(), coupledPolyPatch::separated(), syncTools::separateList(), fvMeshSubset::setCellSubset(), Time::setControls(), boundaryMesh::setFeatureEdges(), explicitSource::setFieldData(), pointPatchField< Type >::setInInternalField(), fvMeshSubset::setLargeCellSubset(), refinementSurfaces::setMinLevelFields(), errorDrivenRefinement::setRefinement(), duplicatePoints::setRefinement(), removeCells::setRefinement(), refinementIterator::setRefinement(), perfectInterface::setRefinement(), faceCollapser::setRefinement(), boundaryCutter::setRefinement(), edgeCollapser::setRefinement(), removePoints::setRefinement(), combineFaces::setRefinement(), removeFaces::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), sampledSet::setSamples(), removePoints::setUnrefinement(), combineFaces::setUnrefinement(), hexRef8::setUnrefinement(), UnsortedMeshedSurface< Face >::setZones(), globalMeshData::sharedPoints(), liquidMixture::sigma(), triSurfaceGeoMesh::size(), treeDataPoint::size(), pointFieldDecomposer::patchFieldDecomposer::size(), fvFieldDecomposer::patchFieldDecomposer::size(), octreeDataPoint::size(), procLduMatrix::size(), treeDataTriSurface::size(), octreeDataCell::size(), fvMeshSubset::patchFieldSubset::size(), treeDataEdge::size(), treeDataCell::size(), fvFieldDecomposer::processorVolPatchFieldDecomposer::size(), octreeDataEdges::size(), treeDataFace::size(), octreeDataFaceList::size(), GAMGInterface::size(), octreeDataTriSurface::size(), globalPointPatch::size(), fvMeshSubset::pointPatchFieldSubset::size(), octreeDataFace::size(), fvFieldDecomposer::processorSurfacePatchFieldDecomposer::size(), facePointPatch::size(), meshToMesh::patchFieldInterpolator::size(), CompactListList_dev< T, Container >::sizes(), GaussSeidelSmoother::smooth(), basicSymmetryFvPatchField< Type >::snGradTransformDiag(), partialSlipFvPatchField< Type >::snGradTransformDiag(), fixedNormalSlipFvPatchField< Type >::snGradTransformDiag(), mixedFixedValueSlipFvPatchField< Type >::snGradTransformDiag(), PCG::solve(), PBiCG::solve(), EulerImplicit< CompType, ThermoType >::solve(), ode< CompType, ThermoType >::solve(), sequential< CompType, ThermoType >::solve(), smoothSolver::solve(), ODEChemistryModel< CompType, ThermoType >::solve(), GAMGSolver::solve(), ParSortableList< Type >::sort(), PatchTools::sortedEdgeFaces(), UnsortedMeshedSurface< Face >::sortedZones(), MeshedSurface< Face >::sortFacesAndStore(), meshRefinement::splitMesh(), meshRefinement::splitMeshRegions(), Foam::stepBackwardsToNextPoint(), Foam::stepForwardsToNextPoint(), MeshedSurface< Face >::stitchFaces(), hexRef8::storeData(), cellZoneSet::subset(), pointZoneSet::subset(), faceZoneSet::subset(), refinementHistory::subset(), hexRef8::subset(), PatchTools::subsetMap(), UnsortedMeshedSurface< Face >::subsetMesh(), triSurface::subsetMesh(), MeshedSurface< Face >::subsetMesh(), triSurface::subsetMeshMap(), Foam::ListListOps::subSizes(), surfaceIntersection::surfaceIntersection(), PrimitivePatch< Face, FaceList, PointField, PointType >::surfaceType(), processorPointPatchField< Type >::swapAdd(), syncTools::syncEdgeList(), syncTools::syncEdgeMap(), syncTools::syncPointList(), syncTools::syncPointMap(), Table< Type >::Table(), interactionLists::testPointFaceDistance(), TimeActivatedExplicitSource< Type >::TimeActivatedExplicitSource(), Particle< ParticleType >::trackToFace(), MeshedSurface< Face >::transcribe(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::transfer(), MeshedSurface< Face >::transfer(), Foam::transform(), fft::transform(), cyclicLduInterfaceField::transformCoupleField(), Foam::transformFieldMask< tensor >(), triSurfaceMesh::tree(), face::triangles(), MeshedSurface< Face >::triangulate(), triSurfaceTools::triangulateFaceCentre(), treeLeaf< Type >::trim(), surfaceFeatures::trimFeatures(), turbGen::U(), dynamicRefineFvMesh::unrefine(), sampledTriSurfaceMesh::update(), dynamicRefineFvMesh::update(), directionInfo::updateCell(), activeBaffleVelocityFvPatchVectorField::updateCoeffs(), incompressible::atmBoundaryLayerInletVelocityFvPatchVectorField::updateCoeffs(), processorGAMGInterfaceField::updateInterfaceMatrix(), lduMatrix::updateMatrixInterfaces(), displacementFvMotionSolver::updateMesh(), processorPolyPatch::updateMesh(), displacementComponentLaplacianFvMotionSolver::updateMesh(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), boundaryCutter::updateMesh(), faceZoneSet::updateMesh(), removePoints::updateMesh(), refinementHistory::updateMesh(), addPatchCellLayer::updateMesh(), globalMeshData::updateMesh(), polyMesh::updateMesh(), hexRef8::updateMesh(), meshRefinement::updateMesh(), cellZoneSet::updateSet(), pointZoneSet::updateSet(), faceZoneSet::updateSet(), MeshedSurfaceProxy< Face >::useFaceMap(), wallLayerCells::wallLayerCells(), meshReader::warnDuplicates(), coupledPolyPatch::whichPatch(), X3DsurfaceFormat< Face >::write(), WRLsurfaceFormat< Face >::write(), foamFileSurfaceWriter< Type >::write(), SMESHsurfaceFormat< Face >::write(), rawSetWriter< Type >::write(), xmgraceSetWriter< Type >::write(), dxSurfaceWriter< Type >::write(), gnuplotSetWriter< Type >::write(), VTKsurfaceFormat< Face >::write(), GTSsurfaceFormat< Face >::write(), OBJsurfaceFormat< Face >::write(), vtkSurfaceWriter< Type >::write(), csvSetWriter< Type >::write(), AC3DsurfaceFormat< Face >::write(), OFFsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), OFSsurfaceFormat< Face >::write(), rawSurfaceWriter< Type >::write(), octreeDataPoint::write(), pressureInletOutletVelocityFvPatchVectorField::write(), STLsurfaceFormat< Face >::writeAscii(), STLsurfaceFormat< Face >::writeBinary(), STARCDsurfaceFormatCore::writeCase(), triSurface::writeDX(), ensightPart::writeField(), ensightPart::writeFieldList(), ReactingParcel< ParcelType >::writeFields(), parcel::writeFields(), VTKsurfaceFormatCore::writeHeader(), WRLsurfaceFormatCore::writeHeader(), triSurfaceTools::writeOBJ(), ensightPart::writeScalarField(), extendedCellToFaceStencil::writeStencilStats(), STARCD::writeSurface(), ensightPart::writeVectorField(), solidMixture::X(), liquidMixture::X(), CompositionModel< CloudType >::X(), liquidMixture::Xs(), Foam::XstepForwardsToNextPoint(), and meshRefinement::zonify().
|
inlinestatic |
Return a null List.
Reimplemented from UList< T >.
Reimplemented in GeometricField< Type, PatchField, GeoMesh >, GeometricField< symmTensor, fvPatchField, volMesh >, GeometricField< tensor, fvPatchField, volMesh >, GeometricField< scalar, fvPatchField, volMesh >, GeometricField< scalar, fvsPatchField, surfaceMesh >, GeometricField< Type, fvsPatchField, surfaceMesh >, GeometricField< Type, pointPatchField, pointMesh >, GeometricField< scalar, pointPatchField, pointMesh >, GeometricField< vector, fvPatchField, volMesh >, GeometricField< vector, pointPatchField, pointMesh >, GeometricField< Type, fvPatchField, volMesh >, DimensionedField< Type, GeoMesh >, DimensionedField< tensor, volMesh >, DimensionedField< scalar, volMesh >, DimensionedField< vector, pointMesh >, DimensionedField< scalar, pointMesh >, DimensionedField< Type, volMesh >, DimensionedField< symmTensor, volMesh >, DimensionedField< scalar, surfaceMesh >, DimensionedField< vector, volMesh >, DimensionedField< Type, surfaceMesh >, DimensionedField< Type, pointMesh >, Field< Type >, Field< tensor >, Field< symmTensor >, Field< scalar >, Field< label >, Field< vector >, Field< complexVector >, Field< T >, Field< translationRotationVectors >, Field< Field< Type > >, Field< point >, Field< PointType >, and DynamicField< T, SizeInc, SizeMult, SizeDiv >.
|
inline |
Clone.
Reimplemented in sampledSet, DimensionedField< Type, GeoMesh >, DimensionedField< tensor, volMesh >, DimensionedField< scalar, volMesh >, DimensionedField< vector, pointMesh >, DimensionedField< scalar, pointMesh >, DimensionedField< Type, volMesh >, DimensionedField< symmTensor, volMesh >, DimensionedField< scalar, surfaceMesh >, DimensionedField< vector, volMesh >, DimensionedField< Type, surfaceMesh >, DimensionedField< Type, pointMesh >, timeVaryingMappedFixedValueFvPatchField< Type >, fvPatchField< Type >, fvPatchField< scalar >, Field< Type >, Field< tensor >, Field< symmTensor >, Field< scalar >, Field< label >, Field< vector >, Field< complexVector >, Field< T >, Field< translationRotationVectors >, Field< Field< Type > >, Field< point >, Field< PointType >, fvsPatchField< Type >, PackedList< nBits >, PackedList< 2 >, omegaWallFunctionFvPatchScalarField, omegaWallFunctionFvPatchScalarField, curve, DynamicField< T, SizeInc, SizeMult, SizeDiv >, advectiveFvPatchField< Type >, epsilonWallFunctionFvPatchScalarField, epsilonWallFunctionFvPatchScalarField, sixDoFRigidBodyDisplacementPointPatchVectorField, timeVaryingUniformFixedValueFvPatchField< Type >, timeVaryingUniformInletOutletFvPatchField< Type >, oscillatingFixedValueFvPatchField< Type >, turbulentInletFvPatchField< Type >, cyclicFvPatchField< Type >, directMappedFixedValueFvPatchField< Type >, surfaceSlipDisplacementFvPatchField< Type >, processorFvPatchField< Type >, kqRWallFunctionFvPatchField< Type >, kqRWallFunctionFvPatchField< Type >, genericFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, outletMappedUniformInletFvPatchField< Type >, slicedFvsPatchField< Type >, processorFvsPatchField< Type >, coupledFvPatchField< Type >, waveTransmissiveFvPatchField< Type >, mixedFixedValueSlipFvPatchField< Type >, mixedPointPatchField< Type >, timeVaryingUniformFixedValuePointPatchField< Type >, fanFvPatchField< Type >, coupledFvsPatchField< Type >, inletOutletFvPatchField< Type >, directionMixedFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, uniformFixedValueFvPatchField< Type >, cyclicFvsPatchField< Type >, fixedGradientFvPatchField< Type >, partialSlipFvPatchField< Type >, uniformFixedValuePointPatchField< Type >, cellShape, fixedInternalValueFvPatchField< Type >, angularOscillatingDisplacementPointPatchVectorField, angularOscillatingVelocityPointPatchVectorField, fixedInternalValueFvPatchField< scalar >, cellMotionFvPatchField< Type >, uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField, basicSymmetryFvPatchField< Type >, calculatedFvPatchField< Type >, fixedValueFvPatchField< Type >, zeroGradientFvPatchField< Type >, emptyFvPatchField< Type >, symmetryFvPatchField< Type >, wedgeFvPatchField< Type >, fixedValueFvsPatchField< Type >, emptyFvsPatchField< Type >, symmetryFvsPatchField< Type >, wedgeFvsPatchField< Type >, zeroGradientFvPatchField< scalar >, transformFvPatchField< Type >, freestreamFvPatchField< Type >, outletInletFvPatchField< Type >, slipFvPatchField< Type >, calculatedFvsPatchField< Type >, oscillatingVelocityPointPatchVectorField, valuePointPatchField< Type >, valuePointPatchField< vector >, oscillatingDisplacementPointPatchVectorField, fixedValuePointPatchField< Type >, fixedValuePointPatchField< vector >, and phase.
|
inline |
Return the number of elements in the UList.
Reimplemented from UList< T >.
Reimplemented in MeshedSurface< Face >, MeshedSurface< face >, UnsortedMeshedSurface< Face >, triSurfaceMesh, PackedList< nBits >, PackedList< 2 >, valuePointPatchField< Type >, and valuePointPatchField< vector >.
Definition at line 83 of file ListI.H.
Referenced by DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), DynamicField< T, SizeInc, SizeMult, SizeDiv >::append(), PackedList< nBits >::capacity(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clear(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::DynamicList(), ITstream::nRemainingTokens(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::operator=(), ITstream::print(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::remove(), DynamicField< T, SizeInc, SizeMult, SizeDiv >::remove(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::reserve(), PackedList< nBits >::reserve(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::setSize(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink(), and PackedList< nBits >::shrink().
|
inline |
Reset size of List.
Reimplemented in DynamicField< T, SizeInc, SizeMult, SizeDiv >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.
Definition at line 50 of file ListI.H.
References setSize().
Referenced by extendedCellToFaceStencil::calcDistributeMap(), and hexRef8::storeData().
|
inline |
Reset size of List and value for new elements.
Reimplemented in PackedList< nBits >, PackedList< 2 >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.
Definition at line 57 of file ListI.H.
References setSize().
void setSize | ( | const label | newSize | ) |
Reset size of List.
Reimplemented in UnsortedMeshedSurface< Face >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.
Definition at line 336 of file List.C.
References Foam::abort(), clear(), Foam::FatalError, FatalErrorIn, Foam::min(), and Foam::T().
Referenced by cellTable::addCellZones(), addPatchCellLayer::addedCells(), edgeSurface::addIntersectionEdges(), MeshedSurface< Face >::addZones(), GAMGAgglomeration::agglomerateLduAddressing(), face::areaInContact(), argList::argList(), booleanSurface::booleanSurface(), decompositionMethod::calcCellCells(), scotchDecomp::calcCSR(), extendedCellToFaceStencil::calcDistributeMap(), cellToFaceStencil::calcFaceStencil(), FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), primitiveMesh::calcPointOrder(), cellMatcher::cellMatcher(), cellModeller::cellModeller(), fvMotionSolver::cellMotionBoundaryTypes(), boundaryMesh::changeFaces(), MeshedSurface< Face >::checkFaces(), cellShape::collapsedFaces(), extendedCellToFaceStencil::collectData(), extendedFaceToCellStencil::collectData(), mapDistribute::compact(), GAMGAgglomeration::compactLevels(), removeFaces::compatibleRemoves(), fvPatch::constraintTypes(), polyPatch::constraintTypes(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), removePoints::countPointUsage(), cyclicPolyPatch::coupledEdges(), cyclicPolyPatch::coupledPoints(), autoSnapDriver::createZoneBaffles(), hexCellLooper::cut(), geomCellLooper::cut(), mapPatchChange::deletedPatches(), displacementInterpolationFvMotionSolver::displacementInterpolationFvMotionSolver(), mapDistribute::distribute(), distributedTriSurfaceMesh::distribute(), cell::edges(), Pstream::enlargeBuffer(), ensightPartFaces::ensightPartFaces(), StaticHashTable< T, Key, Hash >::erase(), spray::evolve(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), primitiveMesh::faceEdges(), cellModel::faces(), refinementSurfaces::findAllHigherIntersections(), searchableSurfacesQueries::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), probes::findElements(), patchProbes::findElements(), refinementSurfaces::findHigherIntersection(), refinementSurfaces::findInside(), searchablePlane::findLine(), searchableSphere::findLine(), searchablePlate::findLine(), searchableSurfaceCollection::findLine(), searchableCylinder::findLine(), searchableSurfaceWithGaps::findLine(), searchableBox::findLine(), triSurfaceMesh::findLine(), searchablePlane::findLineAll(), searchableSphere::findLineAll(), searchablePlate::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableCylinder::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableBox::findLineAll(), triSurfaceMesh::findLineAll(), distributedTriSurfaceMesh::findLineAll(), searchableSphere::findLineAny(), searchableCylinder::findLineAny(), searchableBox::findLineAny(), triSurfaceMesh::findLineAny(), searchablePlane::findNearest(), searchableSphere::findNearest(), searchablePlate::findNearest(), searchableCylinder::findNearest(), searchableSurfacesQueries::findNearest(), searchableBox::findNearest(), triSurfaceMesh::findNearest(), distributedTriSurfaceMesh::findNearest(), refinementSurfaces::findNearestIntersection(), refinementSurfaces::findNearestRegion(), polyMeshAdder::findSharedPoints(), Time::findTimes(), FreeStream< CloudType >::FreeStream(), refinementSurfaces::getClosedNamedSurfaces(), searchableSurfaceCollection::getField(), triSurfaceMesh::getField(), distributedTriSurfaceMesh::getField(), combineFaces::getMergeSets(), searchablePlane::getNormal(), searchableSphere::getNormal(), searchablePlate::getNormal(), searchableSurfaceCollection::getNormal(), searchableCylinder::getNormal(), searchableBox::getNormal(), triSurfaceMesh::getNormal(), distributedTriSurfaceMesh::getNormal(), boundaryMesh::getNTris(), searchablePlane::getRegion(), searchableSphere::getRegion(), searchablePlate::getRegion(), searchableSurfaceCollection::getRegion(), searchableCylinder::getRegion(), searchableBox::getRegion(), triSurfaceMesh::getRegion(), distributedTriSurfaceMesh::getRegion(), removePoints::getUnrefimentSet(), cellLooper::getVertEdgesNonFace(), triSurfaceTools::getVertexTriangles(), cellLooper::getVertFacesNonEdge(), searchableSphere::getVolumeType(), searchableCylinder::getVolumeType(), searchableBox::getVolumeType(), triSurfaceMesh::getVolumeType(), globalPoints::globalPoints(), triSurfaceTools::greenRefine(), sortLabelledTri::indices(), mpiPstreamImpl::init(), mpiIPstreamImpl::init(), facePointPatch::initGeometry(), volPointInterpolation::interpolate(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), Foam::invertManyToMany(), Foam::invertOneToMany(), IOList< T >::IOList(), isoSurface::isoSurface(), isoSurfaceCell::isoSurfaceCell(), dictionary::keys(), cell::labels(), noiseFFT::Ldelta(), facePointPatch::localPoints(), mapDistribute::mapDistribute(), fvMesh::mapFields(), boundaryMesh::markFaces(), PatchTools::markZones(), triSurface::markZones(), regExp::match(), Foam::matchPoints(), cellToCellStencil::merge(), cellToFaceStencil::merge(), Foam::mergePoints(), meshTriangulation::meshTriangulation(), engineValve::movingPatchIDs(), MRFZone::MRFZone(), IOobjectList::names(), objectRegistry::names(), surfaceFeatures::nearestSurfEdge(), polyBoundaryMesh::neighbourEdges(), cellCuts::nonAnchorPoints(), octreeDataFace::octreeDataFace(), dlLibraryTable::open(), CompactListList< T >::operator()(), Foam::operator>>(), processorPolyPatch::order(), cyclicPolyPatch::order(), noiseFFT::Pdelta(), phaseProperties::phaseProperties(), polyMesh::polyMesh(), Foam::polyMeshZipUpCells(), autoSnapDriver::preSmoothPatch(), Pstream::Pstream(), GTSsurfaceFormat< Face >::read(), functionObjectList::read(), STARCD::readBoundary(), STARCD::readCells(), Foam::readDir(), Foam::readList(), boundaryMesh::readTriSurface(), meshRefinement::refineCandidates(), edgeMesh::regions(), searchablePlane::regions(), searchableBox::regions(), searchableSphere::regions(), searchablePlate::regions(), searchableCylinder::regions(), searchableSurfaceCollection::regions(), triSurfaceMesh::regions(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::reserve(), PackedList< nBits >::reserve(), fieldAverage::resetFields(), mapDistribute::schedule(), searchableSurfaces::searchableSurfaces(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity(), PackedList< nBits >::setCapacity(), fvMeshSubset::setCellSubset(), fvMeshSubset::setLargeCellSubset(), errorDrivenRefinement::setRefinement(), duplicatePoints::setRefinement(), refinementIterator::setRefinement(), boundaryCutter::setRefinement(), removePoints::setRefinement(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::setSize(), bufferedAccumulator< Type >::setSizes(), removePoints::setUnrefinement(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink(), PackedList< nBits >::shrink(), ParSortableList< Type >::sort(), UnsortedMeshedSurface< Face >::sortedZones(), MeshedSurface< Face >::stitchFaces(), PatchTools::subsetMap(), triSurface::subsetMeshMap(), surfacePatchIOList::surfacePatchIOList(), surfZoneIOList::surfZoneIOList(), boundaryMesh::triangulate(), MeshedSurface< Face >::triangulate(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), boundaryMesh::triangulateLocal(), treeLeaf< Type >::trim(), sampledPatch::update(), sampledTriSurfaceMesh::update(), edgeVertex::updateLabels(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), boundaryCutter::updateMesh(), faceZoneSet::updateMesh(), removePoints::updateMesh(), faceZone::updateMesh(), addPatchCellLayer::updateMesh(), polyMesh::updateMesh(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), STARCD::writeSurface(), incompressible::RASModel::yPlus(), and RASModel::yPlus().
void setSize | ( | const label | newSize, |
const T & | a | ||
) |
Reset size of List and value for new elements.
Reimplemented in PackedList< nBits >, PackedList< 2 >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.
void clear | ( | ) |
Clear the list, i.e. set size to zero.
Reimplemented in MeshedSurface< Face >, MeshedSurface< face >, UnsortedMeshedSurface< Face >, PackedList< nBits >, PackedList< 2 >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, DynamicList< word >, and SortableList< T >.
Definition at line 397 of file List.C.
Referenced by primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), SortableList< T >::clear(), TRIsurfaceFormatCore::clear(), STLsurfaceFormatCore::clear(), MeshedSurfaceIOAllocator::clear(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clearStorage(), PackedList< nBits >::clearStorage(), removePoints::countPointUsage(), refinementSurfaces::findAllHigherIntersections(), searchablePlane::findLineAll(), searchableSphere::findLineAll(), searchablePlate::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableCylinder::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableBox::findLineAll(), triSurfaceMesh::findLineAll(), distributedTriSurfaceMesh::findLineAll(), searchableSurface::getField(), if(), regExp::match(), mapDistribute::operator=(), FTRsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), probes::read(), sampledSets::read(), boundaryMesh::readTriSurface(), surfMesh::removeZones(), fieldAverage::resetFields(), MeshedSurface< Face >::sortFacesAndStore(), MeshedSurface< Face >::transfer(), and MeshedSurface< Face >::triangulate().
Append a List at the end of this list.
Reimplemented in DynamicField< T, SizeInc, SizeMult, SizeDiv >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.
Definition at line 97 of file ListI.H.
References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, setSize(), and UList< T >::size().
Referenced by cellTable::addCellZones(), decompositionMethod::calcCellCells(), commSchedule::commSchedule(), removeFaces::compatibleRemoves(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), cellZoneSet::deleteSet(), pointZoneSet::deleteSet(), autoLayerDriver::doLayers(), edgeSurface::edgeSurface(), removeCells::getExposedFaces(), triSurfaceTools::greenRefine(), PatchTools::markZone(), triSurface::markZone(), Cloud< ParticleType >::move(), boundaryMesh::patchify(), referredCellList::referMolecules(), edgeMesh::regions(), hexRef8::setRefinement(), meshRefinement::splitMeshRegions(), and triSurfaceTools::triangulate().
|
inline |
Append a UIndirectList at the end of this list.
Reimplemented in DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.
Definition at line 118 of file ListI.H.
References forAll, setSize(), and UIndirectList< T >::size().
Transfer the contents of the argument List into this list.
and annull the argument list.
Reimplemented in DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.
Definition at line 408 of file List.C.
Referenced by cellZoneSet::addSet(), pointZoneSet::addSet(), faceZoneSet::addSet(), setToCellZone::applyToSet(), faceZoneToFaceZone::applyToSet(), setToPointZone::applyToSet(), setToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), decompositionMethod::calcCellCells(), polyDualMesh::calcFeatures(), CECCellToFaceStencil::CECCellToFaceStencil(), CFCCellToFaceStencil::CFCCellToFaceStencil(), removeFaces::compatibleRemoves(), CPCCellToFaceStencil::CPCCellToFaceStencil(), geomCellLooper::cut(), topoCellLooper::cut(), cellZoneSet::deleteSet(), pointZoneSet::deleteSet(), faceZoneSet::deleteSet(), mapDistribute::distribute(), fvMeshDistribute::distribute(), FECCellToFaceStencil::FECCellToFaceStencil(), searchableBox::findLineAll(), triSurfaceMesh::findLineAll(), genericFvPatchField< Type >::genericFvPatchField(), genericPointPatchField< Type >::genericPointPatchField(), IOList< T >::IOList(), PatchTools::markZone(), triSurface::markZone(), cellToCellStencil::merge(), cellToFaceStencil::merge(), MeshedSurface< Face >::MeshedSurface(), Field< Type >::operator=(), Foam::operator>>(), FTRsurfaceFormat< Face >::read(), STARCDsurfaceFormatCore::readPoints(), surfMesh::readUpdate(), edgeMesh::regions(), SortableList< T >::reverseSort(), hexRef8::setRefinement(), SortableList< T >::sort(), meshRefinement::splitMesh(), MeshedSurface< Face >::stitchFaces(), cellZoneSet::subset(), pointZoneSet::subset(), faceZoneSet::subset(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::transfer(), PackedList< nBits >::transfer(), MeshedSurface< Face >::triangulate(), dynamicRefineFvMesh::update(), directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), boundaryCutter::updateMesh(), faceZoneSet::updateMesh(), localPointRegion::updateMesh(), hexRef8::updateMesh(), and meshRefinement::updateMesh().
void transfer | ( | DynamicList< T, SizeInc, SizeMult, SizeDiv > & | a | ) |
Transfer the contents of the argument List into this list.
and annull the argument list.
Reimplemented in DynamicList< T, SizeInc, SizeMult, SizeDiv >.
Definition at line 423 of file List.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::clearStorage(), and DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink().
void transfer | ( | SortableList< T > & | a | ) |
Transfer the contents of the argument List into this list.
and annull the argument list.
Definition at line 435 of file List.C.
References SortableList< T >::shrink().
|
inline |
Transfer contents to the Xfer container.
Reimplemented in MeshedSurface< Face >, MeshedSurface< face >, UnsortedMeshedSurface< Face >, PackedList< nBits >, PackedList< 2 >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, DynamicList< word >, and SortableList< T >.
Definition at line 90 of file ListI.H.
References Foam::xferMove().
Referenced by extendedCellToFaceStencil::calcDistributeMap(), surfaceFormatsCore::checkSupport(), fvMeshDistribute::distribute(), OFFsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), and STLsurfaceFormat< Face >::read().
|
inline |
Assignment from UList operator. Takes linear time.
Reimplemented in fvPatchField< Type >, fvPatchField< scalar >, fvsPatchField< Type >, Field< Type >, Field< tensor >, Field< symmTensor >, Field< scalar >, Field< label >, Field< vector >, Field< complexVector >, Field< T >, Field< translationRotationVectors >, Field< Field< Type > >, Field< point >, Field< PointType >, mixedFvPatchField< Type >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, DynamicList< word >, slicedFvPatchField< Type >, mixedFixedValueSlipFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, fixedValueFvPatchField< Type >, fixedValueFvsPatchField< Type >, slicedFvsPatchField< Type >, and SortableList< T >.
Definition at line 447 of file List.C.
References List_ACCESS, List_CONST_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().
Referenced by IOList< T >::operator=(), sendingReferralList::operator=(), SortableList< T >::operator=(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::operator=(), cellZone::operator=(), pointZone::operator=(), cellClassification::operator=(), PackedList< nBits >::operator=(), Field< Type >::operator=(), triSurface::operator=(), and faceZone::resetAddressing().
Assignment operator. Takes linear time.
Reimplemented in IOList< T >, IOList< label >, IOList< reactingParcelInjectionData >, IOList< reactingMultiphaseParcelInjectionData >, IOList< face >, and IOList< kinematicParcelInjectionData >.
Definition at line 479 of file List.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
Assignment from SLList operator. Takes linear time.
Definition at line 494 of file List.C.
References SLListBase::begin(), SLListBase::end(), SLListBase::size(), and Foam::T().
void operator= | ( | const IndirectList< T > & | lst | ) |
Assignment from IndirectList operator. Takes linear time.
Definition at line 522 of file List.C.
References forAll, IndirectList< T >::size(), and Foam::T().
void operator= | ( | const UIndirectList< T > & | lst | ) |
Assignment from UIndirectList operator. Takes linear time.
Definition at line 541 of file List.C.
References forAll, UIndirectList< T >::size(), and Foam::T().
void operator= | ( | const BiIndirectList< T > & | lst | ) |
Assignment from BiIndirectList operator. Takes linear time.
Definition at line 560 of file List.C.
References forAll, BiIndirectList< T >::size(), and Foam::T().
Assignment of all entries to the given value.
Reimplemented from UList< T >.
Reimplemented in fvPatchField< Type >, fvPatchField< scalar >, fvsPatchField< Type >, Field< Type >, Field< tensor >, Field< symmTensor >, Field< scalar >, Field< label >, Field< vector >, Field< complexVector >, Field< T >, Field< translationRotationVectors >, Field< Field< Type > >, Field< point >, Field< PointType >, mixedFvPatchField< Type >, directionMixedFvPatchField< Type >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, slicedFvPatchField< Type >, mixedFixedValueSlipFvPatchField< Type >, DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, DynamicList< word >, fixedNormalSlipFvPatchField< Type >, partialSlipFvPatchField< Type >, valuePointPatchField< Type >, valuePointPatchField< vector >, fixedValueFvPatchField< Type >, fixedValueFvsPatchField< Type >, slicedFvsPatchField< Type >, fixedValuePointPatchField< Type >, fixedValuePointPatchField< vector >, and SortableList< T >.
Read List from Istream, discarding contents of existing List.
Referenced by List< T >::List().