Loading...
Searching...
No Matches
UList< T > Class Template Reference

A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscript bounds checking, etc. More...

#include <UList.H>

Inherited by List< block_type >, List< token >, List< instant >, const_iterator< T >, iterator< T >, List< pointConstraint >, List< dirIndex >, List< Tuple2< scalar, List< Tuple2< scalar, Type > > > >, List< lduScheduleEntry >, List< geometricSurfacePatch >, List< surfZoneIdentifier >, List< cellList >, List< cellShape >, List< edgeList >, List< faceList >, List< tetCell >, List< triFace >, List< pointList >, List< treeBoundBox >, List< List< bool > >, List< charList >, List< labelList >, List< labelListList >, List< scalarList >, List< vectorList >, List< Field< scalar > >, List< Field< vector > >, List< Field< tensor > >, List< boolVector >, List< surfZone >, List< surfacePatch >, List< DynamicList< labelPairPair > >, List< pointIndexHitAndFeature >, List< complex >, List< T * >, List< List< scalar > >, List< List< pointIndexHit > >, List< Foam::ILList< DLListBase, T >< ParticleType > >, List< Foam::ILList< DLListBase, T >< typename Foam::DSMCParcel< particle > > >, List< Foam::ILList< DLListBase, T >< Foam::DSMCParcel< particle > > >, List< Foam::ILList< DLListBase, T >< Foam::molecule > >, pTraits< UList< T > >, List< T >, SubList< T >, and pTraits< UList< T > >.

Classes

struct  less
 A list compare binary predicate for normal sort. More...
struct  greater
 A list compare binary predicate for reverse sort. More...
struct  hasher
 Hashing functor for UList. More...
struct  Hash
 Deprecated(2021-04) hashing functor. Use hasher(). More...

Public Types

typedef T value_type
 The value type the list contains.
typedef Tpointer
 The pointer type for non-const access to value_type items.
typedef const Tconst_pointer
 The pointer type for const access to value_type items.
typedef Treference
 The type used for storing into value_type objects.
typedef const Tconst_reference
 The type used for reading from constant value_type objects.
typedef Titerator
 Random access iterator for traversing a UList.
typedef const Tconst_iterator
 Random access iterator for traversing a UList.
typedef label size_type
 The type to represent the size of a UList.
typedef label difference_type
 The difference between iterator objects.
typedef std::reverse_iterator< iteratorreverse_iterator
 Reverse iterator (non-const access).
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 Reverse iterator (const access).
using is_List = void
 Have unique tag.

Public Member Functions

 UList (const UList< T > &) noexcept=default
 Copy construct, shallow copy.
 UList (UList< T > &&) noexcept=default
 Move construct, shallow copy.
UList< T > & operator= (const UList< T > &)=delete
 No copy assignment (default: shallow copy).
UList< T > & operator= (UList< T > &&) noexcept=default
 Move assignment, shallow copy.
constexpr UList () noexcept
 Default construct, zero-sized and nullptr.
 UList (T *__restrict__ ptr, const label len) noexcept
 Construct from components.
 UList (SubList< T > &&) noexcept
 Move construct from a SubList, shallow copy.
label fcIndex (const label i) const noexcept
 The forward circular index. The next index in the list which returns to the first at the end of the list.
label rcIndex (const label i) const noexcept
 The reverse circular index. The previous index in the list which returns to the last at the beginning of the list.
const TfcValue (const label i) const
 Return forward circular value (ie, next value in the list).
TfcValue (const label i)
 Return forward circular value (ie, next value in the list).
const TrcValue (const label i) const
 Return reverse circular value (ie, previous value in the list).
TrcValue (const label i)
 Return reverse circular value (ie, previous value in the list).
const Tcdata () const noexcept
 Return pointer to the underlying array serving as data storage.
Tdata () noexcept
 Return pointer to the underlying array serving as data storage.
const char * cdata_bytes () const noexcept
 Return pointer to the underlying array serving as data storage,.
char * data_bytes () noexcept
 Return pointer to the underlying array serving as data storage,.
Tfront ()
 Access first element of the list, position [0].
const Tfront () const
 Access first element of the list.
Tback ()
 Access last element of the list, position [size()-1].
const Tback () const
 Access last element of the list, position [size()-1].
std::streamsize size_bytes () const noexcept
 Number of contiguous bytes for the List data.
std::streamsize byteSize () const
 Number of contiguous bytes for the List data, runtime FatalError if type is not contiguous.
void checkStart (const label start) const
 Check start is within valid range [0,size).
void checkSize (const label size) const
 Check size is within valid range [0,size].
void checkRange (const label start, const label len) const
 Check that start and length define a valid range.
void checkIndex (const label i) const
 Check index is within valid range [0,size).
bool uniform () const
 True if all entries have identical values, and list is non-empty.
bool contains (const T &val) const
 True if the value is contained in the list.
bool contains (const T &val, label pos, label len=-1) const
 Is the value contained in the list?
label find (const T &val) const
 Find index of the first occurrence of the value.
label find (const T &val, label pos, label len=-1) const
 Find index of the first occurrence of the value.
label rfind (const T &val, label pos=-1) const
 Find index of the last occurrence of the value.
void moveFirst (const label i)
 Move element to the first position.
void moveLast (const label i)
 Move element to the last position.
void swapFirst (const label i)
 Swap element with the first element. Fatal on an empty list.
void swapLast (const label i)
 Swap element with the last element. Fatal on an empty list.
void shallowCopy (T *__restrict__ ptr, const label len) noexcept
 Copy the pointer and size.
void shallowCopy (std::nullptr_t) noexcept
 Copy nullptr and zero size.
void shallowCopy (const UList< T > &list) noexcept
 Copy the pointer and size held by the given UList.
void deepCopy (const UList< T > &list)
 Copy elements of the given UList. Sizes must match!
template<class Addr>
void deepCopy (const IndirectListBase< T, Addr > &list)
 Copy elements of the given indirect list. Sizes must match!
SubList< Tslice (const label pos, label len=-1)
 Return SubList slice (non-const access) - no range checking.
const SubList< Tslice (const label pos, label len=-1) const
 Return SubList slice (const access) - no range checking.
SubList< Tslice (const labelRange &range)
 Return SubList slice (non-const access) - with range checking.
const SubList< Tslice (const labelRange &range) const
 Return SubList slice (const access) - with range checking.
Toperator[] (const label i)
 Return element of UList.
const Toperator[] (const label i) const
 Return element of constant UList.
 operator const Foam::List< T > & () const
 Allow cast to a const List<T>&.
void operator= (const T &val)
 Assignment of all entries to the given value.
void operator= (Foam::zero)
 Assignment of all entries to zero.
iterator begin () noexcept
 Return an iterator to begin traversing the UList.
iterator end () noexcept
 Return an iterator to end traversing the UList.
iterator begin (const label i) noexcept
 Return iterator at offset i from begin, clamped to [0,size] range.
const_iterator cbegin () const noexcept
 Return const_iterator to begin traversing the constant UList.
const_iterator cend () const noexcept
 Return const_iterator to end traversing the constant UList.
const_iterator begin () const noexcept
 Return const_iterator to begin traversing the constant UList.
const_iterator end () const noexcept
 Return const_iterator to end traversing the constant UList.
const_iterator cbegin (const label i) const noexcept
 Return const_iterator at offset i from begin, clamped to [0,size] range.
const_iterator begin (const label i) const noexcept
 Return const_iterator at offset i from begin, clamped to [0,size] range.
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.
bool empty () const noexcept
 True if List is empty (ie, size() is zero).
label size () const noexcept
 The number of elements in the container.
label capacity () const noexcept
 Size of the underlying storage.
void swap (UList< T > &list) noexcept
 Swap content with another UList of the same type in constant time.
bool operator== (const UList< T > &list) const
 Equality operation on ULists of the same type.
bool operator!= (const UList< T > &list) const
 The opposite of the equality operation. Takes linear time.
bool operator< (const UList< T > &list) const
 Compare two ULists lexicographically. Takes linear time.
bool operator> (const UList< T > &list) const
 Compare two ULists lexicographically. Takes linear time.
bool operator<= (const UList< T > &list) const
 Return true if !(a > b). Takes linear time.
bool operator>= (const UList< T > &list) const
 Return true if !(a < b). Takes linear time.
IstreamreadList (Istream &is)
 Read List contents from Istream.
void writeEntry (const word &keyword, Ostream &os) const
 Write the List as a dictionary entry with keyword.
OstreamwriteList (Ostream &os, const label shortLen=0) const
 Write List, with line-breaks in ASCII when length exceeds shortLen.
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool all () const
 True if all entries are 'true' or if the list is empty.
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool any () const
 True if any entries are 'true'.
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool none () const
 True if no entries are 'true'.
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool test (const label i) const
 Test bool value at specified position, always false for out-of-range access.
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool get (const label i) const
 Return bool value at specified position, always false for out-of-range access.
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool unset (const label i)
 Unset the bool entry at specified position, always false for out-of-range access.
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_char_v<TypeT>>>
std::string_view view () const
 Return a string_view of the charList. Content is non-modifiable.
Tfirst ()
 Access first element of the list, position [0].
const Tfirst () const
 Access first element of the list.
Tlast ()
 Access last element of the list, position [size()-1].
const Tlast () const
 Access last element of the list, position [size()-1].
bool found (const T &val, label pos=0) const
 Same as contains().
auto expr () const
 Wrap value as expression.
template<typename E>
void operator= (const Expression::ListExpression< E > &expr)
 Assign values from expression.

Static Public Member Functions

static const UList< T > & null () noexcept
 Return a null UList (reference to a nullObject). Behaves like an empty UList.
static constexpr label max_size () noexcept
 The size of the largest possible UList.

Protected Member Functions

void setAddressableSize (const label n) noexcept
 Set addressed size to be inconsistent with allocated storage.
void size (const label n)
 Older name for setAddressableSize.
void writeEntry (Ostream &os) const
 Write the UList with its compound type.
labelRange validateRange (const labelRange &requestedRange) const
 Return a validated (start,size) subset range, which means that it always addresses a valid section of the list.
void fill_uniform (const T &val)
 Assign all entries to the given value.
void fill_uniform (Foam::zero)
 Assign all entries to zero.

Friends

class List< T >
 Declare friendship with the List class.
class SubList< T >
 Declare friendship with the SubList class.
Istreamoperator>> (Istream &os, UList< T > &list)
 Use the readList() method to read contents from Istream.

Detailed Description

template<class T>
class Foam::UList< T >

A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscript bounds checking, etc.

Storage is not allocated during construction or use but is supplied to the constructor as an argument. This type of list is particularly useful for lists that refer to parts of existing lists such as SubList.

Source files

Definition at line 88 of file UList.H.

Member Typedef Documentation

◆ value_type

template<class T>
typedef T value_type

The value type the list contains.

Definition at line 153 of file UList.H.

◆ pointer

template<class T>
typedef T* pointer

The pointer type for non-const access to value_type items.

Definition at line 158 of file UList.H.

◆ const_pointer

template<class T>
typedef const T* const_pointer

The pointer type for const access to value_type items.

Definition at line 163 of file UList.H.

◆ reference

template<class T>
typedef T& reference

The type used for storing into value_type objects.

Definition at line 168 of file UList.H.

◆ const_reference

template<class T>
typedef const T& const_reference

The type used for reading from constant value_type objects.

Definition at line 173 of file UList.H.

◆ iterator

template<class T>
typedef T* iterator

Random access iterator for traversing a UList.

Definition at line 178 of file UList.H.

◆ const_iterator

template<class T>
typedef const T* const_iterator

Random access iterator for traversing a UList.

Definition at line 183 of file UList.H.

◆ size_type

template<class T>
typedef label size_type

The type to represent the size of a UList.

Definition at line 188 of file UList.H.

◆ difference_type

template<class T>
typedef label difference_type

The difference between iterator objects.

Definition at line 193 of file UList.H.

◆ reverse_iterator

template<class T>
typedef std::reverse_iterator<iterator> reverse_iterator

Reverse iterator (non-const access).

Definition at line 198 of file UList.H.

◆ const_reverse_iterator

template<class T>
typedef std::reverse_iterator<const_iterator> const_reverse_iterator

Reverse iterator (const access).

Definition at line 203 of file UList.H.

◆ is_List

template<class T>
using is_List = void

Have unique tag.

Definition at line 994 of file UList.H.

Constructor & Destructor Documentation

◆ UList() [1/5]

◆ UList() [2/5]

template<class T>
UList ( UList< T > && )
defaultnoexcept

Move construct, shallow copy.

◆ UList() [3/5]

template<class T>
UList ( )
inlineconstexprnoexcept

Default construct, zero-sized and nullptr.

Definition at line 28 of file UListI.H.

References Foam::noexcept.

◆ UList() [4/5]

template<class T>
UList ( T *__restrict__ ptr,
const label len )
inlinenoexcept

Construct from components.

Definition at line 36 of file UListI.H.

References Foam::noexcept, and Foam::T().

Here is the call graph for this function:

◆ UList() [5/5]

template<class T>
UList ( SubList< T > && )
noexcept

Move construct from a SubList, shallow copy.

Member Function Documentation

◆ setAddressableSize()

◆ size() [1/2]

template<class T>
void size ( const label n)
inlineprotected

Older name for setAddressableSize.

Definition at line 118 of file UList.H.

Referenced by AABBTree< Type >::AABBTree(), mapDistributeBase::accessAndFlip(), mapDistributeBase::accessAndFlip(), oversetFvMeshBase::active(), nullSpace::activeConstraints(), preserveBaffles::add(), extendedEdgeMesh::add(), fvMeshAdder::add(), polyMeshAdder::add(), polyMeshAdder::add(), ITstream::add_tokens(), fvMeshPrimitiveLduAddressing::addAddressing(), cyclicAMIPolyPatch::addAMIFaces(), topOVariablesBase::addBoundaryFacesToIsoline(), cellTable::addCellZones(), surfaceZonesInfo::addCellZonesToMesh(), topOVariablesBase::addCutBoundaryFaceToIsoline(), topOVariablesBase::addCuttingFaceToIsoline(), surfaceZonesInfo::addFaceZonesToMesh(), oversetFvMeshBase::addInterpolation(), edgeSurface::addIntersectionEdges(), snappyLayerDriver::addLayers(), snappyLayerDriver::addLayers(), interRegionExplicitPorositySource::addSup(), interRegionExplicitPorositySource::addSup(), faMatrix< Type >::addToInternalField(), fvMatrix< Type >::addToInternalField(), pointPatchField< Type >::addToInternalField(), pointPatchField< Type >::addToInternalField(), adjointSimple::addTopOFvOptions(), polyTopoChanger::addTopologyModifiers(), MeshedSurface< Face >::addZones(), MeshedSurface< Face >::addZones(), adjointSolverManager::adjointSolverManager(), oversetFvPatchField< Type >::adjustPsi(), polyMeshGeometry::affectedCells(), primitiveMeshGeometry::affectedCells(), AMIInterpolation::agglomerate(), decompositionGAMGAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), pairGAMGAgglomeration::agglomerate(), GAMGInterface::agglomerateCoeffs(), GAMGAgglomeration::agglomerateLduAddressing(), adjointSolverManager::aggregateSensitivities(), extendedEdgeMesh::allNearestFeaturePoints(), AMIInterpolation::AMIInterpolation(), lduMatrix::Amul(), AMIInterpolation::append(), PDRblock::gridControl::append(), Foam::appendCsvLabels(), fileRegEx::apply(), Foam::applyPermutation(), cellToFaceZone::applyToSet(), faceZoneToFaceZone::applyToSet(), searchableSurfaceToFaceZone::applyToSet(), setAndNormalToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), setToCellZone::applyToSet(), setToFaceZone::applyToSet(), setToPointZone::applyToSet(), face::areaInContact(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), bitSet::assign(), Foam::FieldOps::assign(), Foam::FieldOps::assign(), Foam::assignToProcessorGroup(), Foam::assignToProcessorGroup(), nullSpace::ATv(), extendedEdgeMesh::autoMap(), fvPatchField< Type >::autoMap(), nullSpace::Av(), Foam::average(), Foam::average(), Foam::average(), snappySnapDriver::avgCellCentres(), ITstream::back(), back(), back(), binaryTree< CompType, ThermoType >::balance(), meshRefinement::balance(), meshRefinement::balance(), Foam::meshTools::bandCompression(), uniformBin::binAddr(), binaryTree< CompType, ThermoType >::binaryTreeSearch(), bitSet::bitSet(), bladeModel::bladeModel(), Foam::blankElementMasks(), isoSurfaceBase::blockCells(), meshRefinement::blockLeakFaces(), PDRblock::blockMeshDict(), booleanSurface::booleanSurface(), booleanSurface::booleanSurface(), PrimitivePatch< FaceList, PointField >::boundaryFaces(), isoAdvection::boundFlux(), searchableExtrudedCircle::boundingSpheres(), searchableSurfaceCollection::boundingSpheres(), pairPotentialList::buildPotentials(), tetherPotentialList::buildPotentials(), SurfaceFilmModel< CloudType >::cacheFilmFields(), mappedPatchBase::calcAMI(), globalMeshData::calcCellCells(), globalMeshData::calcCellCells(), Foam::calcCellCellsImpl(), primitiveMesh::calcCells(), holeToFace::calcClosure(), AMIInterpolation::calcDistribution(), Foam::calcElementMasks(), enrichedPatch::calcEnrichedFaces(), addPatchCellLayer::calcExtrudeInfo(), polyDualMesh::calcFeatures(), cutCell::calcGeomDataCutFace(), cellLimitedGrad< Type, Limiter >::calcGrad(), faceLimitedGrad< Type >::calcGrad(), triSurfaceTools::calcInterpolationWeights(), TDILUPreconditioner< Type, DType, LUType >::calcInvD(), cutCell::calcIsoFacePointsFromEdges(), mappedPatchBase::calcMapping(), fieldMinMax::calcMinMaxFieldType(), snappySnapDriver::calcNearestSurface(), faPatch::calcPointEdges(), faPatch::calcPointLabels(), Foam::calcProximityOfFeatureEdges(), Foam::calcProximityOfFeaturePoints(), DICPreconditioner::calcReciprocalD(), DILUPreconditioner::calcReciprocalD(), distributedDILUPreconditioner::calcReciprocalD(), snappySnapDriver::calcSnapDistance(), cutFace::calcSubFace(), cutFace::calcSubFace(), cutFace::calcSubFace(), cutFace::calcSubFaceCentreAndArea(), cyclicAMIPolyPatch::calcTransforms(), cyclicPolyPatch::calcTransforms(), coupledFaPatch::calcTransformTensors(), coupledPolyPatch::calcTransformTensors(), AMIInterpolation::calculate(), correctedCellVolumeWeightMethod::calculate(), faceAreaWeightAMI2D::calculate(), faceAreaWeightAMI::calculate(), valueAverageBase::calculate(), surfaceNoise::calculate(), geometricElementTransformPointSmoother::calculate(), viewFactor::calculate(), waveMethod::calculate(), waveMethod::calculate(), mapNearestMethod::calculateAddressing(), correlationFunction< Type >::calculateCorrelationFunction(), calculatedProcessorGAMGInterface::calculatedProcessorGAMGInterface(), meshRefinement::calculateEdgeWeights(), parcelSelection::calculateFilter(), deltaBoundary::cellCenters_d(), dynamicRefineFvMesh::cellToPoint(), polyTopoChange::cellZones(), polyTopoChange::changeMesh(), layerAdditionRemoval::changeTopology(), topoSetSource::check(), Foam::checkAllHits(), primitiveMesh::checkClosedBoundary(), primitiveMesh::checkCommonOrder(), meshRefinement::checkData(), zone::checkDefinition(), coordSet::checkDimensions(), primitiveMesh::checkDuplicateFaces(), triSurface::checkEdges(), primitiveMeshGeometry::checkFaceDotProduct(), primitiveMesh::checkFaceOrthogonality(), Foam::checkFaceSizeMatch(), Foam::checkFaceSizeMatch(), primitiveMesh::checkFaceVertices(), extractEulerianParticles::checkFaceZone(), Cloud< ParticleType >::checkFieldIOobject(), Foam::checkFireEdges(), surfaceFeatures::checkFlatRegionEdge(), searchableSurfaces::checkIntersection(), dictionary::checkITstream(), entry::checkITstream(), hexRef8::checkMesh(), PatchTools::checkOrientation(), ZoneMesh< ZoneType, MeshType >::checkParallelSync(), primitiveMesh::checkPointNearness(), GAMGAgglomeration::checkRestriction(), checkSize(), ReactingCloud< CloudType >::checkSuppliedComposition(), PrimitivePatch< FaceList, PointField >::checkTopology(), triSurface::checkTriangles(), noiseModel::checkUniformTimeStep(), lduPrimitiveMesh::checkUpperTriangular(), primitiveMesh::checkUpperTriangular(), Foam::clamp(), Foam::clamp(), ensightFaces::classify(), ensightFaces::classify(), ensightFaces::classify(), extendedEdgeMesh::classifyEdge(), extendedEdgeMesh::classifyFeaturePoint(), DynamicList< token >::clearStorage(), PtrListDetail< CloudFunctionObject< CloudType > >::clone(), refinementHistory::clone(), Foam::cmptAv(), Foam::cmptMag(), Foam::cmptMagSqr(), Foam::cmptMax(), Foam::cmptMin(), cellShape::collapsedFaces(), triSurfaceTools::collapseEdges(), triSurfaceTools::collapseEdges(), extendedCellToFaceStencil::collectData(), extendedFaceToCellStencil::collectData(), mappedPatchBase::collectSamples(), ORourkeCollision< CloudType >::collide(), holeToFace::combine(), commSchedule::commSchedule(), refinementHistory::compact(), triSurface::compactPoints(), cellShape::compare(), face::compare(), removeFaces::compatibleRemoves(), Foam::ComplexField(), Foam::ComplexField(), Foam::ComplexField(), Foam::ComplexField(), Foam::ComplexField(), Foam::ComplexField(), NURBS3DVolume::computeControlPointSensitivities(), NURBS3DVolume::computeControlPointSensitivities(), multiDimPolyFitter< T >::computeMatrixSource(), multiDimPolyFitter< T >::computeMatrixSource(), nullSpace::computeNewtonDirection(), adjointSolver::computeObjectiveSensitivities(), NURBS3DVolume::computeParametricCoordinates(), nullSpace::computeResiduals(), polyLine::concat(), edgeCollapser::consistentCollapse(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), ConstantField< Type >::ConstantField(), nullSpace::constraintRelatedUpdate(), mapDistributeBase::constructMapSizes(), reconstructedDistanceFunction::constructRDF(), Foam::containerSizes(), IntegralScaleBox< Type >::convolve(), triSurfaceMesh::coordinates(), polySurface::copySurface(), polySurface::copySurface(), surfMesh::copySurface(), surfMesh::copySurface(), diffusionMulticomponent< ReactionThermo, ThermoType >::correct(), ensightMesh::correct(), directionalPressureGradientExplicitSource::correct(), inversePointDistanceDiffusivity::correct(), injectionModelList::correct(), transferModel::correct(), cellDistFuncs::correctBoundaryPointCells(), ReactingParcel< ParcelType >::correctSurfaceValues(), meshRefinement::countEdgeFaces(), cyclicPolyPatch::coupledEdges(), cyclicPolyPatch::coupledPoints(), UPstream::Window::create(), UPstream::Window::create(), UPstream::Window::create(), UPstream::Window::create(), meshRefinement::createBaffles(), AABBTree< Type >::createBoxes(), distanceSurface::createGeometry(), box::createMap(), inverseDistance::createStencil(), meshRefinement::createZoneBaffles(), displacementInterpolationMotionSolver::curPoints(), ITstream::currentToken(), curvatureSeparation::curvatureSeparation(), extendedEdgeMesh::cut(), geomCellLooper::cut(), hexCellLooper::cut(), topoCellLooper::cut(), Foam::meshTools::cutDirToEdge(), cyclicACMIGAMGInterface::cyclicACMIGAMGInterface(), cyclicACMIGAMGInterface::cyclicACMIGAMGInterface(), cyclicAMIGAMGInterface::cyclicAMIGAMGInterface(), cyclicAMIGAMGInterface::cyclicAMIGAMGInterface(), cyclicGAMGInterface::cyclicGAMGInterface(), fvMatrix< Type >::DD(), decompositionMethod::decompose(), decompositionMethod::decompose(), hierarchGeomDecomp::decompose(), manualDecomp::decompose(), metisLikeDecomp::decompose(), metisLikeDecomp::decompose(), metisLikeDecomp::decompose(), multiLevelDecomp::decompose(), multiLevelDecomp::decompose(), multiLevelDecomp::decompose(), noDecomp::decompose(), ptscotchDecomp::decompose(), ptscotchDecomp::decompose(), ptscotchDecomp::decompose(), randomDecomp::decompose(), simpleGeomDecomp::decompose(), structuredDecomp::decompose(), volBSplinesBase::decomposeDV(), metisLikeDecomp::decomposeGeneral(), kahipDecomp::decomposeSerial(), metisDecomp::decomposeSerial(), scotchDecomp::decomposeSerial(), deepCopy(), cyclicACMIFvPatch::delta(), cyclicAMIFvPatch::delta(), cyclicFaPatch::delta(), cyclicFvPatch::delta(), BorrvallPeterssonInterpolation::derivative(), expInterpolation::derivative(), invBP::derivative(), linearInterpolation::derivative(), sigmoidalHeaviside::derivative(), SIMPInterpolation::derivative(), sinhInterpolation::derivative(), smoothHeaviside::derivative(), tanhInterpolation::derivative(), Matrix< Form, Type >::diag(), dimensionSets::dimensionSets(), meshRefinement::directionalRefine(), directions::directions(), cellSet::distribute(), distributedTriSurfaceMesh::distribute(), faceSet::distribute(), mapDistributeBase::distribute(), mapDistributeBase::distribute(), mapDistributeBase::distribute(), pointSet::distribute(), refinementHistory::distribute(), distributedTriSurfaceMesh::distributedTriSurfaceMesh(), distributedTriSurfaceMesh::distributedTriSurfaceMesh(), distributedTriSurfaceMesh::distributedTriSurfaceMesh(), faMeshBoundaryHalo::distributeSparse(), Foam::dlLoaded(), Bezier::dndbBasedSensitivities(), Bezier::dndbBasedSensitivities(), NURBS3DVolume::dndbBasedSensitivities(), snappyLayerDriver::doLayers(), snappyRefineDriver::doRefine(), snappyVoxelMeshDriver::doRefine(), box::doRefineBoxes(), meshRefinement::doRemovePoints(), meshRefinement::doRestorePoints(), snappySnapDriver::doSnap(), surfaceInterpolationScheme< scalar >::dotInterpolate(), meshRefinement::dumpIntersections(), snappyLayerDriver::dupFaceZonePoints(), Foam::duplicateOrder(), Bezier::dxdbFace(), Bezier::dxdbFace(), DynamicField< T, SizeMin >::DynamicField(), DynamicField< T, SizeMin >::DynamicField(), DynamicField< T, SizeMin >::DynamicField(), DynamicField< T, SizeMin >::DynamicField(), DynamicField< T, SizeMin >::DynamicField(), DynamicField< T, SizeMin >::DynamicField(), DynamicField< T, SizeMin >::DynamicField(), DynamicField< T, SizeMin >::DynamicField(), DynamicField< T, SizeMin >::DynamicField(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), DynamicList< T, SizeMin >::DynamicList(), extendedEdgeMesh::edgeBaffles(), primitiveMesh::edgeFaces(), extendedEdgeMesh::edgeNormals(), PatchTools::edgeOwner(), face::edges(), triSurfaceTools::edgeSide(), edgeSurface::edgeSurface(), List< T >::emplace_back(), globalIndexAndTransform::encodeTransformIndex(), Foam::ListOps::equal(), Foam::ListOps::equal(), edgeInterpolationScheme< Type >::euclidianInterpolate(), mapDistributeBase::exchangeMasks(), ifeqEntry::execute(), includeEntry::execute(), includeEntry::execute(), includeEtcEntry::execute(), includeEtcEntry::execute(), functionObjectList::execute(), ddt2::execute(), extractEulerianParticles::execute(), setFlow::execute(), surfaceDistance::execute(), zeroGradient::execute(), extendedEdgeMesh::extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), ITstream::extract(), Foam::extractData(), Foam::extractValues(), Foam::extractValues(), faceCoupleInfo::faceCoupleInfo(), ABAQUSCore::faceDecomposition(), NASCore::faceDecomposition(), primitiveMesh::faceEdges(), LduMatrix< Type, DType, LUType >::faceH(), lduMatrix::faceH(), FaceInteraction< CloudType >::FaceInteraction(), Bezier::facePoints_d(), Bezier::facePoints_d(), FacePostProcessing< CloudType >::FacePostProcessing(), prismMatcher::faceSizeMatch(), tetWedgeMatcher::faceSizeMatch(), wedgeMatcher::faceSizeMatch(), OppositeFaceCellWave< Type, TrackingData >::faceToCell(), PrimitivePatchInterpolation< primitivePatch >::faceToEdgeInterpolate(), faceTriangulation::faceTriangulation(), faceTriangulation::faceTriangulation(), polyTopoChange::faceZones(), fcIndex(), featureEdgeMesh::featureEdgeMesh(), extendedEdgeMesh::featurePointNormals(), Foam::edgeMeshTools::featureProximity(), fft::fftRenumberRecurse(), boundaryDataSurfaceReader::fieldNames(), exprDriver::fillFunctionValues(), cellClassification::fillRegionEdges(), distanceSurface::filterFaceProximity(), distanceSurface::filterKeepLargestRegion(), distanceSurface::filterKeepNearestRegions(), distanceSurface::filterRegionProximity(), pointNoise::filterTimeData(), sensitivitySurfacePoints::finalisePointSensitivities(), find(), PtrListDetail< T >::find_next(), PtrListDetail< T >::find_next_not(), refinementSurfaces::findAllIntersections(), refinementSurfaces::findAllIntersections(), searchableSurfacesQueries::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), volBSplinesBase::findBoxID(), refinementParameters::findCells(), NURBS3DSurface::findClosestSurfacePoint(), TimePaths::findClosestTime(), TimePaths::findClosestTimeIndex(), shellSurfaces::findDirectionalLevel(), localPointRegion::findDuplicateFacePairs(), patchFieldProbe::findElements(), Foam::findEtcEntry(), shellSurfaces::findHigherGapLevel(), refinementSurfaces::findHigherIntersection(), inverseDistance::findHoles(), cellVolumeWeightMethod::findInitialSeeds(), directMethod::findInitialSeeds(), mapNearestMethod::findInitialSeeds(), refinementSurfaces::findInside(), fileOperation::findInstance(), masterUncollatedFileOperation::findInstance(), shellSurfaces::findLevel(), searchableBox::findLine(), searchableCone::findLine(), searchableCylinder::findLine(), searchableDisk::findLine(), searchablePlane::findLine(), searchablePlate::findLine(), searchableRotatedBox::findLine(), searchableSphere::findLine(), searchableSurfaceCollection::findLine(), searchableSurfaceWithGaps::findLine(), triSurfaceMesh::findLine(), triSurfaceSearch::findLine(), distributedTriSurfaceMesh::findLineAll(), searchableBox::findLineAll(), searchableCone::findLineAll(), searchableCylinder::findLineAll(), searchableDisk::findLineAll(), searchablePlane::findLineAll(), searchablePlate::findLineAll(), searchableRotatedBox::findLineAll(), searchableSphere::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableSurfaceWithGaps::findLineAll(), triSurfaceMesh::findLineAll(), triSurfaceSearch::findLineAll(), searchableBox::findLineAny(), searchableCone::findLineAny(), searchableCylinder::findLineAny(), searchableRotatedBox::findLineAny(), searchableSphere::findLineAny(), triSurfaceMesh::findLineAny(), triSurfaceSearch::findLineAny(), distributedTriSurfaceMesh::findNearest(), distributedTriSurfaceMesh::findNearest(), searchableSurfacesQueries::findNearest(), searchableSurfacesQueries::findNearest(), searchableSurfacesQueries::findNearest(), primitiveMesh::findNearestCell(), refinementSurfaces::findNearestIntersection(), refinementSurfaces::findNearestIntersection(), refinementSurfaces::findNearestIntersection(), refinementSurfaces::findNearestIntersection(), refinementSurfaces::findNearestIntersection(), searchableSurfacesQueries::findNearestIntersection(), refinementSurfaces::findNearestRegion(), refinementSurfaces::findNearestRegion(), refinementSurfaces::findNearestRegion(), searchableExtrudedCircle::findParametricNearest(), NURBS3DVolume::findPointsInBox(), instant::findRange(), meshRefinement::findRegions(), mappedPatchBase::findSamples(), polyMeshAdder::findSharedPoints(), instant::findStart(), multiDimPolyFitter< T >::fitData(), multiDimPolyFitter< T >::fitData(), multiDimPolyFitter< T >::fitData(), multiDimPolyFitter< T >::fitData(), fixedFluxPressureFvPatchScalarField::fixedFluxPressureFvPatchScalarField(), FixedList< T, N >::FixedList(), mapDistributeBase::flipAndCombine(), forceList::forceList(), forceList::forceList(), rigidBodyModel::forwardDynamics(), PtrListDetail< T >::free(), FreeStream< CloudType >::FreeStream(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), faceCorrectedSnGrad< Type >::fullGradCorrection(), lduPrimitiveMesh::gather(), PatchTools::gatherAndMerge(), decomposedBlockData::gatherProcData(), Foam::gAverage(), particleDistribution::generateDistribution(), fvMeshDistribute::generateTestField(), GeometricBoundaryField< Type, PatchField, GeoMesh >::GeometricBoundaryField(), PtrListDetail< T >::get(), PtrListDetail< T >::get(), Foam::getData(), zoneDistribute::getDatafromOtherProc(), Foam::getEdge(), Foam::ensightOutput::Detail::getFaceSizes(), distributedTriSurfaceMesh::getField(), parseDriver::getField(), searchableSurfaceCollection::getField(), zoneDistribute::getFields(), fileOperation::getGlobalHostIORanks(), fileOperation::getGlobalIORanks(), meshRefinement::getMasterEdges(), meshRefinement::getMasterPoints(), combineFaces::getMergeSets(), boundaryMesh::getNearest(), distributedTriSurfaceMesh::getNormal(), smoothTriSurfaceMesh::getNormal(), fvExprDriver::getOrReadFieldImpl(), combineFaces::getOutsideFace(), weightedPosition::getPoints(), Foam::ensightOutput::Detail::getPolysFacePoints(), Foam::ensightOutput::Detail::getPolysNFaces(), Foam::ensightOutput::Detail::getPolysNPointsPerFace(), zoneDistribute::getPositionFields(), distributedTriSurfaceMesh::getRegion(), hexRef8::getSplitPoints(), removePoints::getUnrefimentSet(), fvExprDriver::getVariable(), parseDriver::getVariableIfAvailable(), cellLooper::getVertEdgesNonFace(), triSurfaceTools::getVertexTriangles(), distributedTriSurfaceMesh::getVolumeType(), topOZones::getZoneIDs(), cellCellStencil::globalCellCells(), globalIndex::globalIndex(), cylindrical::globalToLocal(), distributedTriSurfaceMesh::globalTris(), coupledFvPatchField< Type >::gradientInternalCoeffs(), coupledFvPatchField< Type >::gradientInternalCoeffs(), triSurfaceTools::greenRefine(), chemPointISAT< CompType, ThermoType >::grow(), lduMatrix::H(), fvMatrix< Type >::H1(), faMesh::haloFaceCentres(), faMesh::haloFaceNormals(), FaceCellWave< Type, TrackingData >::handleAMICyclicPatches(), FaceCellWave< Type, TrackingData >::handleCyclicPatches(), FaceCellWave< Type, TrackingData >::handleProcPatches(), if(), if(), if(), Foam::Im(), Foam::Im(), Distribution< Type >::index(), faBoundaryMesh::indices(), pointBoundaryMesh::indices(), polyBoundaryMesh::indices(), ZoneMesh< ZoneType, MeshType >::indices(), FreeStream< CloudType >::inflow(), dynamicRefineFvMesh::init(), heatExchangerModel::initialise(), InjectedParticleDistributionInjection< CloudType >::initialise(), InjectedParticleInjection< CloudType >::initialise(), surfaceNoise::initialise(), viewFactor::initialise(), extractEulerianParticles::initialiseBins(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), fluxSummary::initialiseSurfaceAndDirection(), optimisationManager::initialize(), lduCalculatedProcessorField< Type >::initInterfaceMatrixUpdate(), processorPolyPatch::initOrder(), Foam::inplaceSubset(), Foam::inplaceUniqueSort(), NURBS3DCurve::insertKnot(), NURBSbasis::insertKnot(), correlationFunction< Type >::integral(), FieldFunction1< Function1Type >::integrate(), polynomialFunction::integrate(), linearInterpolationWeights::integrationWeights(), vtuAdaptor::internal(), cyclicACMIGAMGInterface::internalFieldTransfer(), cyclicAMIGAMGInterface::internalFieldTransfer(), AMIInterpolation::interpolate(), cellCellStencil::interpolate(), cyclicAMIPolyPatch::interpolate(), cyclicAMIPolyPatch::interpolate(), edgeInterpolationScheme< Type >::interpolate(), cellDecomposer::interpolate(), fvMeshSubset::interpolate(), interpolationCellPointFace< Type >::interpolate(), leastSquaresEdgeInterpolation< Type >::interpolate(), pointToPointPlanarInterpolation::interpolate(), singleCellFvMesh::interpolate(), topODesignVariables::interpolate(), meshToMesh0::interpolateField(), meshToMesh0::interpolateInternalField(), cellVolumeWeight::interpolatePatchTypes(), Foam::interpolatePointToCell(), Foam::interpolateSplineXY(), interpolationTable< Type >::interpolateValue(), interpolationTable< Type >::interpolateValues(), Foam::interpolateXY(), Foam::interpolateXY(), gradingDescriptors::inv(), Foam::inv(), Foam::inv(), Foam::inv(), Foam::invTransform(), coordinateSystem::invTransformPointImpl(), IOobjectList::IOobjectList(), prismMatcher::isA(), tetWedgeMatcher::isA(), wedgeMatcher::isA(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), isoSurfaceTopo::isoSurfaceTopo(), triSurfaceMesh::isSurfaceClosed(), Distribution< Type >::keys(), cell::labels(), lduPrimitiveMesh::lduPrimitiveMesh(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), lineDivide::lineDivide(), List< T >::List(), List< T >::List(), IndirectListBase< T, Addr >::list(), ListsConstRefWrap< V >::ListsConstRefWrap(), decompositionGAMGAgglomeration::localCellCells(), face::longestEdge(), fileOperation::lookupAndCacheProcessorsPath(), zone::lookupMap(), lookupProfile::lookupProfile(), cellCuts::loopPoints(), Foam::lumpedPointTools::lumpedPointStates(), cell::mag(), Foam::mag(), Foam::magSqr(), deltaBoundary::makeCellCentres_d(), Foam::makeConstraints(), cyclicFaPatch::makeDeltaCoeffs(), primitiveMeshTools::makeFaceCentresAndAreas(), faceCoupleInfo::makeMap(), faceCoupleInfo::makeMap(), polyTopoChange::makeMesh(), averageNeighbourFvGeometryScheme::makeNonOrthoWeights(), cyclicFaPatch::makeWeights(), coordinateSystem::manyTimesImpl(), Field< Type >::map(), Field< Type >::map(), Field< Type >::map(), lduAddressing::map(), meshRefinement::mapBaffles(), cyclicACMIPolyPatch::mapCollocatedFaces(), fvMeshAdder::MapDimField(), mapDistribute::mapDistribute(), mapDistribute::mapDistribute(), mapDistribute::mapDistributeBase(), mapDistributeBase::mapDistributeBase(), mapDistributeBase::mapDistributeBase(), snappyLayerDriver::mapFaceZonePoints(), fvMesh::mapFields(), Foam::MapLagrangianFields(), Foam::MapLagrangianFields(), meshToMesh::mapSrcToTgt(), meshToMesh::mapSrcToTgt(), meshToMesh::mapSrcToTgt(), meshToMesh::mapTgtToSrc(), meshToMesh::mapTgtToSrc(), meshToMesh::mapTgtToSrc(), inverseDistance::markDonors(), trackingInverseDistance::markDonors(), edgeCollapser::markMergeEdges(), PatchTools::markZone(), triSurface::markZone(), PatchTools::markZones(), triSurface::markZones(), momentOfInertia::massPropertiesShell(), momentOfInertia::massPropertiesSolid(), degenerateMatcher::match(), processorPolyPatch::matchFace(), scalars::matching(), wordRes::matching(), wordRes::matching(), Foam::matchPoints(), Foam::matchPoints(), Foam::max(), correlationFunction< Type >::measurandFieldSize(), Distribution< Type >::median(), distribution::median(), cellToCellStencil::merge(), cellToFaceStencil::merge(), edgeIntersections::merge(), meshRefinement::mergeBaffles(), meshRefinement::mergeEdgesUndo(), meshRefinement::mergeFreeStandingBaffles(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), globalMeshData::mergePoints(), globalMeshData::mergePoints(), triSurfaceTools::mergePoints(), extendedEdgeMesh::mergePointsAndSort(), fileOperation::mergeTimes(), meshRefinement::mergeZoneBaffles(), cellShape::meshEdges(), PrimitivePatch< FaceList, PointField >::meshEdges(), MeshedSurface< Face >::MeshedSurface(), MeshedSurface< Face >::MeshedSurface(), MeshedSurface< Face >::MeshedSurface(), cellShape::meshFaces(), momentOfInertia::meshInertia(), Foam::min(), edgeIntersections::minEdgeLength(), Foam::minMagSqr(), fieldSmoother::minSmoothField(), attachDetach::modifyMotionPoints(), slidingInterface::modifyMotionPoints(), moveLast(), regionModel1D::moveMesh(), polyMesh::movePoints(), polyTopoChange::movePoints(), solidBodyFvGeometryScheme::movePoints(), multiDirRefinement::multiDirRefinement(), multiDirRefinement::multiDirRefinement(), PrimitivePatch< FaceList, PointField >::nBoundaryEdges(), bufferedAccumulator< Type >::nBuffers(), surfaceFeatures::nearestEdges(), meshRefinement::nearestIntersection(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), PrimitivePatch< List< face >, const pointField >::nEdges(), LduMatrix< Type, DType, LUType >::negSumDiag(), lduMatrix::negSumDiag(), polyBoundaryMesh::neighbourEdges(), chemistryReductionMethod< CompType, ThermoType >::New(), chemistryTabulationMethod< CompType, ThermoType >::New(), combustionModel::New(), reuseTmp< TypeR, Type1 >::New(), UPstream::newCommunicator(), List< T >::newElmt(), masterUncollatedFileOperation::NewIFstream(), cyclicPolyPatch::newInternalProcFaces(), mappedPolyPatch::newInternalProcFaces(), mappedWallPolyPatch::newInternalProcFaces(), fvMeshTools::newMesh(), faPatch::ngbPolyPatchPointNormals(), cellCuts::nonAnchorPoints(), cyclicACMIPolyPatch::nonOverlapPatchID(), surfaceLocation::normal(), distribution::normalisedShifted(), AMIInterpolation::normaliseWeights(), potential::nPairPotentials(), faPatch::nPoints(), PrimitivePatch< List< face >, const pointField >::nPoints(), surfMesh::nPoints(), ITstream::nRemainingTokens(), MeshedSurface< Face >::nTriangles(), MeshedSurface< Face >::nTriangles(), objectiveManager::objectiveManager(), noiseFFT::octaveBandInfo(), noiseFFT::octaves(), noiseModel::octaves(), offsetSurface::offsetSurface(), coordinateSystem::oneToManyImpl(), coordinateSystem::oneToOneImpl(), dlLibraryTable::open(), dlLibraryTable::open(), projectVertex::operator point(), csvTableReader< Type >::operator()(), DynamicField< T, SizeMin >::operator()(), DynamicList< T, SizeMin >::operator()(), interpolation2DTable< Type >::operator()(), polynomialFunction::operator+=(), polynomialFunction::operator-=(), Foam::operator<<(), BiIndirectList< T >::operator=(), cellTable::operator=(), List< T >::operator=(), List< T >::operator=(), Foam::operator==(), Foam::operator>>(), interpolationTable< Type >::operator[](), cell::opposingFace(), cell::opposingFaceLabel(), processorPolyPatch::order(), triSurfaceTools::otherFace(), Foam::outer(), updateMethod::outerProd(), distributedTriSurfaceMesh::overlappingSurface(), oversetGAMGInterface::oversetGAMGInterface(), PackedList< Width >::PackedList(), pairPatchAgglomeration::pairPatchAgglomeration(), pairPatchAgglomeration::pairPatchAgglomeration(), argList::parse(), ITstream::parse(), Foam::parseStream(), SortableList< T >::partialReverseSort(), SortableList< T >::partialSort(), ParticleCollector< CloudType >::ParticleCollector(), ParticleZoneInfo< CloudType >::ParticleZoneInfo(), NURBS3DVolume::patchDxDbFace(), polyBoundaryMesh::patchID(), sampledPatch::patchIDs(), boundaryMesh::patchify(), faPatch::patchInternalField(), fvPatch::patchInternalField(), pointPatchField< Type >::patchInternalField(), cyclicFaPatchField< Type >::patchNeighbourField(), patchZones::patchZones(), exprValue::peekType(), SprayCloud< CloudType >::penetration(), noiseFFT::Pf(), primitiveMesh::pointCells(), PatchToPatchInterpolation< FromPatch, ToPatch >::pointInterpolate(), pointMVCWeight::pointMVCWeight(), PatchTools::pointNormals(), PatchTools::pointNormals(), primitiveMesh::pointPoints(), Foam::vtk::Tools::Points(), vtuAdaptor::points(), vtuAdaptor::points(), PrimitivePatchInterpolation< primitivePatch >::pointToFaceInterpolate(), polyTopoChange::pointZones(), polyMesh::polyMesh(), polyMesh::polyMesh(), polyMesh::polyMesh(), polyMesh::polyMesh(), Foam::polyMeshZipUpCells(), Polynomial< PolySize >::Polynomial(), DynamicField< T, SizeMin >::pop_back(), DynamicList< T, SizeMin >::pop_back(), List< T >::pop_back(), blockEdge::position(), bezier::position(), projectCurveEdge::position(), projectEdge::position(), Foam::pow(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), DiagonalPreconditioner< Type, DType, LUType >::precondition(), diagonalPreconditioner::precondition(), DICPreconditioner::precondition(), DILUPreconditioner::precondition(), distributedDILUPreconditioner::precondition(), FDICPreconditioner::precondition(), GAMGPreconditioner::precondition(), noPreconditioner::precondition(), TDILUPreconditioner< Type, DType, LUType >::precondition(), DILUPreconditioner::preconditionT(), TDILUPreconditioner< Type, DType, LUType >::preconditionT(), PDRblock::gridControl::prepend(), Foam::prependList(), pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField(), filmTurbulenceModel::primaryRegionFriction(), dynamicIndexedOctree< Type >::print(), foamToVtkReportFields::print(), indexedOctree< Type >::print(), OTstream::print(), sampledCuttingPlane::print(), sampledFaceZone::print(), sampledMeshedSurface::print(), sampledPatch::print(), sampledPatchInternalField::print(), sampledPlane::print(), PtrListDetail< T >::printAddresses(), GAMGAgglomeration::printLevels(), Foam::printMaps(), fileOperation::printRanks(), Foam::printRootsSubscription(), GAMGProcAgglomeration::printStats(), basicThermo::printThermoNames(), GAMGAgglomeration::procAgglomerateLduAddressing(), GAMGAgglomeration::procAgglomerateRestrictAddressing(), pointNoise::processData(), genericPatchFieldBase::processEntry(), processorGAMGInterface::processorGAMGInterface(), faceAreaWeightAMI::processSourceFace(), particle< Type >::procTetPt(), profileModelList::profileModelList(), noiseFFT::PSDf(), DynamicField< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), List< T >::push_back(), List< T >::push_back(), volPointInterpolationAdjoint::pushUntransformedData(), FIRECore::putFireLabels(), pyrolysisModelCollection::pyrolysisModelCollection(), cutFaceAdvect::quadAreaCoeffs(), interpolationTable< Type >::rateOfChange(), face::rcEdges(), rcIndex(), Foam::Re(), Foam::Re(), Reaction< ReactionThermo >::reactionStr(), binModel::read(), cloudSolution::read(), ABAQUSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OBJedgeFormat::read(), OBJsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), STARCDsurfaceFormat< Face >::read(), STLsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), VTKsurfaceFormat< Face >::read(), masterUncollatedFileOperation::read(), fieldAverage::read(), fluxSummary::read(), multiRegion::read(), runTimeControl::read(), unequalBinWidth::read(), ITstream::read(), primitiveEntry::read(), primitiveEntry::read(), tabulated6DoFMotion::read(), tabulated6DoFAcceleration::read(), STARCDMeshReader::readBoundary(), designVariables::readBounds(), STARCDMeshReader::readCells(), CompactIOField< T >::readCompact(), CompactIOList< T >::readCompact(), waveModel::readDict(), Foam::readDir(), triSurfaceLoader::readDir(), levelSetDesignVariables::readField(), ReactingMultiphaseParcel< ParcelType >::readFields(), ReactingParcel< ParcelType >::readFields(), Foam::readFields(), ensightSurfaceReader::readGeometry(), Foam::readLagrangian(), CircularBuffer< T >::readList(), DynamicField< scalar >::readList(), readList(), ReactingParcel< ParcelType >::readObjects(), Foam::readObjVertices(), fvMeshTools::readProcAddressing(), surfaceNoise::readSurfaceData(), ABAQUSCore::readHelper::readSurfaceElements(), boundaryMesh::readTriSurface(), Foam::readUniformFields(), surfMesh::readUpdate(), mapDistributeBase::receive(), mapDistributeBase::receive(), InteractionLists< ParticleType >::receiveReferredData(), triSurfaceTools::redGreenRefine(), DAC< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), PFA< CompType, ThermoType >::reduceMechanism(), Foam::reduceOffsets(), box::refineBox(), box::refineBox(), meshRefinement::refineCandidates(), refinementHistory::refinementHistory(), regionModelFunctionObjectList::regionModelFunctionObjectList(), edgeMesh::regions(), searchableSurfaceCollection::regions(), regionSplit2D::regionSplit2D(), Foam::ReImSum(), Foam::ReImSum(), faMatrix< Type >::relax(), fvMatrix< Type >::relax(), MeshedSurface< Face >::remapFaces(), MeshedSurface< Foam::face >::remapFaces(), UnsortedMeshedSurface< Face >::remapFaces(), DynamicList< token >::remove(), ITstream::remove(), cyclicAMIPolyPatch::removeAMIFaces(), edgeIntersections::removeDegenerates(), fvMeshTools::removeEmptyPatches(), meshRefinement::removeGapCells(), dynamicIndexedOctree< Type >::removeIndex(), RemoveParcels< CloudType >::RemoveParcels(), undoableMeshCutter::removeSplitFaces(), manualRenumber::renumber(), noRenumber::renumber(), noRenumber::renumber(), randomRenumber::renumber(), randomRenumber::renumber(), renumberMethod::renumber(), SloanRenumber::renumber(), structuredRenumber::renumber(), zoltanRenumber::renumber(), springRenumber::renumberImpl(), UPtrList< T >::reorder(), cyclicACMIPolyPatch::reportCoverage(), AMIWeights::reportPatch(), faMeshBoundaryHalo::reset(), fvMeshSubset::reset(), SubList< T >::reset(), cyclicAMIPolyPatch::resetAMI(), polyMesh::resetPrimitives(), PtrListDetail< T >::resize(), DynamicField< T, SizeMin >::resize(), DynamicField< T, SizeMin >::resize(), DynamicList< T, SizeMin >::resize(), FixedList< T, 2 >::resize(), DynamicList< token >::resize_fill(), AMICache::restoreCache(), GAMGAgglomeration::restrictFaceField(), GAMGAgglomeration::restrictField(), pairPatchAgglomeration::restrictField(), mappedPatchFieldBase< Type >::retrieveField(), Foam::reverse(), face::reverseFace(), rfind(), CompositionModel< CloudType >::rho(), noiseFFT::RMSmeanPf(), coordinateSystem::rotationsImpl(), face::sameVertices(), nearWallFields::sampleBoundaryField(), sampledMeshedSurface::sampleOnFaces(), sampledPatchInternalField::sampleOnFaces(), sampledSurface::sampleOnFaces(), sampledMeshedSurface::sampleOnPoints(), sampledPatchInternalField::sampleOnPoints(), sampledSurface::sampleOnPoints(), cyclicACMIPolyPatch::scalePatchFaceAreas(), searchableSurfaces::searchableSurfaces(), ITstream::seek(), extendedEdgeMesh::select(), timeSelector::select(), triSurfaceLoader::select(), timeSelector::selected(), dynamicRefineFvMesh::selectRefineCells(), dynamicRefineFvMesh::selectUnrefinePoints(), mapDistributeBase::send(), mapDistributeBase::send(), distributedDILUPreconditioner::sendGlobal(), InteractionLists< ParticleType >::sendReferredData(), Foam::BitOps::set(), Foam::BitOps::set(), cyclicAMIPolyPatch::setAMIFaces(), extractEulerianParticles::setBlockedFaces(), Foam::setBlockFaceCorrespondence(), DynamicField< T, SizeMin >::setCapacity(), DynamicList< token >::setCapacity_nocopy(), NURBS3DVolume::setControlPoints(), volumetricBSplinesMotionSolver::setControlPointsMovement(), Time::setControls(), refinementSurfaces::setCurvatureMinLevelFields(), noiseFFT::setData(), faceSetOption::setFaceSelection(), boundaryMesh::setFeatureEdges(), pointPatchField< Type >::setInInternalField(), fvGeometryScheme::setMeshPhi(), refinementSurfaces::setMinLevelFields(), cellVolumeWeightMethod::setNextCells(), mapNearestMethod::setNextNearestCells(), noiseModel::setOctaveBands(), weightedPosition::setPoints(), PatchFlowRateInjection< CloudType >::setPositionAndCell(), box::setRefineFlags(), addPatchCellLayer::setRefinement(), boundaryCutter::setRefinement(), combineFaces::setRefinement(), createShellMesh::setRefinement(), duplicatePoints::setRefinement(), edgeCollapser::setRefinement(), faceCollapser::setRefinement(), hexRef8::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), perfectInterface::setRefinement(), refinementIterator::setRefinement(), removeCells::setRefinement(), removeFaces::setRefinement(), tetDecomposer::setRefinement(), timeSelector::setTimeIfPresent(), coordSetWriter::setTrackTimes(), combineFaces::setUnrefinement(), hexRef8::setUnrefinement(), removePoints::setUnrefinement(), Foam::ListOps::setValue(), Foam::ListOps::setValue(), Foam::ListOps::setValue(), Foam::ListOps::setValue(), regularisationPDE::setValues(), UnsortedMeshedSurface< Face >::setZones(), UnsortedMeshedSurface< Face >::setZones(), UnsortedMeshedSurface< Face >::setZones(), ISQP::ShermanMorrisonPrecon(), distributedWeightedFvPatchFieldMapper::size(), faAreaMapper::size(), facePointPatch::size(), meshPointPatch::size(), phasePropertiesList::size(), searchableExtrudedCircle::size(), ITstream::skip(), SLGThermo::SLGThermo(), slice(), slice(), Foam::fvc::smooth(), fieldSmoother::smoothLambdaMuDisplacement(), fieldSmoother::smoothNormals(), fieldSmoother::smoothPatchNormals(), basicSymmetryFaPatchField< Type >::snGrad(), basicSymmetryFvPatchField< Type >::snGrad(), coupledFaPatchField< Type >::snGrad(), coupledFvPatchField< Type >::snGrad(), faPatchField< Type >::snGrad(), fvPatchField< Type >::snGrad(), processorFaPatchField< Type >::snGrad(), processorFvPatchField< Type >::snGrad(), GAMGSolver::solve(), LLTMatrix< Type >::solve(), rigidBodyMeshMotion::solve(), sixDoFRigidBodyMotionSolver::solve(), TDACChemistryModel< psiReactionThermo, constGasHThermoPhysics >::solve(), fvMatrix< scalar >::solveSegregated(), ParSortableList< Type >::sort(), SortableList< T >::SortableList(), SortableList< T >::SortableList(), SortableList< T >::SortableList(), SortableList< T >::SortableList(), PatchTools::sortedEdgeFaces(), extendedEdgeMesh::sortedOrder(), Foam::sortedOrder(), PatchTools::sortedPointEdges(), UnsortedMeshedSurface< Face >::sortedZones(), MeshedSurface< Face >::sortFacesAndStore(), UPtrList< T >::sortOrder(), extendedEdgeMesh::sortPointsAndEdges(), fileOperation::sortTimes(), meshRefinement::splitFace(), meshRefinement::splitFacesUndo(), meshRefinement::splitMeshRegions(), Foam::fvc::spread(), Foam::sqr(), Foam::stabilise(), cellVolumeWeight::stencilWeights(), inverseDistance::stencilWeights(), leastSquares::stencilWeights(), Foam::stepBackwardsToNextPoint(), Foam::stepForwardsToNextPoint(), mappedPatchFieldBase< Type >::storeAndRetrieveField(), hexRef8::storeData(), mappedPatchFieldBase< Type >::storeField(), mappedPatchFieldBase< scalar >::storeField(), streamLineParticle::streamLineParticle(), SubList< T >::SubList(), SubList< T >::SubList(), mapDistributeBase::subMapSizes(), fileOperation::subRanks(), hexRef8::subset(), refinementHistory::subset(), topoSet::subset(), Foam::subsetAdjacency(), Foam::subsetAdjacency(), meshRefinement::subsetBaffles(), triSurface::subsetMesh(), faMatrix< Type >::subtractFromInternalField(), fvMatrix< Type >::subtractFromInternalField(), Foam::sum(), Foam::sumCmptMag(), Foam::sumCmptProd(), LduMatrix< Type, DType, LUType >::sumDiag(), lduMatrix::sumDiag(), Foam::sumMag(), LduMatrix< Type, DType, LUType >::sumMagOffDiag(), lduMatrix::sumMagOffDiag(), Foam::sumProd(), Foam::sumProd(), Foam::sumProd(), Foam::sumProd(), Foam::sumSqr(), reconstructionSchemes::surface(), surfaceFeatures::surfaceFeatures(), surfaceIntersection::surfaceIntersection(), Foam::fvc::surfaceSum(), PrimitivePatch< FaceList, PointField >::surfaceType(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), swapLast(), Foam::fvc::sweep(), Foam::symmOuter(), syncTools::syncBoundaryFaceList(), globalMeshData::syncData(), globalMeshData::syncData(), syncTools::syncEdgeList(), syncTools::syncEdgeList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), globalMeshData::syncPointData(), syncTools::syncPointList(), syncTools::syncPointList(), syncTools::syncPointMap(), weightedPosition::syncPoints(), pointConstraints::syncUntransformedData(), Foam::FieldOps::ternary(), Foam::FieldOps::ternarySelect(), Foam::FieldOps::ternarySelect(), meshRefinement::testSyncBoundaryFaceList(), cutFaceAdvect::timeIntegratedArea(), cutFaceAdvect::timeIntegratedFaceFlux(), pointToPointPlanarInterpolation::timeNames(), Foam::BitOps::toc(), ITstream::toString(), MeshedSurface< face >::transcribe(), MeshedSurface< Face >::transfer(), FaceCellWave< Type, TrackingData >::transform(), fft::transform(), Foam::transform(), Foam::transform(), Foam::transformList(), Foam::transformList(), Foam::transformList(), globalIndexAndTransform::transformPatches(), coordinateSystem::transformPointImpl(), rigidBodyMotion::transformPoints(), rigidBodyMotion::transformPoints(), face::triangles(), MeshedSurface< Face >::triangulate(), triSurfaceTools::triangulateFaceCentre(), triSurface::triFaceFaces(), extendedEdgeMesh::trim(), surfaceFeatures::trimFeatures(), triSurface::triSurfInstance(), mapDistributeBase::unionCombineMasks(), wordRes::uniq(), wordRes::uniq(), PrimitivePatch< FaceList, PointField >::uniqBoundaryFaces(), Foam::uniqueOrder(), Foam::unitSet(), CompactListList< label >::unpack(), PackedList< 1 >::unpack(), dynamicRefineFvMesh::unrefine(), Foam::unzip(), Foam::unzip(), Foam::unzip(), Foam::unzip(), Foam::unzip(), cellVolumeWeight::update(), inverseDistance::update(), trackingInverseDistance::update(), oversetFvMeshBase::updateAddressing(), primitiveMeshTools::updateCellCentresAndVols(), thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), externalWallHeatFluxTemperatureFvPatchScalarField::updateCoeffs(), humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs(), lumpedPointDisplacementPointPatchVectorField::updateCoeffs(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), nullSpace::updateCorrectionIndices(), ReactingHeterogeneousParcel< ReactingParcel< ThermoParcel< KinematicParcel< particle > > > >::updatedDeltaVolume(), ReactingMultiphaseParcel< ReactingParcel< ThermoParcel< KinematicParcel< particle > > > >::updatedDeltaVolume(), ReactingParcel< ThermoParcel< KinematicParcel< particle > > >::updatedDeltaVolume(), solidBodyFvGeometryScheme::updateGeom(), processorGAMGInterfaceField::updateInterfaceMatrix(), meshRefinement::updateIntersections(), topoBitSet::updateLabels(), topoBoolSet::updateLabels(), topoSet::updateLabels(), meshRefinement::updateList(), addPatchCellLayer::updateMesh(), boundaryCutter::updateMesh(), CellZoneInjection< CloudType >::updateMesh(), componentDisplacementMotionSolver::updateMesh(), faGlobalMeshData::updateMesh(), hexRef8::updateMesh(), hexRef8Data::updateMesh(), meshRefinement::updateMesh(), points0MotionSolver::updateMesh(), processorFaPatch::updateMesh(), refinementHistory::updateMesh(), removePoints::updateMesh(), ZoneMesh< ZoneType, MeshType >::updateMetaData(), fileFieldSelection::updateSelection(), solverFieldSelection::updateSelection(), volFieldSelection::updateSelection(), fileMonitor::updateStates(), dynamicRefineFvMesh::updateTopology(), LBFGS::updateVectors(), nullSpace::updateViolatedIndices(), Foam::HashSetOps::used(), polynomialFunction::value(), coupledFvPatchField< Type >::valueBoundaryCoeffs(), coupledFvPatchField< scalar >::valueBoundaryCoeffs(), coupledFvPatchField< Type >::valueInternalCoeffs(), Foam::vtk::Tools::Vertices(), surfaceIteratorIso::vofCutCell(), surfaceIteratorPLIC::vofCutCell(), cuttingSurfaceBase::walkCellCuts(), cellCellStencil::walkFront(), wallBoundedStreamLineParticle::wallBoundedStreamLineParticle(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), reader::warnDuplicates(), meshReader::warnDuplicates(), meshRefinement::weightedSum(), polyBoundaryMesh::whichPatchFace(), ZoneMesh< ZoneType, MeshType >::whichZones(), PtrListDetail< T >::write(), ABAQUSsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), FLMAsurfaceFormat< Face >::write(), GTSsurfaceFormat< Face >::write(), GTSsurfaceFormat< Face >::write(), NASsurfaceFormat< Face >::write(), OBJedgeFormat::write(), OBJsurfaceFormat< Face >::write(), OFFsurfaceFormat< Face >::write(), SMESHsurfaceFormat< Face >::write(), STARCDedgeFormat::write(), STARCDsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), VTKsurfaceFormat< Face >::write(), VTPsurfaceFormat< Face >::write(), VTPsurfaceFormat< Face >::write(), X3DsurfaceFormat< Face >::write(), particleDistribution::write(), regionSizeDistribution::write(), viewFactorHeatFlux::write(), OBJstream::write(), OFstreamCollator::write(), oversetFvMeshBase::write(), ParticleCollector< CloudType >::write(), debugWriter::write(), foamWriter::write(), rawWriter::write(), vtkWriter::write(), oversetFvMeshBase::writeAgglomeration(), STLsurfaceFormat< Face >::writeAscii(), STLsurfaceFormat< Face >::writeAscii(), STLsurfaceFormat< Face >::writeBinary(), decomposedBlockData::writeBlocks(), volumetricBSplinesDesignVariables::writeBounds(), ensightCells::writeBox(), coordSetWriter::writeBufferContents(), STARCDedgeFormat::writeCase(), VTKsurfaceFormatCore::writeCellData(), VTPsurfaceFormatCore::writeCellData(), triSurfaceTools::writeCloseness(), CompactIOField< T >::writeCompact(), CompactIOList< T >::writeCompact(), surfZoneIOList::writeData(), writeEntry(), ReactingParcel< ParcelType >::writeFields(), topOVariablesBase::writeFluidSolidInterface(), lumpedPointMovement::writeForcesAndMomentsVTP(), externalCoupled::writeGeometry(), AC3DsurfaceFormatCore::writeHeader(), advancingFrontAMI::writeIntersectionOBJ(), Foam::ensightOutput::Detail::writeLabelListList(), writeList(), faceAreaWeightAMI2D::writeNoMatch(), Foam::meshTools::writeOBJ(), Foam::meshTools::writeOBJ(), CompactIOField< T >::writeObject(), CompactIOList< T >::writeObject(), oversetFvMeshBase::writeObject(), ReactingParcel< ParcelType >::writeObjects(), Foam::ensightOutput::writePolysPoints(), Foam::ensightOutput::writePolysPoints(), fvMeshTools::writeProcAddressing(), distributedTriSurfaceMesh::writeStats(), edgeMesh::writeStats(), Foam::edgeMeshTools::writeStats(), extendedEdgeMesh::writeStats(), triSurface::writeStats(), extendedCellToFaceStencil::writeStencilStats(), surfaceNoise::writeSurfaceData(), topOVariablesBase::writeSurfaceFiles(), abaqusWriter::writeTemplate(), nastranWriter::writeTemplate(), starcdWriter::writeTemplate(), x3dWriter::writeTemplate(), streamLineBase::writeToFile(), GCMMA::writeToFiles(), lumpedPointMovement::writeVTP(), lumpedPointState::writeVTP(), interpolation2DTable< scalar >::Xi(), liquidMixtureProperties::Xs(), Foam::XstepForwardsToNextPoint(), sensitivityTopO::zeroSensInFixedPorousZones(), Foam::zip(), Foam::zip(), Foam::zip(), Foam::zip(), Foam::zip(), Foam::zip(), Foam::zip(), Foam::zip(), Foam::zip(), Foam::zip(), refinementParameters::zonePoints(), boundaryRadiationProperties::zoneTransmissivity(), and meshRefinement::zonify().

◆ writeEntry() [1/2]

template<class T>
void writeEntry ( Ostream & os) const
protected

Write the UList with its compound type.

Definition at line 29 of file UListIO.C.

References token::BEGIN_LIST, IOstreamOption::BINARY, token::END_LIST, token::compound::isCompound(), os(), size(), and token::SPACE.

Referenced by DimensionedField< Type, GeoMesh >::writeData(), Field< Type >::writeEntry(), and writeEntry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ validateRange()

template<class T>
Foam::labelRange validateRange ( const labelRange & requestedRange) const
protected

Return a validated (start,size) subset range, which means that it always addresses a valid section of the list.

Definition at line 29 of file UList.C.

References checkSize(), checkStart(), range, and labelRange::subset0().

Referenced by DynamicList< T, SizeMin >::remove(), DynamicList< T, SizeMin >::remove(), DynamicList< T, SizeMin >::subset(), and DynamicList< T, SizeMin >::subset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fill_uniform() [1/2]

template<class T>
void fill_uniform ( const T & val)
inlineprotected

Assign all entries to the given value.

Caution: method name subject to change

Definition at line 46 of file UListI.H.

References Foam::T().

Referenced by operator=(), and readList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fill_uniform() [2/2]

template<class T>
void fill_uniform ( Foam::zero )
inlineprotected

Assign all entries to zero.

Caution: method name subject to change

Definition at line 59 of file UListI.H.

References data_bytes(), first(), Foam::is_contiguous_v, last(), size_bytes(), and T.

Here is the call graph for this function:

◆ null()

template<class T>
const UList< T > & null ( )
inlinestaticnoexcept

Return a null UList (reference to a nullObject). Behaves like an empty UList.

Definition at line 225 of file UList.H.

Referenced by MeshedSurfaceProxy< Face >::ClassName(), block::declareRunTimeSelectionTable(), FaceCellWave< Type, TrackingData >::handleAMICyclicPatches(), voxelMeshSearch::makeMesh(), blockDescriptor::operator=(), OFstreamCollator::write(), and starcdWriter::write().

Here is the caller graph for this function:

◆ operator=() [1/5]

template<class T>
UList< T > & operator= ( const UList< T > & )
delete

No copy assignment (default: shallow copy).

Assignment may need to be shallow (copy pointer) or deep (copy elements) depending on context or type of list. Disallow default assignment and provide separate 'shallowCopy' and 'deepCopy' member functions.

Referenced by List< T >::List(), List< T >::List(), DynamicField< T, SizeMin >::operator=(), DynamicField< T, SizeMin >::operator=(), DynamicList< T, SizeMin >::operator=(), DynamicList< T, SizeMin >::operator=(), List< T >::operator=(), List< T >::operator=(), SortableList< T >::operator=(), SubList< T >::operator=(), SubList< T >::operator=(), DynamicList< T, SizeMin >::readList(), List< T >::readList(), DynamicField< T, SizeMin >::resize_fill(), DynamicList< T, SizeMin >::resize_fill(), and List< T >::resize_fill().

Here is the caller graph for this function:

◆ operator=() [2/5]

template<class T>
UList< T > & operator= ( UList< T > && )
defaultnoexcept

Move assignment, shallow copy.

No ambiguity between shallow or deep copying in this form.

◆ fcIndex()

template<class T>
Foam::label fcIndex ( const label i) const
inlinenoexcept

The forward circular index. The next index in the list which returns to the first at the end of the list.

Definition at line 99 of file UListI.H.

References size().

Referenced by primitiveMesh::checkCommonOrder(), fcValue(), fcValue(), faceCorrectedSnGrad< Type >::fullGradCorrection(), combineFaces::getOutsideFace(), triSurfaceTools::otherEdges(), createShellMesh::setRefinement(), and propellerInfo::setSampleDiskGeometry().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rcIndex()

template<class T>
Foam::label rcIndex ( const label i) const
inlinenoexcept

The reverse circular index. The previous index in the list which returns to the last at the beginning of the list.

Definition at line 106 of file UListI.H.

References size().

Referenced by primitiveMesh::checkCommonOrder(), rcValue(), and tetDecomposer::setRefinement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fcValue() [1/2]

template<class T>
const T & fcValue ( const label i) const
inline

Return forward circular value (ie, next value in the list).

Definition at line 113 of file UListI.H.

References fcIndex(), operator[](), and Foam::T().

Here is the call graph for this function:

◆ fcValue() [2/2]

template<class T>
T & fcValue ( const label i)
inline

Return forward circular value (ie, next value in the list).

Definition at line 120 of file UListI.H.

References fcIndex(), operator[](), and Foam::T().

Here is the call graph for this function:

◆ rcValue() [1/2]

template<class T>
const T & rcValue ( const label i) const
inline

Return reverse circular value (ie, previous value in the list).

Definition at line 127 of file UListI.H.

References operator[](), rcIndex(), and Foam::T().

Here is the call graph for this function:

◆ rcValue() [2/2]

template<class T>
T & rcValue ( const label i)
inline

Return reverse circular value (ie, previous value in the list).

Definition at line 134 of file UListI.H.

References Foam::T().

Here is the call graph for this function:

◆ cdata()

◆ data()

◆ cdata_bytes()

template<class T>
const char * cdata_bytes ( ) const
inlinenoexcept

Return pointer to the underlying array serving as data storage,.

reinterpreted as byte data

Note
Only meaningful for contiguous data

Definition at line 281 of file UListI.H.

References Foam::noexcept.

Referenced by mapDistributeBase::distribute(), decomposedBlockData::gatherProcData(), masterUncollatedFileOperation::readAndSend(), decomposedBlockData::writeBlocks(), UList< CloudFunctionObject< CloudType > * >::writeEntry(), and writeList().

Here is the caller graph for this function:

◆ data_bytes()

template<class T>
char * data_bytes ( )
inlinenoexcept

Return pointer to the underlying array serving as data storage,.

reinterpreted as byte data

Note
Only meaningful for contiguous data

Definition at line 288 of file UListI.H.

References Foam::noexcept.

Referenced by Foam::broadcastFile_single(), mapDistributeBase::distribute(), fill_uniform(), decomposedBlockData::gatherProcData(), fileOperation::getGlobalHostIORanks(), decomposedBlockData::readBlocks(), decomposedBlockData::readBlocks(), DynamicList< T, SizeMin >::readList(), List< T >::readList(), readList(), and decomposedBlockData::writeBlocks().

Here is the caller graph for this function:

◆ front() [1/2]

◆ front() [2/2]

template<class T>
const T & front ( ) const
inline

Access first element of the list.

Definition at line 246 of file UListI.H.

References operator[](), and Foam::T().

Here is the call graph for this function:

◆ back() [1/2]

◆ back() [2/2]

template<class T>
const T & back ( ) const
inline

Access last element of the list, position [size()-1].

Definition at line 260 of file UListI.H.

References operator[](), size(), and Foam::T().

Here is the call graph for this function:

◆ size_bytes()

template<class T>
std::streamsize size_bytes ( ) const
inlinenoexcept

◆ byteSize()

template<class T>
std::streamsize byteSize ( ) const

Number of contiguous bytes for the List data, runtime FatalError if type is not contiguous.

Definition at line 147 of file UList.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::is_contiguous_v, and size_bytes().

Here is the call graph for this function:

◆ checkStart()

template<class T>
void checkStart ( const label start) const
inline

Check start is within valid range [0,size).

Definition at line 141 of file UListI.H.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Referenced by checkRange(), and validateRange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkSize()

template<class T>
void checkSize ( const label size) const
inline

Check size is within valid range [0,size].

Definition at line 155 of file UListI.H.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and size().

Referenced by checkRange(), SubList< T >::reset(), SubList< T >::SubList(), and validateRange().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkRange()

template<class T>
void checkRange ( const label start,
const label len ) const
inline

Check that start and length define a valid range.

Definition at line 168 of file UListI.H.

References Foam::abort(), checkSize(), checkStart(), Foam::FatalError, and FatalErrorInFunction.

Referenced by SubList< T >::reset(), SubList< T >::reset(), SubList< Type >::reset(), SubList< T >::SubList(), and SubList< T >::SubList().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkIndex()

template<class T>
void checkIndex ( const label i) const
inline

Check index is within valid range [0,size).

Definition at line 198 of file UListI.H.

References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.

Referenced by moveFirst(), moveLast(), swapFirst(), and swapLast().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uniform()

template<class T>
bool uniform ( ) const
inline

True if all entries have identical values, and list is non-empty.

Definition at line 217 of file UListI.H.

Referenced by Field< Type >::writeEntry().

Here is the caller graph for this function:

◆ contains() [1/2]

template<class T>
bool contains ( const T & val) const
inline

◆ contains() [2/2]

template<class T>
bool contains ( const T & val,
label pos,
label len = -1 ) const
inline

Is the value contained in the list?

Parameters
valThe value to search for
posThe first position to examine (no-op if -ve)
lenThe length of the search region (-ve until the end)
Returns
true if found.

Definition at line 310 of file UListI.H.

References find(), Foam::pos(), and Foam::T().

Here is the call graph for this function:

◆ find() [1/2]

◆ find() [2/2]

template<class T>
Foam::label find ( const T & val,
label pos,
label len = -1 ) const

Find index of the first occurrence of the value.

Parameters
valThe value to search for
posThe first position to examine (no-op if -ve)
lenThe length of the search region (-ve until the end)
Returns
position in list or -1 if not found.

Definition at line 168 of file UList.C.

References cbegin(), Foam::pos(), size(), and Foam::T().

Here is the call graph for this function:

◆ rfind()

template<class T>
Foam::label rfind ( const T & val,
label pos = -1 ) const

Find index of the last occurrence of the value.

Any occurrences after the end pos are ignored. Linear search.

Returns
position in list or -1 if not found.

Definition at line 199 of file UList.C.

References Foam::pos(), size(), and Foam::T().

Referenced by topoBoolSet::check().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ moveFirst()

template<class T>
void moveFirst ( const label i)

Move element to the first position.

Definition at line 45 of file UList.C.

References checkIndex(), and Foam::Swap().

Here is the call graph for this function:

◆ moveLast()

template<class T>
void moveLast ( const label i)

Move element to the last position.

Definition at line 57 of file UList.C.

References checkIndex(), size(), and Foam::Swap().

Referenced by DynamicList< T, SizeMin >::remove().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swapFirst()

template<class T>
void swapFirst ( const label i)

Swap element with the first element. Fatal on an empty list.

Definition at line 69 of file UList.C.

References checkIndex(), and Foam::Swap().

Here is the call graph for this function:

◆ swapLast()

template<class T>
void swapLast ( const label i)

Swap element with the last element. Fatal on an empty list.

Definition at line 81 of file UList.C.

References checkIndex(), size(), and Foam::Swap().

Referenced by DynamicList< T, SizeMin >::remove().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shallowCopy() [1/3]

template<class T>
void shallowCopy ( T *__restrict__ ptr,
const label len )
inlinenoexcept

Copy the pointer and size.

Definition at line 317 of file UListI.H.

References Foam::T().

Referenced by SubList< T >::reset(), SubList< T >::reset(), SubList< T >::reset(), SubList< T >::reset(), SubList< T >::reset(), SubList< Type >::reset(), SlicedDimensionedField< Type, GeoMesh >::SlicedDimensionedField(), slicedFaePatchField< Type >::slicedFaePatchField(), slicedFaePatchField< Type >::slicedFaePatchField(), slicedFaPatchField< Type >::slicedFaPatchField(), slicedFaPatchField< Type >::slicedFaPatchField(), slicedFvPatchField< Type >::slicedFvPatchField(), slicedFvPatchField< Type >::slicedFvPatchField(), slicedFvsPatchField< Type >::slicedFvsPatchField(), slicedFvsPatchField< Type >::slicedFvsPatchField(), SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField(), SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField(), SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField(), SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField(), SlicedDimensionedField< Type, GeoMesh >::~SlicedDimensionedField(), slicedFaePatchField< Type >::~slicedFaePatchField(), slicedFaPatchField< Type >::~slicedFaPatchField(), slicedFvPatchField< Type >::~slicedFvPatchField(), slicedFvsPatchField< Type >::~slicedFvsPatchField(), and SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::~SlicedGeometricField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shallowCopy() [2/3]

template<class T>
void shallowCopy ( std::nullptr_t )
inlinenoexcept

Copy nullptr and zero size.

Definition at line 329 of file UListI.H.

◆ shallowCopy() [3/3]

template<class T>
void shallowCopy ( const UList< T > & list)
inlinenoexcept

Copy the pointer and size held by the given UList.

Definition at line 337 of file UListI.H.

◆ deepCopy() [1/2]

◆ deepCopy() [2/2]

template<class T>
template<class Addr>
void deepCopy ( const IndirectListBase< T, Addr > & list)

Copy elements of the given indirect list. Sizes must match!

Definition at line 116 of file UList.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and IndirectListBase< T, Addr >::size().

Here is the call graph for this function:

◆ slice() [1/4]

◆ slice() [2/4]

template<class Type>
const Foam::SubList< Type > slice ( const label pos,
label len = -1 ) const

Return SubList slice (const access) - no range checking.

Definition at line 270 of file SubList.H.

References Foam::pos(), and size().

Here is the call graph for this function:

◆ slice() [3/4]

template<class Type>
Foam::SubList< Type > slice ( const labelRange & range)

Return SubList slice (non-const access) - with range checking.

The range is subsetted with the list size itself to ensure that the result always addresses a valid section of the list.

Definition at line 282 of file SubList.H.

References range.

◆ slice() [4/4]

template<class Type>
const Foam::SubList< Type > slice ( const labelRange & range) const

Return SubList slice (const access) - with range checking.

The range is subsetted with the list size itself to ensure that the result always addresses a valid section of the list.

Definition at line 290 of file SubList.H.

References range.

◆ operator[]() [1/2]

◆ operator[]() [2/2]

template<class T>
const T & operator[] ( const label i) const
inline

Return element of constant UList.

Note
bool specialization adds lazy evaluation so reading an out-of-range element returns false without ill-effects

Definition at line 386 of file UListI.H.

References Foam::T().

Here is the call graph for this function:

◆ operator const Foam::List< T > &()

template<class T>
operator const Foam::List< T > & ( ) const
inline

Allow cast to a const List<T>&.

Note
Marked as "strictly" deprecated. Currently (2025-04) code still depends on this cast.

Definition at line 590 of file UList.H.

◆ operator=() [3/5]

template<class T>
void operator= ( const T & val)
inline

Assignment of all entries to the given value.

Definition at line 347 of file UListI.H.

References fill_uniform(), and Foam::T().

Here is the call graph for this function:

◆ operator=() [4/5]

template<class T>
void operator= ( Foam::zero )
inline

Assignment of all entries to zero.

Definition at line 356 of file UListI.H.

◆ begin() [1/4]

template<class T>
Foam::UList< T >::iterator begin ( )
inlinenoexcept

Return an iterator to begin traversing the UList.

Definition at line 410 of file UListI.H.

References Foam::noexcept.

Referenced by ITstream::add_tokens(), ITstream::add_tokens(), distributedDILUPreconditioner::addInterface(), LduMatrix< Type, DType, LUType >::Amul(), lduMatrix::Amul(), AMIInterpolation::append(), Foam::FieldOps::assign(), Foam::FieldOps::assign(), distributedDILUPreconditioner::backwardInternal(), bitSet::bitSet(), bitSet::bitSet(), treeDataEdge::boxes(), treeDataPrimitivePatch< PatchType >::boxes(), Foam::boxesImpl(), Foam::boxesImpl(), TDILUPreconditioner< Type, DType, LUType >::calcInvD(), DICPreconditioner::calcReciprocalD(), DILUPreconditioner::calcReciprocalD(), distributedDILUPreconditioner::calcReciprocalD(), Foam::clamp(), Foam::clamp(), Foam::ListListOps::combineOffset(), contains(), Foam::BitOps::count(), crend(), triSurfaceTools::delaunay2D(), edge::erase(), ITstream::extract(), ABAQUSCore::faceDecomposition(), NASCore::faceDecomposition(), boundaryDataSurfaceReader::fieldNames(), Foam::findFirstCommonElementFromSortedLists(), FixedList< T, N >::FixedList(), distributedDICPreconditioner::forwardInternal(), distributedDILUPreconditioner::forwardInternal(), decomposedBlockData::gatherProcData(), Foam::ensightOutput::Detail::getFaceSizes(), Foam::ensightOutput::Detail::getFaceSizes(), fileOperation::getGlobalIORanks(), Foam::ensightOutput::Detail::getPolysNFaces(), Foam::ensightOutput::Detail::getPolysNPointsPerFace(), lduMatrix::H(), HashSet< Key, Hash >::HashSet(), Foam::Im(), Foam::Im(), STDMD::initialise(), PDRblock::innerMesh(), edge::insert(), HashSet< Key, Hash >::insert(), Foam::inv(), List< T >::List(), List< T >::List(), Foam::operator*(), Foam::operator+(), Foam::operator-(), Foam::operator-(), Foam::operator-(), Foam::operator/(), primitiveMesh::pointCells(), DiagonalPreconditioner< Type, DType, LUType >::precondition(), diagonalPreconditioner::precondition(), DICPreconditioner::precondition(), DILUPreconditioner::precondition(), distributedDILUPreconditioner::precondition(), FDICPreconditioner::precondition(), noPreconditioner::precondition(), TDILUPreconditioner< Type, DType, LUType >::precondition(), DILUPreconditioner::preconditionT(), TDILUPreconditioner< Type, DType, LUType >::preconditionT(), DynamicField< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), Foam::Re(), Foam::Re(), primitiveEntry::read(), primitiveEntry::read(), DynamicList< T, SizeMin >::readList(), List< T >::readList(), readList(), Foam::ReImSum(), Foam::ReImSum(), DynamicList< token >::remove(), rend(), rend(), zoltanRenumber::renumber(), springRenumber::renumberImpl(), fvMeshSubset::reset(), LduMatrix< Type, DType, LUType >::residual(), lduMatrix::residual(), DynamicField< T, SizeMin >::resize(), FixedList< T, 2 >::resize(), FPCG::scalarSolve(), PBiCGStab::scalarSolve(), PCG::scalarSolve(), Foam::BitOps::set(), bitSet::set(), Foam::shuffle(), DICSmoother::smooth(), DILUSmoother::smooth(), FDICSmoother::smooth(), GaussSeidelSmoother::smooth(), nonBlockingGaussSeidelSmoother::smooth(), symGaussSeidelSmoother::smooth(), TGaussSeidelSmoother< Type, DType, LUType >::smooth(), PBiCCCG< Type, DType, LUType >::solve(), PBiCG::solve(), PBiCICG< Type, DType, LUType >::solve(), PCICG< Type, DType, LUType >::solve(), Foam::sort(), Foam::sort(), Foam::sortedOrder(), fileOperation::sortTimes(), basicThermo::splitThermoName(), Foam::stableSort(), Foam::stableSort(), Foam::ListListOps::subSizes(), LduMatrix< Type, DType, LUType >::Tmul(), lduMatrix::Tmul(), fft::transform(), CompactListList< label >::unpack(), CompactListList< label >::unpack(), CompactListList< label >::unpack(), bitSet::unset(), HashSet< Key, Hash >::unset(), globalMeshData::updateMesh(), ZoneMesh< ZoneType, MeshType >::updateMetaData(), processorColour::walkFront(), OFstreamCollator::write(), and fvExprDriver::writeCommon().

◆ end() [1/2]

◆ begin() [2/4]

template<class T>
Foam::UList< T >::iterator begin ( const label i)
inlinenoexcept

Return iterator at offset i from begin, clamped to [0,size] range.

Definition at line 432 of file UListI.H.

◆ cbegin() [1/2]

◆ cend()

template<class T>
Foam::UList< T >::const_iterator cend ( ) const
inlinenoexcept

◆ begin() [3/4]

template<class T>
Foam::UList< T >::const_iterator begin ( ) const
inlinenoexcept

Return const_iterator to begin traversing the constant UList.

Definition at line 417 of file UListI.H.

References Foam::noexcept.

◆ end() [2/2]

template<class T>
Foam::UList< T >::const_iterator end ( ) const
inlinenoexcept

Return const_iterator to end traversing the constant UList.

Definition at line 461 of file UListI.H.

References Foam::noexcept.

◆ cbegin() [2/2]

template<class T>
Foam::UList< T >::const_iterator cbegin ( const label i) const
inlinenoexcept

Return const_iterator at offset i from begin, clamped to [0,size] range.

Definition at line 446 of file UListI.H.

◆ begin() [4/4]

template<class T>
Foam::UList< T >::const_iterator begin ( const label i) const
inlinenoexcept

Return const_iterator at offset i from begin, clamped to [0,size] range.

Definition at line 439 of file UListI.H.

◆ rbegin() [1/2]

template<class T>
Foam::UList< T >::reverse_iterator rbegin ( )
inline

Return reverse_iterator to begin reverse traversing the UList.

Definition at line 475 of file UListI.H.

References end().

Here is the call graph for this function:

◆ rend() [1/2]

template<class T>
Foam::UList< T >::reverse_iterator rend ( )
inline

Return reverse_iterator to end reverse traversing the UList.

Definition at line 496 of file UListI.H.

References begin().

Here is the call graph for this function:

◆ crbegin()

template<class T>
Foam::UList< T >::const_reverse_iterator crbegin ( ) const
inline

Return const_reverse_iterator to begin reverse traversing the UList.

Definition at line 489 of file UListI.H.

References end().

Here is the call graph for this function:

◆ crend()

template<class T>
Foam::UList< T >::const_reverse_iterator crend ( ) const
inline

Return const_reverse_iterator to end reverse traversing the UList.

Definition at line 510 of file UListI.H.

References begin().

Here is the call graph for this function:

◆ rbegin() [2/2]

template<class T>
Foam::UList< T >::const_reverse_iterator rbegin ( ) const
inline

Return const_reverse_iterator to begin reverse traversing the UList.

Definition at line 482 of file UListI.H.

References end().

Here is the call graph for this function:

◆ rend() [2/2]

template<class T>
Foam::UList< T >::const_reverse_iterator rend ( ) const
inline

Return const_reverse_iterator to end reverse traversing the UList.

Definition at line 503 of file UListI.H.

References begin().

Here is the call graph for this function:

◆ empty()

template<class T>
bool empty ( ) const
inlinenoexcept

True if List is empty (ie, size() is zero).

Definition at line 701 of file UList.H.

Referenced by AABBTree< Type >::AABBTree(), cyclicAMIPolyPatch::addAMIFaces(), AMIInterpolation::agglomerate(), directMethod::appendToDirectSeeds(), Foam::blankElementMasks(), Foam::calcCellCellsImpl(), holeToFace::calcClosure(), Foam::calcElementMasks(), createShellMesh::calcPointRegions(), faceAreaWeightAMI2D::calculate(), surfaceNoise::calculate(), waveMethod::calculate(), cellVolumeWeightMethod::calculateAddressing(), correctedCellVolumeWeightMethod::calculateAddressing(), triSurface::checkEdges(), primitiveMesh::checkPoints(), DynamicField< T, SizeMin >::clearStorage(), DynamicList< T, SizeMin >::clearStorage(), collector::collector(), multiWorldConnections::comms(), dictionaryContent::copyDict(), dictionaryContent::copyDict(), dynamicCode::copyOrCreateFiles(), mapDistributeBase::countUnmapped(), hexCellLooper::cut(), decompositionMethod::decompose(), metisLikeDecomp::decompose(), metisLikeDecomp::decompose(), ptscotchDecomp::decompose(), ptscotchDecomp::decompose(), metisLikeDecomp::decomposeGeneral(), kahipDecomp::decomposeSerial(), metisDecomp::decomposeSerial(), scotchDecomp::decomposeSerial(), systemCall::dispatch(), faMeshBoundaryHalo::distributeSparse(), edgeSurface::edgeSurface(), ITstream::endLineNumber(), Foam::extractValues(), Foam::extractValues(), exprDriver::fillFunctionValues(), searchableSurfacesQueries::findAllIntersections(), Foam::findEtcFiles(), coordinateSystems::findIndex(), ZoneMesh< ZoneType, MeshType >::findIndex(), fileOperation::findInstance(), masterUncollatedFileOperation::findInstance(), mapNearestMethod::findMappedSrcCell(), distributedTriSurfaceMesh::findNearest(), searchableSurfacesQueries::findNearest(), triSurfaceRegionSearch::findNearest(), mapNearestMethod::findNearestCell(), decomposedBlockData::gatherProcData(), coordSet::gatherSort(), exprDriver::getFunctionValue(), fileOperation::getGlobalIORanks(), FaceCellWave< Type, TrackingData >::handleProcPatches(), sampledMeshedSurface::hasFaceIds(), Distribution< Type >::index(), coordinateSystems::indices(), faBoundaryMesh::indices(), faBoundaryMesh::indices(), pointBoundaryMesh::indices(), pointBoundaryMesh::indices(), polyBoundaryMesh::indices(), polyBoundaryMesh::indices(), ZoneMesh< ZoneType, MeshType >::indices(), ZoneMesh< ZoneType, MeshType >::indices(), faAreaMapper::insertedObjects(), intersectedSurface::intersectedSurface(), List< T >::List(), List< T >::List(), List< T >::List(), List< T >::List(), triSurfaceLoader::load(), fileOperation::lookupAndCacheProcessorsPath(), oversetFvPatchField< Type >::manipulateMatrix(), Foam::MapLagrangianFields(), Foam::MapVolFields(), PatchTools::markZone(), triSurface::markZone(), wordRes::matching(), wordRes::matching(), coordinateSystems::names(), chemistryReductionMethod< CompType, ThermoType >::New(), chemistryTabulationMethod< CompType, ThermoType >::New(), UPstream::newCommunicator(), masterUncollatedFileOperation::NewIFstream(), Distribution< Type >::normalised(), Foam::operator<<(), List< T >::operator=(), List< T >::operator=(), triSurfaceMesh::overlaps(), argList::parse(), ParticleErosion< CloudType >::ParticleErosion(), patchInteractionDataList::patchInteractionDataList(), polyBoundaryMesh::patchSet(), ITstream::print(), Foam::printMaps(), Foam::printTable(), GAMGAgglomeration::procAgglomerateRestrictAddressing(), genericPatchFieldBase::processEntry(), faceAreaWeightAMI::processSourceFace(), Distribution< Type >::raw(), binModel::read(), ABAQUSsurfaceFormat< Face >::read(), masterUncollatedFileOperation::read(), surfaceCourantNumber::read(), masterUncollatedFileOperation::readAndSend(), Foam::readLagrangian(), CircularBuffer< T >::readList(), boundaryMesh::readTriSurface(), Foam::reconstructLagrangian(), Foam::reduceOffsets(), memorybuf::out_dynamic::release(), MeshedSurface< Face >::remapFaces(), UnsortedMeshedSurface< Face >::remapFaces(), edgeIntersections::removeDegenerates(), dynamicIndexedOctree< Type >::removeIndex(), fvMeshSubsetProxy::resetZones(), ITstream::seek(), timeSelector::select0(), mapDistributeBase::send(), fvExpressionField::setField(), UnsortedMeshedSurface< Face >::setOneZone(), box::setRefineFlags(), addPatchCellLayer::setRefinement(), combineFaces::setUnrefinement(), ITstream::skip(), LUscalarMatrix::solve(), ITstream::startLineNumber(), fileOperation::subRanks(), Foam::subsetSubset(), globalMeshData::syncData(), globalMeshData::syncData(), Foam::system(), ITstream::toString(), MeshedSurface< Face >::triangulate(), outletMappedUniformInletFvPatchField< Type >::updateCoeffs(), designVariablesUpdate::updateGradientsAndValues(), ZoneMesh< ZoneType, MeshType >::updateMetaData(), cuttingSurfaceBase::walkCellCuts(), processorColour::walkFront(), walkPatch::walkPatch(), dataCloud::write(), volFieldValue::write(), decomposedBlockData::writeBlocks(), Foam::writeEntryIfPresent(), Foam::writeMaps(), particle< Type >::writeProperty(), particle< Type >::writeProperty(), abaqusWriter::writeTemplate(), nastranWriter::writeTemplate(), volFieldValue::writeValues(), and sensitivityTopO::zeroSensInFixedPorousZones().

◆ size() [2/2]

◆ capacity()

template<class T>
label capacity ( ) const
inlinenoexcept

Size of the underlying storage.

Definition at line 711 of file UList.H.

◆ max_size()

template<class T>
constexpr label max_size ( )
inlinestaticconstexprnoexcept

The size of the largest possible UList.

Definition at line 716 of file UList.H.

Referenced by memorybuf::out_dynamic::max_size().

Here is the caller graph for this function:

◆ swap()

template<class T>
void swap ( UList< T > & list)
inlinenoexcept

◆ operator==()

template<class T>
bool operator== ( const UList< T > & list) const

Equality operation on ULists of the same type.

Returns true when the ULists are element-wise equal (using UList::value_type::operator==). Takes linear time

Definition at line 225 of file UList.C.

References cbegin(), and UList().

Referenced by operator!=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

template<class T>
bool operator!= ( const UList< T > & list) const

The opposite of the equality operation. Takes linear time.

Definition at line 239 of file UList.C.

References operator==(), and UList().

Here is the call graph for this function:

◆ operator<()

template<class T>
bool operator< ( const UList< T > & list) const

Compare two ULists lexicographically. Takes linear time.

Definition at line 246 of file UList.C.

References cbegin(), cend(), and UList().

Referenced by operator>=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator>()

template<class T>
bool operator> ( const UList< T > & list) const

Compare two ULists lexicographically. Takes linear time.

Definition at line 260 of file UList.C.

References UList().

Here is the call graph for this function:

◆ operator<=()

template<class T>
bool operator<= ( const UList< T > & list) const

Return true if !(a > b). Takes linear time.

Definition at line 267 of file UList.C.

References UList().

Here is the call graph for this function:

◆ operator>=()

template<class T>
bool operator>= ( const UList< T > & list) const

Return true if !(a < b). Takes linear time.

Definition at line 274 of file UList.C.

References operator<(), and UList().

Here is the call graph for this function:

◆ readList()

◆ writeEntry() [2/2]

template<class T>
void writeEntry ( const word & keyword,
Ostream & os ) const

Write the List as a dictionary entry with keyword.

Definition at line 77 of file UListIO.C.

References os(), and writeEntry().

Here is the call graph for this function:

◆ writeList()

template<class T>
Foam::Ostream & writeList ( Ostream & os,
const label shortLen = 0 ) const

Write List, with line-breaks in ASCII when length exceeds shortLen.

Using '0' suppresses line-breaks entirely.

Definition at line 89 of file UListIO.C.

References IOstreamOption::BINARY, cdata_bytes(), Foam::is_contiguous_v, Foam::nl, os(), size(), size_bytes(), and UList().

Referenced by dictionary::checkITstream(), entry::checkITstream(), Foam::operator<<(), Foam::operator<<(), and Foam::printStatus().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ all()

template<class T>
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool all ( ) const
inline

True if all entries are 'true' or if the list is empty.

Note
Method name compatibility with bitSet

Definition at line 806 of file UList.H.

Referenced by Foam::BitOps::all(), and decompositionMethod::decompose().

Here is the caller graph for this function:

◆ any()

template<class T>
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool any ( ) const
inline

True if any entries are 'true'.

Note
Method name compatibility with bitSet

Definition at line 821 of file UList.H.

Referenced by Foam::BitOps::any(), ABAQUSCore::readHelper::purge_solids(), and Foam::HashSetOps::used().

Here is the caller graph for this function:

◆ none()

template<class T>
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool none ( ) const
inline

True if no entries are 'true'.

Note
Method name compatibility with bitSet

Definition at line 836 of file UList.H.

Referenced by Foam::BitOps::none().

Here is the caller graph for this function:

◆ test()

template<class T>
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool test ( const label i) const
inline

◆ get()

template<class T>
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool get ( const label i) const
inline

Return bool value at specified position, always false for out-of-range access.

Note
Method name compatibility with bitSet

Definition at line 868 of file UList.H.

Referenced by correlationFunction< Type >::correlationFunction(), interpolation2DTable< Type >::interpolation2DTable(), volSurfaceMapping::mapToSurface(), and volSurfaceMapping::mapToSurface().

Here is the caller graph for this function:

◆ unset()

template<class T>
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_bool_v<TypeT>>>
bool unset ( const label i)
inline

Unset the bool entry at specified position, always false for out-of-range access.

Returns
True if value changed and was not out-of-range
Note
Method name compatibility with bitSet

Definition at line 885 of file UList.H.

Referenced by faBoundaryMesh::setGroup(), polyBoundaryMesh::setGroup(), ZoneMesh< ZoneType, MeshType >::setGroup(), Foam::BitOps::unset(), and Foam::BitOps::unset().

Here is the caller graph for this function:

◆ view()

template<class T>
template<class TypeT = T, class = std::enable_if_t<stdFoam::is_char_v<TypeT>>>
std::string_view view ( ) const
inline

Return a string_view of the charList. Content is non-modifiable.

Definition at line 903 of file UList.H.

Referenced by ITstream::toString().

Here is the caller graph for this function:

◆ first() [1/2]

template<class T>
T & first ( )
inline

Access first element of the list, position [0].

FOAM_DEPRECATED_FOR(2022-10, "front()")

Definition at line 957 of file UList.H.

Referenced by snappyLayerDriver::addLayers(), snappyLayerDriver::addLayersSinglePass(), snappySnapDriver::avgCellCentres(), faMesh::boundaryProcSizes(), faPatch::boundaryProcSizes(), bitSet::broadcast(), SurfaceFilmModel< CloudType >::cacheFilmFields(), laplacianConstraintPointSmoother::calculate(), parcelSelection::calculateFilter(), commSchedule::commSchedule(), polyLine::concat(), Distribution< Type >::cumulativeNormalised(), Distribution< Type >::cumulativeRaw(), cyclicACMIGAMGInterface::cyclicACMIGAMGInterface(), cyclicAMIGAMGInterface::cyclicAMIGAMGInterface(), shellSurfaces::directionalSelectLevel(), snappySnapDriver::doSnap(), snappyLayerDriver::dupFaceZonePoints(), DynamicField< T, SizeMin >::DynamicField(), DynamicList< T, SizeMin >::DynamicList(), face::edges(), triFace::edges(), pairPotential::energyTable(), ITstream::extract(), pointMeshTools::featurePointsEdges(), fill_uniform(), patchFieldProbe::findElements(), Foam::findEtcEntry(), mappedPatchBase::findSamples(), pairPotential::forceTable(), weightedPosition::getPoints(), interpolationTable< Type >::interpolateValue(), triSurfaceLoader::load(), volSurfaceMapping::mapToSurface(), volSurfaceMapping::mapToSurface(), volSurfaceMapping::mapToVolumePatch(), masterUncollatedFileOperation::masterOp(), Distribution< Type >::median(), distribution::median(), meshRefinement::mergeBaffles(), processorTopology::New(), Distribution< Type >::normalised(), distribution::normalised(), distribution::normalisedShifted(), interpolation2DTable< Type >::operator()(), ParticleCollector< CloudType >::ParticleCollector(), BSpline::position(), BSpline::position(), CatmullRomSpline::position(), CatmullRomSpline::position(), PDRblock::gridControl::prepend(), filmTurbulenceModel::primaryRegionFriction(), Foam::printTable(), GAMGAgglomeration::procAgglomerateRestrictAddressing(), noiseFFT::PSDf(), Distribution< Type >::raw(), distribution::raw(), face::rcEdges(), triFace::rcEdges(), OBJsurfaceFormat< Face >::read(), tabulated6DoFMotion::read(), tabulated6DoFAcceleration::read(), waveModel::readDict(), Foam::setBlockFaceCorrespondence(), faceSetOption::setFaceSelection(), weightedPosition::setPoints(), thirdBodyEfficiencies::thirdBodyEfficiencies(), cutFaceAdvect::timeIntegratedArea(), cutFaceAdvect::timeIntegratedArea(), outletMappedUniformInletFvPatchField< Type >::updateCoeffs(), surfaceIteratorIso::vofCutCell(), surfaceIteratorPLIC::vofCutCell(), Distribution< Type >::write(), thirdBodyEfficiencies::write(), pairPotential::writeEnergyAndForceTables(), and lumpedPointMovement::writeStateVTP().

◆ first() [2/2]

template<class T>
const T & first ( ) const
inline

Access first element of the list.

FOAM_DEPRECATED_FOR(2022-10, "front()")

Definition at line 964 of file UList.H.

◆ last() [1/2]

◆ last() [2/2]

template<class T>
const T & last ( ) const
inline

Access last element of the list, position [size()-1].

FOAM_DEPRECATED_FOR(2022-10, "back()")

Definition at line 978 of file UList.H.

◆ found()

◆ expr()

template<class T>
auto expr ( ) const
inline

Wrap value as expression.

Definition at line 999 of file UList.H.

Referenced by Field< T >::Field(), List< block_type >::List(), Field< T >::operator=(), and List< block_type >::operator=().

Here is the caller graph for this function:

◆ operator=() [5/5]

template<class T>
template<typename E>
void operator= ( const Expression::ListExpression< E > & expr)
inline

Assign values from expression.

Definition at line 1008 of file UList.H.

◆ List< T >

template<class T>
friend class List< T >
friend

Declare friendship with the List class.

Definition at line 203 of file UList.H.

◆ SubList< T >

template<class T>
friend class SubList< T >
friend

Declare friendship with the SubList class.

Definition at line 203 of file UList.H.

◆ operator>>

template<class T>
Istream & operator>> ( Istream & os,
UList< T > & list )
friend

Use the readList() method to read contents from Istream.

Use the readList() method to read contents from Istream.

Definition at line 1022 of file UList.H.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/containers/HashTables/HashTable/HashTable.H
  • src/OpenFOAM/containers/Lists/List/UList.H
  • src/OpenFOAM/containers/Lists/List/SubList.H
  • src/OpenFOAM/containers/Lists/List/UList.C
  • src/OpenFOAM/containers/Lists/List/UListI.H
  • src/OpenFOAM/containers/Lists/List/UListIO.C