A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bounds checking, etc. More...
Inherits UList< T >.
Inherited by DynamicList< ABAQUSCore::shapeType >, DynamicList< fileState >, DynamicList< FixedList< point, N > >, DynamicList< Foam::cellShape >, DynamicList< Foam::clockValue >, DynamicList< Foam::CompactSpatialTensor >, DynamicList< Foam::DynamicList< Foam::profilingInformation *> >, DynamicList< Foam::edge >, DynamicList< Foam::glTF::accessor >, DynamicList< Foam::glTF::animation >, DynamicList< Foam::glTF::animation::glTFChannel >, DynamicList< Foam::glTF::animation::glTFSampler >, DynamicList< Foam::glTF::bufferView >, DynamicList< Foam::glTF::mesh >, DynamicList< Foam::glTF::object >, DynamicList< Foam::Instant >, DynamicList< Foam::labelRange >, DynamicList< Foam::List< Foam::UPstream::commsStruct > >, DynamicList< Foam::List< int > >, DynamicList< Foam::PairCollisionRecord< PairType > >, DynamicList< Foam::PairCollisionRecord< vector > >, DynamicList< Foam::particleInfo >, DynamicList< Foam::profilingInformation *>, DynamicList< Foam::refinementHistory::splitCell8 >, DynamicList< Foam::SpatialTensor >, DynamicList< Foam::triPoints >, DynamicList< Foam::Tuple2< Foam::fileName, std::string > >, DynamicList< Foam::Tuple2< Foam::string, label > >, DynamicList< Foam::UPstream::Request >, DynamicList< Foam::WallCollisionRecord< vector > >, DynamicList< Foam::WallCollisionRecord< WallType > >, DynamicList< Foam::wordRe >, DynamicList< point >, DynamicList< taggedInfoType >, DynamicList< token >, DynamicList< tokenType >, DynamicList< void *>, DynamicList< vtmEntry >, Field< complexVector >, Field< DType >, Field< Foam::Field< Type > >, Field< Foam::SymmTensor >, Field< Foam::Vector2D >, Field< Foam::Vector< bool > >, Field< solveScalar >, Field< symmTensor >, Field< T >, Field< tensor >, Field< TypeGrad >, BinSum< IndexType, List, CombineOp >, cellClassification, CompactIOList< T, BaseType >, DynamicList< T, SizeMin >, faceTriangulation, hashedWordList, IOList< T >, ITstream, PDRblock::location, polynomialFunction [private]
, processorColour, pTraits< List< T > >, SortableList< T >, and zoneCellStencils.
Public Types | |
typedef SubList< T > | subList |
Declare type of subList. More... | |
Public Types inherited from UList< T > | |
typedef T | value_type |
The value type the list contains. More... | |
typedef T * | pointer |
The pointer type for non-const access to value_type items. More... | |
typedef const T * | const_pointer |
The pointer type for const access to value_type items. More... | |
typedef T & | reference |
The type used for storing into value_type objects. More... | |
typedef const T & | const_reference |
The type used for reading from constant value_type objects. More... | |
typedef T * | iterator |
Random access iterator for traversing a UList. More... | |
typedef const T * | const_iterator |
Random access iterator for traversing a UList. More... | |
typedef label | size_type |
The type to represent the size of a UList. More... | |
typedef label | difference_type |
The difference between iterator objects. More... | |
typedef std::reverse_iterator< iterator > | reverse_iterator |
Reverse iterator (non-const access) More... | |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Reverse iterator (const access) More... | |
Public Member Functions | |
constexpr | List () noexcept |
Default construct. More... | |
List (const label len) | |
Construct with given size. More... | |
List (const label len, const T &val) | |
Construct with given size and value for all elements. More... | |
List (const label len, const Foam::zero) | |
Construct with given size initializing all elements to zero. More... | |
List (const Foam::one, const T &val) | |
Construct with length=1, copying the value as the only content. More... | |
List (const Foam::one, T &&val) | |
Construct with length=1, moving the value as the only content. More... | |
List (const Foam::one, const Foam::zero) | |
Construct with length=1, initializing content to zero. More... | |
List (const List< T > &list) | |
Copy construct from list. More... | |
List (const UList< T > &list) | |
Copy construct contents from list. More... | |
List (List< T > &list, bool reuse) | |
Construct as copy or re-use as specified. More... | |
List (const UList< T > &list, const labelUList &indices) | |
Copy construct subset of list. More... | |
template<unsigned N> | |
List (const UList< T > &list, const FixedList< label, N > &indices) | |
Copy construct subset of list. More... | |
template<unsigned N> | |
List (const FixedList< T, N > &list) | |
Construct as copy of FixedList<T, N> More... | |
List (const PtrList< T > &list) | |
Construct as copy of PtrList<T> More... | |
template<class Addr > | |
List (const IndirectListBase< T, Addr > &list) | |
Construct as copy of IndirectList contents. More... | |
List (std::initializer_list< T > list) | |
Construct from an initializer list. More... | |
List (List< T > &&list) noexcept | |
Move construct from List. More... | |
template<int SizeMin> | |
List (DynamicList< T, SizeMin > &&list) | |
Move construct from DynamicList. More... | |
List (Istream &is) | |
Construct from Istream. More... | |
autoPtr< List< T > > | clone () const |
Clone. More... | |
~List () | |
Destructor. More... | |
void | clear () |
Clear the list, i.e. set size to zero. More... | |
void | resize (const label len) |
Adjust allocated size of list. More... | |
void | resize (const label len, const T &val) |
Adjust allocated size of list and set val for new elements. More... | |
void | resize_fill (const label len, const T &val) |
Adjust allocated size of list and set val for all elements. More... | |
void | resize_nocopy (const label len) |
Adjust allocated size of list without necessarily. More... | |
void | resize_unsafe (const label len) noexcept |
Change the addressed list size directly without affecting any memory management (advanced usage). More... | |
void | setSize (const label n) |
Alias for resize() More... | |
void | setSize (const label n, const T &val) |
Alias for resize() More... | |
void | transfer (List< T > &list) |
Transfer the contents of the argument List into this list and annul the argument list. More... | |
template<int SizeMin> | |
void | transfer (DynamicList< T, SizeMin > &list) |
Transfer the contents of the argument List into this list and annul the argument list. More... | |
T & | newElmt (const label i) |
Return subscript-checked element of UList and resizing the list if required. More... | |
template<class... Args> | |
T & | emplace_back (Args &&... args) |
Construct an element at the end of the list, return reference to the new list element. More... | |
void | push_back (const T &val) |
Append an element at the end of the list. More... | |
void | push_back (T &&val) |
Move append an element at the end of the list. More... | |
void | push_back (const UList< T > &list) |
Append a List to the end of this list. More... | |
template<class Addr > | |
void | push_back (const IndirectListBase< T, Addr > &list) |
Append IndirectList contents at the end of this list. More... | |
label | push_uniq (const T &val) |
Append an element if not already in the list. More... | |
void | pop_back (label n=1) |
Reduce size by 1 or more elements. Can be called on an empty list. More... | |
void | operator= (const UList< T > &list) |
Assignment to UList operator. Takes linear time. More... | |
void | operator= (const List< T > &list) |
Assignment operator. Takes linear time. More... | |
template<class Addr > | |
void | operator= (const IndirectListBase< T, Addr > &list) |
Assignment from IndirectList. Takes linear time. More... | |
template<unsigned N> | |
void | operator= (const FixedList< T, N > &list) |
Copy assignment from FixedList. More... | |
void | operator= (std::initializer_list< T > list) |
Assignment to an initializer list. More... | |
void | operator= (const T &val) |
Assignment of all entries to the given value. More... | |
void | operator= (const Foam::zero) |
Assignment of all entries to zero. More... | |
void | operator= (List< T > &&list) |
Move assignment. Takes constant time. More... | |
template<int SizeMin> | |
void | operator= (DynamicList< T, SizeMin > &&list) |
Move assignment. Takes constant time. More... | |
Istream & | readList (Istream &is) |
Read List from Istream, discarding contents of existing List. More... | |
void | shallowCopy (const UList< T > &)=delete |
No shallowCopy permitted. More... | |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | set (const label i, bool val=true) |
A bitSet::set() method for a list of bool. More... | |
void | append (const T &val) |
Append an element at the end of the list. More... | |
void | append (T &&val) |
Move append an element at the end of the list. More... | |
void | append (const UList< T > &list) |
Append a List to the end of this list. More... | |
template<class Addr > | |
void | append (const IndirectListBase< T, Addr > &list) |
Append IndirectList contents at the end of this list. More... | |
label | appendUniq (const T &val) |
Same as push_uniq() More... | |
List (const SLList< T > &list) | |
Copy construct from SLList. More... | |
void | operator= (const SLList< T > &list) |
Copy assign from SLList in linear time. More... | |
template<> | |
void | resize (const label newLen) |
Public Member Functions inherited from UList< T > | |
UList (const UList< T > &)=default | |
Copy construct. More... | |
constexpr | UList () noexcept |
Default construct, zero-sized and nullptr. More... | |
UList (T *__restrict__ v, const label len) noexcept | |
Construct from components. More... | |
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. More... | |
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. More... | |
const T & | fcValue (const label i) const |
Return forward circular value (ie, next value in the list) More... | |
T & | fcValue (const label i) |
Return forward circular value (ie, next value in the list) More... | |
const T & | rcValue (const label i) const |
Return reverse circular value (ie, previous value in the list) More... | |
T & | rcValue (const label i) |
Return reverse circular value (ie, previous value in the list) More... | |
const T * | cdata () const noexcept |
Return pointer to the underlying array serving as data storage. More... | |
T * | data () noexcept |
Return pointer to the underlying array serving as data storage. More... | |
const char * | cdata_bytes () const noexcept |
Return pointer to the underlying array serving as data storage,. More... | |
char * | data_bytes () noexcept |
Return pointer to the underlying array serving as data storage,. More... | |
T & | front () |
Access first element of the list, position [0]. More... | |
const T & | front () const |
Access first element of the list. More... | |
T & | back () |
Access last element of the list, position [size()-1]. More... | |
const T & | back () const |
Access last element of the list, position [size()-1]. More... | |
std::streamsize | size_bytes () const noexcept |
Number of contiguous bytes for the List data. More... | |
std::streamsize | byteSize () const |
Number of contiguous bytes for the List data, runtime FatalError if type is not contiguous. More... | |
void | checkStart (const label start) const |
Check start is within valid range [0,size) More... | |
void | checkSize (const label size) const |
Check size is within valid range [0,size]. More... | |
void | checkRange (const label start, const label len) const |
Check that start and length define a valid range. More... | |
void | checkIndex (const label i) const |
Check index is within valid range [0,size) More... | |
bool | uniform () const |
True if all entries have identical values, and list is non-empty. More... | |
bool | contains (const T &val) const |
True if the value is contained in the list. More... | |
bool | contains (const T &val, label pos, label len=-1) const |
Is the value contained in the list? More... | |
label | find (const T &val) const |
Find index of the first occurrence of the value. More... | |
label | find (const T &val, label pos, label len=-1) const |
Find index of the first occurrence of the value. More... | |
label | rfind (const T &val, label pos=-1) const |
Find index of the last occurrence of the value. More... | |
void | moveFirst (const label i) |
Move element to the first position. More... | |
void | moveLast (const label i) |
Move element to the last position. More... | |
void | swapFirst (const label i) |
Swap element with the first element. Fatal on an empty list. More... | |
void | swapLast (const label i) |
Swap element with the last element. Fatal on an empty list. More... | |
void | shallowCopy (T *__restrict__ ptr, const label len) noexcept |
Copy the pointer and size. More... | |
void | shallowCopy (std::nullptr_t) noexcept |
Copy nullptr and zero size. More... | |
void | shallowCopy (const UList< T > &list) noexcept |
Copy the pointer and size held by the given UList. More... | |
void | deepCopy (const UList< T > &list) |
Copy elements of the given UList. Sizes must match! More... | |
template<class Addr > | |
void | deepCopy (const IndirectListBase< T, Addr > &list) |
Copy elements of the given indirect list. Sizes must match! More... | |
SubList< T > | slice (const label pos, label len=-1) |
Return SubList slice (non-const access) - no range checking. More... | |
const SubList< T > | slice (const label pos, label len=-1) const |
Return SubList slice (const access) - no range checking. More... | |
SubList< T > | slice (const labelRange &range) |
Return SubList slice (non-const access) - with range checking. More... | |
const SubList< T > | slice (const labelRange &range) const |
Return SubList slice (const access) - with range checking. More... | |
T & | operator[] (const label i) |
Return element of UList. More... | |
const T & | operator[] (const label i) const |
Return element of constant UList. More... | |
operator const Foam::List< T > & () const | |
Allow cast to a const List<T>&. More... | |
void | operator= (const T &val) |
Assignment of all entries to the given value. More... | |
void | operator= (const Foam::zero) |
Assignment of all entries to zero. More... | |
iterator | begin () noexcept |
Return an iterator to begin traversing the UList. More... | |
iterator | end () noexcept |
Return an iterator to end traversing the UList. More... | |
iterator | begin (const label i) noexcept |
Return iterator at offset i from begin, clamped to [0,size] range. More... | |
const_iterator | cbegin () const noexcept |
Return const_iterator to begin traversing the constant UList. More... | |
const_iterator | cend () const noexcept |
Return const_iterator to end traversing the constant UList. More... | |
const_iterator | begin () const noexcept |
Return const_iterator to begin traversing the constant UList. More... | |
const_iterator | end () const noexcept |
Return const_iterator to end traversing the constant UList. More... | |
const_iterator | cbegin (const label i) const noexcept |
Return const_iterator at offset i from begin, clamped to [0,size] range. More... | |
const_iterator | begin (const label i) const noexcept |
Return const_iterator at offset i from begin, clamped to [0,size] range. More... | |
reverse_iterator | rbegin () |
Return reverse_iterator to begin reverse traversing the UList. More... | |
reverse_iterator | rend () |
Return reverse_iterator to end reverse traversing the UList. More... | |
const_reverse_iterator | crbegin () const |
Return const_reverse_iterator to begin reverse traversing the UList. More... | |
const_reverse_iterator | crend () const |
Return const_reverse_iterator to end reverse traversing the UList. More... | |
const_reverse_iterator | rbegin () const |
Return const_reverse_iterator to begin reverse traversing the UList. More... | |
const_reverse_iterator | rend () const |
Return const_reverse_iterator to end reverse traversing the UList. More... | |
bool | empty () const noexcept |
True if List is empty (ie, size() is zero) More... | |
label | size () const noexcept |
The number of elements in the container. More... | |
label | capacity () const noexcept |
Size of the underlying storage. More... | |
void | swap (UList< T > &list) noexcept |
Swap content with another UList of the same type in constant time. More... | |
bool | operator== (const UList< T > &list) const |
Equality operation on ULists of the same type. More... | |
bool | operator!= (const UList< T > &list) const |
The opposite of the equality operation. Takes linear time. More... | |
bool | operator< (const UList< T > &list) const |
Compare two ULists lexicographically. Takes linear time. More... | |
bool | operator> (const UList< T > &list) const |
Compare two ULists lexicographically. Takes linear time. More... | |
bool | operator<= (const UList< T > &list) const |
Return true if !(a > b). Takes linear time. More... | |
bool | operator>= (const UList< T > &list) const |
Return true if !(a < b). Takes linear time. More... | |
Istream & | readList (Istream &is) |
Read List contents from Istream. More... | |
void | writeEntry (const word &keyword, Ostream &os) const |
Write the List as a dictionary entry with keyword. More... | |
Ostream & | writeList (Ostream &os, const label shortLen=0) const |
Write List, with line-breaks in ASCII when length exceeds shortLen. More... | |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | test (const label i) const |
Test bool value at specified position, always false for out-of-range access. More... | |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | get (const label i) const |
Return bool value at specified position, always false for out-of-range access. More... | |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | unset (const label i) |
Unset the bool entry at specified position, always false for out-of-range access. More... | |
T & | first () |
Access first element of the list, position [0]. More... | |
const T & | first () const |
Access first element of the list. More... | |
T & | last () |
Access last element of the list, position [size()-1]. More... | |
const T & | last () const |
Access last element of the list, position [size()-1]. More... | |
bool | found (const T &val, label pos=0) const |
Same as contains() More... | |
template<> | |
const bool & | operator[] (const label i) const |
template<> | |
UPstream::commsStruct & | operator[] (const label procID) |
template<> | |
const UPstream::commsStruct & | operator[] (const label procID) const |
template<> | |
Foam::UPstream::commsStruct & | operator[] (const label procID) |
template<> | |
const Foam::UPstream::commsStruct & | operator[] (const label procID) const |
Static Public Member Functions | |
static const List< T > & | null () noexcept |
Return a null List (reference to a nullObject). Behaves like an empty List. More... | |
Static Public Member Functions inherited from UList< T > | |
static const UList< T > & | null () noexcept |
Return a null UList (reference to a nullObject). Behaves like an empty UList. More... | |
static constexpr label | max_size () noexcept |
The size of the largest possible UList. More... | |
Friends | |
Istream & | operator>> (Istream &is, List< T > &list) |
Use the readList() method to read contents from Istream. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from UList< T > | |
void | setAddressableSize (const label n) noexcept |
Set addressed size to be inconsistent with allocated storage. More... | |
void | size (const label n) |
Older name for setAddressableSize. More... | |
void | writeEntry (Ostream &os) const |
Write the UList with its compound type. More... | |
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. More... | |
void | fill_uniform (const T &val) |
Assign all entries to the given value. More... | |
void | fill_uniform (const Foam::zero) |
Assign all entries to zero. More... | |
UList< T > & | operator= (const UList< T > &)=delete |
No copy assignment (default: shallow copy) More... | |
template<> | |
void | writeEntry (Ostream &os) const |
Character list writeEntry. More... | |
template<> | |
void | operator= (const Foam::zero) |
Character list assign zero - avoids Foam::zero casting ambiguities. More... | |
template<> | |
void | writeEntry (Ostream &os) const |
template<> | |
void | operator= (const Foam::zero) |
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bounds checking, etc.
List | ( | const label | len, |
const Foam::zero | |||
) |
List | ( | const Foam::one | , |
const Foam::zero | |||
) |
List | ( | const UList< T > & | list, |
const labelUList< T > & | indices | ||
) |
|
explicit |
Construct as copy of IndirectList contents.
List | ( | DynamicList< T, SizeMin > && | list | ) |
Move construct from DynamicList.
Return a null List (reference to a nullObject). Behaves like an empty List.
Definition at line 153 of file List.H.
Referenced by mapDistributeBase::whichSchedule().
|
inline |
|
inline |
Clear the list, i.e. set size to zero.
Definition at line 130 of file ListI.H.
Referenced by polyMeshAdder::add(), GAMGAgglomeration::agglomerateLduAddressing(), InterfaceForce< CloudType >::cacheFields(), PressureGradientForce< CloudType >::cacheFields(), LiftForce< CloudType >::cacheFields(), Foam::calcCellCellsImpl(), holeToFace::calcClosure(), coupledFaPatch::calcTransformTensors(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), ensightPart::clear(), SortableList< T >::clear(), MeshedSurfaceIOAllocator::clear(), meshedSurfRef::clear(), mergedSurf::clear(), zone::clearPrimitives(), PackedList< 2 >::clearStorage(), memorybuf::out_dynamic::clearStorage(), polySurface::copySurface(), surfMesh::copySurface(), removePoints::countPointUsage(), distanceSurface::createGeometry(), box::createMap(), meshRefinement::createZoneBaffles(), metisLikeDecomp::decomposeGeneral(), DimensionedField< Type, Foam::pointMesh >::DimensionedField(), Foam::duplicateOrder(), Pstream::exchange(), Pstream::exchangeSizes(), Field< Foam::vector >::Field(), FieldField< Foam::Field, LUType >::FieldField(), boundaryDataSurfaceReader::fieldNames(), refinementSurfaces::findAllIntersections(), searchablePlane::findLineAll(), searchablePlate::findLineAll(), searchableDisk::findLineAll(), searchableCylinder::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), searchableCone::findLineAll(), searchableSphere::findLineAll(), distributedTriSurfaceMesh::findLineAll(), globalIndex::gather(), globalIndex::gatherValues(), ensightReadFile::getTimeStepFooter(), FaceCellWave< Foam::wallPointData< bool > >::handleProcPatches(), polyTopoChange::modifyCell(), meshedSurfRef::movePoints(), argList::parse(), Foam::parseStream(), STARCDsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), STLsurfaceFormat< Face >::read(), areaWrite::read(), ensightWrite::read(), STARCDMeshReader::readCells(), Time::readDict(), lumpedPointMovement::readDict(), List< Field< scalar > >::readList(), boundaryMesh::readTriSurface(), polyMesh::readUpdate(), surfMesh::removeZones(), zoltanRenumber::renumber(), particleTracksSampler::reset(), meshedSurfRef::reset(), memorybuf::in_dynamic::reset(), meshedSurfRef::resetPoints(), cyclicAMIPolyPatch::restoreScaledGeometry(), decompositionMethod::setConstraints(), lumpedPointMovement::setInterpolator(), faceSetOption::setSelection(), cellSetOption::setSelection(), zoneDistribute::setUpCommforZone(), MeshedSurface< Foam::face >::stitchFaces(), hexRef8::storeData(), PatchTools::subsetMap(), UnsortedMeshedSurface< Face >::swap(), trackingInverseDistance::update(), cellVolumeWeight::update(), inverseDistance::update(), cyclicAMIGAMGInterfaceField::updateInterfaceMatrix(), cyclicACMIGAMGInterfaceField::updateInterfaceMatrix(), cyclicACMIFvPatchField< Type >::updateInterfaceMatrix(), while(), zoneToCell::zones(), zoneToPoint::zones(), and zoneToFace::zones().
|
inline |
Adjust allocated size of list.
The boolList version fills new memory with false.
Definition at line 153 of file ListI.H.
Referenced by preservePatches::add(), singleProcessorFaceSets::add(), geometric::add(), cellTable::addCellZones(), object::addData(), regIOobject::addWatch(), AMIInterpolation::agglomerate(), UPstream::allGatherValues(), Foam::blankElementMasks(), searchablePlane::boundingSpheres(), searchableDisk::boundingSpheres(), searchablePlate::boundingSpheres(), searchableSphere::boundingSpheres(), box::box(), SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::cacheFilmFields(), globalMeshData::calcCellCells(), Foam::calcCellCellsImpl(), isoSurfaceBase::calcCellCuts(), Foam::calcElementMasks(), polyLine::calcParam(), topoSetSource::check(), MeshedSurface< Foam::face >::checkFaces(), cellShape::collapsedFaces(), triSurfaceTools::collapseEdges(), collector::collector(), mappedPatchBase::collectSamples(), multiWorldConnections::comms(), wallDistAddressing::correct(), distanceSurface::createGeometry(), metisLikeDecomp::decomposeGeneral(), faMeshDecomposition::decomposeMesh(), metisDecomp::decomposeSerial(), kahipDecomp::decomposeSerial(), scotchDecomp::decomposeSerial(), directions::directions(), faMeshDistributor::distribute(), Foam::duplicateOrder(), cell::edges(), extendedEdgeMesh::edgeTreesByType(), Foam::etcDirs(), externalWallHeatFluxTemperatureFvPatchScalarField::externalWallHeatFluxTemperatureFvPatchScalarField(), ITstream::extract(), NASCore::faceDecomposition(), ABAQUSCore::faceDecomposition(), patchProbes::findElements(), searchableDisk::findLine(), searchableSphere::findLine(), searchableSphere::findLineAll(), searchableSphere::findLineAny(), namesList< solutionEntry >::findNames(), searchableDisk::findNearest(), searchableSphere::findNearest(), lumpedPointMovement::forcesAndMoments(), decomposedBlockData::gather(), decomposedBlockData::gatherSlaveData(), fileOperation::getGlobalHostIORanks(), Foam::getHostGroupIds(), Foam::exprTools::getList(), searchableDisk::getNormal(), searchableSphere::getNormal(), searchableDisk::getRegion(), searchableSphere::getRegion(), searchableSphere::getVolumeType(), Foam::identity(), dynamicMultiMotionSolverFvMesh::init(), heatExchangerModel::initialise(), GAMGInterface::interfaceInternalField(), Foam::invertOneToMany(), isoSurfaceTopo::isoSurfaceTopo(), dictionary::keys(), labelRange::labels(), UPstream::listGatherValues(), Pstream::listGatherValues(), triSurfaceLoader::load(), dlLibraryTable::loaded(), processorFaPatch::makeNonGlobalPatchPoints(), masterUncollatedFileOperation::masterOp(), PatchTools::matchEdges(), wordRes::matching(), scalars::matching(), PatchTools::matchPoints(), triSurfaceTools::mergePoints(), globalIndex::mpiGather(), extendedEdgeMesh::nearestFeatureEdgeByType(), processorTopology::New(), Foam::nonProcessorPatchNames(), polynomialFunction::operator+=(), polynomialFunction::operator-=(), argList::parse(), Foam::parseStream(), ParticleHistogram< CloudType >::ParticleHistogram(), sampledPatch::patchIDs(), phaseSystem::phaseSystem(), pointCells::pointCells(), KinematicReynoldsNumber< CloudType >::postEvolve(), ThermoReynoldsNumber< CloudType >::postEvolve(), Foam::prependList(), Foam::printTable(), processorTopology::procAdjacency(), faFieldDecomposer::processorAreaPatchFieldDecomposer::processorAreaPatchFieldDecomposer(), pointNoise::read(), limitHeight::read(), multiphaseMangrovesTurbulenceModel::read(), writeObjects::read(), explicitPorositySource::read(), derivedFields::read(), areaWrite::read(), surfaceNoise::read(), exprValue::read(), functionObjectList::read(), Foam::readBlock(), Foam::readDir(), ensightSurfaceReader::readGeometry(), masterUncollatedFileOperation::readHeader(), topoSetSource::readNames(), masterUncollatedFileOperation::readStream(), functionEntry::readStringList(), surfaceNoise::readSurfaceData(), isoAlpha::reconstruct(), searchableBox::regions(), searchableDisk::regions(), searchablePlate::regions(), searchableSphere::regions(), ITstream::remove(), fvMeshTools::removeEmptyPatches(), profilingPstream::report(), PackedList< 2 >::reserve(), memorybuf::out_dynamic::reserve(), faMeshBoundaryHalo::reset(), fvMeshSubset::reset(), globalIndex::reset(), PDRblock::gridControl::resize(), sampledCuttingSurface::sampledCuttingSurface(), sampledPlane::sampledPlane(), Foam::BitOps::set(), List< Field< scalar > >::set(), PackedList< 2 >::setCapacity(), lumpedPointMovement::setInterpolator(), faceSetOption::setSelection(), cellSetOption::setSelection(), List< Field< scalar > >::setSize(), PackedList< 2 >::shrink(), memorybuf::out_dynamic::shrink(), LUscalarMatrix::solve(), basicThermo::splitThermoName(), MeshedSurface< Foam::face >::stitchFaces(), streamLineParticle::streamLineParticle(), Foam::subsetAdjacency(), memorybuf::out_dynamic::swap(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), masterUncollatedFileOperation::sync(), HashTable< const regIOobject * >::tocEntries(), HashTable< const regIOobject * >::tocKeys(), HashTable< const regIOobject * >::tocValues(), topoBoolSet::topoBoolSet(), faceAreaIntersect::triangulate(), hashedWordList::uniq(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::uniqBoundaryFaces(), Foam::uniqueOrder(), sampledFaceZone::update(), sampledPatch::update(), faceZone::updateMesh(), polyMesh::updateMesh(), faMesh::updateMesh(), wallBoundedStreamLineParticle::wallBoundedStreamLineParticle(), multiFieldValue::write(), ParticleZoneInfo< CloudType >::write(), decomposedBlockData::writeBlocks(), lumpedPointMovement::writeStateVTP(), zeroATCcells::zeroATCcells(), adjointkOmegaSST::zeroFirstCell(), zoneToPoint::zones(), zoneToCell::zones(), zoneToFace::zones(), and faceZoneToCell::zones().
void resize | ( | const label | len, |
const T & | val | ||
) |
|
inline |
|
inline |
Adjust allocated size of list without necessarily.
retaining old content. If no reallocation is required, the contents remain untouched. Otherwise the contents will be uninitialized.
Definition at line 168 of file ListI.H.
Referenced by AMIInterpolation::agglomerate(), holeToFace::calcClosure(), mapDistributeBase::calcCompactAddressing(), primitiveMesh::calcPointOrder(), distributedDILUPreconditioner::calcReciprocalD(), processorColour::cellColour(), processorColour::colour(), metisLikeDecomp::decomposeGeneral(), metisDecomp::decomposeSerial(), kahipDecomp::decomposeSerial(), scotchDecomp::decomposeSerial(), fvMeshDistribute::distribute(), mapDistributeBase::distribute(), Pstream::exchange(), Pstream::exchangeConsensus(), Pstream::exchangeSizes(), patchProbes::findElements(), PstreamBuffers::finishedSends(), globalIndex::gather(), globalIndex::gatherValues(), globalIndex::get(), ensightReadFile::getTimeStepFooter(), searchableBox::getVolumeType(), distributedTriSurfaceMesh::getVolumeType(), memorybuf::in_dynamic::in_dynamic(), calculatedProcessorFvPatchField< Type >::initEvaluate(), heatExchangerModel::initialise(), surfaceNoise::initialise(), lduCalculatedProcessorField< Type >::initInterfaceMatrixUpdate(), calculatedProcessorFvPatchField< Type >::initInterfaceMatrixUpdate(), distributedTriSurfaceMesh::localQueries(), Foam::LUDecompose(), primitiveMeshTools::makeFaceCentresAndAreas(), mapDistribute::mapDistribute(), mapDistributeBase::mapDistributeBase(), fvMesh::mapFields(), AMIInterpolation::normaliseWeights(), cyclicPolyPatch::order(), Foam::blockMeshTools::read(), List< Field< scalar > >::readList(), ensightReadFile::readPoints(), surfaceNoise::readSurfaceData(), PDRblock::location::reset(), memorybuf::in_dynamic::reset(), option::resetApplied(), particleTracksSampler::resetCloud(), mapDistributeBase::send(), decompositionMethod::setConstraints(), faceSetOption::setFaceSelection(), tetDecomposer::setRefinement(), Foam::sortedOrder(), sampledFaceZone::update(), faceZoneSet::updateSet(), and ensightFaces::write().
|
inlinenoexcept |
|
inline |
Alias for resize()
Definition at line 320 of file List.H.
Referenced by preserveBaffles::add(), preserveFaceZones::add(), fvMeshAdder::add(), polyMeshAdder::add(), refinementHistory::add(), fvMeshPrimitiveLduAddressing::addAddressing(), cyclicAMIPolyPatch::addAMIFaces(), addPatchCellLayer::addedCells(), lduPrimitiveMesh::addInterfaces(), edgeSurface::addIntersectionEdges(), snappyLayerDriver::addLayers(), interRegionExplicitPorositySource::addSup(), adjointSolverManager::adjointSolverManager(), AMIInterpolation::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), face::areaInContact(), FreeStream< CloudType >::autoMap(), extendedEdgeMesh::autoMap(), meshRefinement::balance(), Bezier::Bezier(), bladeModel::bladeModel(), booleanSurface::booleanSurface(), searchableExtrudedCircle::boundingSpheres(), searchableBox::boundingSpheres(), searchableCylinder::boundingSpheres(), searchableSurfaceCollection::boundingSpheres(), searchableCone::boundingSpheres(), triSurfaceMesh::boundingSpheres(), nearWallFields::calcAddressing(), highAspectRatioFvGeometryScheme::calcAspectRatioWeights(), primitiveMesh::calcCells(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), CentredFitSnGradData< Polynomial >::calcFit(), FitData< CentredFitSnGradData< Polynomial >, extendedCentredCellToFaceStencil, Polynomial >::calcFit(), createShellMesh::calcPointRegions(), coupledPolyPatch::calcTransformTensors(), waveMethod::calculate(), correctedCellVolumeWeightMethod::calculate(), surfaceNoise::calculate(), meshRefinement::calculateEdgeWeights(), GAMGAgglomeration::calculateRegionMaster(), nutUSpaldingWallFunctionFvPatchScalarField::calcUTau(), pointMVCWeight::calcWeights(), primitiveMeshTools::cellClosedness(), fvMotionSolver::cellMotionBoundaryTypes(), boundaryMesh::changeFaces(), extractEulerianParticles::checkFaceZone(), GAMGAgglomeration::checkRestriction(), refinementHistory::clone(), extendedCellToFaceStencil::collectData(), extendedFaceToCellStencil::collectData(), holeToFace::combine(), removeFaces::compatibleRemoves(), axisAligned::computeControlPoints(), transformBox::computeControlPoints(), NURBS3DVolume::computeParametricCoordinates(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), removePoints::countPointUsage(), meshRefinement::createZoneBaffles(), motionSmootherAlgo::curPoints(), hexCellLooper::cut(), geomCellLooper::cut(), cyclicACMIGAMGInterface::cyclicACMIGAMGInterface(), cyclicAMIGAMGInterface::cyclicAMIGAMGInterface(), faMeshDecomposition::decomposeMesh(), scotchDecomp::decomposeSerial(), mapPatchChange::deletedPatches(), meshRefinement::directionalRefineCandidates(), snappySnapDriver::doSnap(), mapDistributeBase::exchangeAddressing(), extendedEdgeMesh::extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), primitiveMesh::faceEdges(), primitiveMeshTools::facePyramidVolume(), searchablePlateFeatures::features(), searchableSurfacesQueries::findAllIntersections(), refinementSurfaces::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), shellSurfaces::findDirectionalLevel(), shellSurfaces::findHigherGapLevel(), refinementSurfaces::findHigherIntersection(), refinementSurfaces::findInside(), shellSurfaces::findLevel(), triSurfaceSearch::findLine(), searchablePlane::findLine(), searchablePlate::findLine(), searchableCylinder::findLine(), searchableSurfaceWithGaps::findLine(), searchableSurfaceCollection::findLine(), searchableRotatedBox::findLine(), searchableBox::findLine(), searchableCone::findLine(), triSurfaceSearch::findLineAll(), searchablePlane::findLineAll(), searchablePlate::findLineAll(), searchableDisk::findLineAll(), searchableCylinder::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), searchableCone::findLineAll(), distributedTriSurfaceMesh::findLineAll(), triSurfaceSearch::findLineAny(), searchableCylinder::findLineAny(), searchableRotatedBox::findLineAny(), searchableBox::findLineAny(), searchableCone::findLineAny(), mappedPatchBase::findLocalSamples(), searchableSurfacesQueries::findNearest(), triSurfaceRegionSearch::findNearest(), triSurfaceSearch::findNearest(), searchablePlane::findNearest(), searchableExtrudedCircle::findNearest(), searchablePlate::findNearest(), searchableCylinder::findNearest(), searchableRotatedBox::findNearest(), searchableBox::findNearest(), searchableCone::findNearest(), distributedTriSurfaceMesh::findNearest(), refinementFeatures::findNearestEdge(), searchableSurfacesQueries::findNearestIntersection(), refinementSurfaces::findNearestIntersection(), refinementFeatures::findNearestPoint(), refinementSurfaces::findNearestRegion(), refinementFeatures::findNearestRegionEdge(), searchableExtrudedCircle::findParametricNearest(), NURBS3DVolume::findPointsInBox(), mappedPatchBase::findSamples(), polyMeshAdder::findSharedPoints(), FreeStream< CloudType >::FreeStream(), decomposedBlockData::gather(), combineFaces::getMergeSets(), decompositionConstraint::getMinBoundaryValue(), searchableExtrudedCircle::getNormal(), searchablePlate::getNormal(), searchableCylinder::getNormal(), searchableSurfaceCollection::getNormal(), searchableBox::getNormal(), triSurfaceMesh::getNormal(), searchableCone::getNormal(), distributedTriSurfaceMesh::getNormal(), boundaryMesh::getNTris(), weightedPosition::getPoints(), searchablePlane::getRegion(), searchableExtrudedCircle::getRegion(), searchablePlate::getRegion(), searchableCylinder::getRegion(), searchableSurfaceCollection::getRegion(), searchableRotatedBox::getRegion(), searchableBox::getRegion(), triSurfaceMesh::getRegion(), searchableCone::getRegion(), distributedTriSurfaceMesh::getRegion(), removePoints::getUnrefimentSet(), cellLooper::getVertEdgesNonFace(), triSurfaceTools::getVertexTriangles(), searchableCylinder::getVolumeType(), triSurfaceMesh::getVolumeType(), searchableCone::getVolumeType(), distributedTriSurfaceMesh::getVolumeType(), meshRefinement::getZoneFaces(), cellCellStencil::globalCellCells(), addPatchCellLayer::globalEdgeFaces(), triSurfaceTools::greenRefine(), Distribution< Type >::index(), meshToMeshMethod::initialise(), InjectedParticleDistributionInjection< CloudType >::initialise(), fluxSummary::initialiseSurfaceAndDirection(), optimisationManager::initialize(), linearInterpolationWeights::integrationWeights(), AMIInterpolation::interpolateToSource(), AMIInterpolation::interpolateToTarget(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), lduPrimitiveMesh::lduPrimitiveMesh(), distributedTriSurfaceMesh::localQueries(), highAspectRatioFvGeometryScheme::makeAverageCentres(), volPointInterpolationAdjoint::makeBoundaryWeights(), voxelMeshSearch::makeMesh(), averageNeighbourFvGeometryScheme::makeNonOrthoWeights(), averageNeighbourFvGeometryScheme::makePyrHeights(), mappedWallPolyPatch::mapCollocatedFaces(), mappedPolyPatch::mapCollocatedFaces(), cyclicACMIPolyPatch::mapCollocatedFaces(), cyclicPolyPatch::mapCollocatedFaces(), mapDistributeBase::mapDistributeBase(), faMesh::mapOldAreas(), trackingInverseDistance::markDonors(), inverseDistance::markDonors(), boundaryMesh::markFaces(), PatchTools::markZones(), triSurface::markZones(), Foam::matchPoints(), cellToFaceStencil::merge(), edgeIntersections::merge(), meshRefinement::mergeBaffles(), globalMeshData::mergePoints(), extendedEdgeMesh::mergePointsAndSort(), fileOperation::mergeTimes(), engineValve::movingPatchIDs(), extendedEdgeMesh::nearestFeatureEdge(), surfaceFeatures::nearestSurfEdge(), cellCuts::nonAnchorPoints(), Distribution< Type >::normalised(), objectiveManager::objectiveManager(), oldCyclicPolyPatch::order(), processorPolyPatch::order(), cyclicAMIPolyPatch::order(), distributedTriSurfaceMesh::overlappingSurface(), ParticleCollector< CloudType >::ParticleCollector(), polyMeshAdder::patchFacePairs(), pointFieldReconstructor::pointFieldReconstructor(), PatchTools::pointNormals(), Foam::polyMeshZipUpCells(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), snappySnapDriver::preSmoothPatch(), GAMGAgglomeration::procAgglomerateLduAddressing(), Distribution< Type >::raw(), TRIsurfaceFormat< Face >::read(), runTimeControl::read(), cloudSolution::read(), multiphaseMangrovesTurbulenceModel::read(), STLsurfaceFormat< Face >::read(), STARCDMeshReader::readBoundary(), STARCDMeshReader::readCells(), FIREMeshReader::readFaces(), reader::readField(), boundaryMesh::readTriSurface(), EFA< CompType, ThermoType >::reduceMechanism(), PFA< CompType, ThermoType >::reduceMechanism(), DAC< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), meshRefinement::refineCandidates(), searchablePlane::regions(), searchableExtrudedCircle::regions(), searchableCylinder::regions(), searchableSurfaceCollection::regions(), searchableCone::regions(), triSurfaceMesh::regions(), edgeMesh::regions(), fvMeshSubset::reset(), searchableSurfaces::searchableSurfaces(), extendedEdgeMesh::select(), levelSetDesignVariables::setActiveDesignVariables(), weightedPosition::setPoints(), box::setRefineFlags(), duplicatePoints::setRefinement(), refinementIterator::setRefinement(), boundaryCutter::setRefinement(), removePoints::setRefinement(), tetDecomposer::setRefinement(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), propellerInfo::setSampleDiskGeometry(), SortableListDRGEP< Type >::setSize(), SortableListEFA< Type >::setSize(), bufferedAccumulator< scalar >::setSizes(), removePoints::setUnrefinement(), ParSortableList< Type >::sort(), extendedEdgeMesh::sortedOrder(), extendedEdgeMesh::sortPointsAndEdges(), meshRefinement::splitFacesUndo(), leastSquares::stencilWeights(), cellVolumeWeight::stencilWeights(), inverseDistance::stencilWeights(), oversetFvPatchField< Type >::storeFringeCoefficients(), triSurfaceRegionSearch::treeByRegion(), boundaryMesh::triangulate(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), boundaryMesh::triangulateLocal(), advancingFrontAMI::triangulatePatch(), triSurface::triFaceFaces(), streamLineBase::trimToBox(), trackingInverseDistance::update(), inverseDistance::update(), oversetFvMeshBase::updateAddressing(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), designVariablesUpdate::updateGradientsAndValues(), edgeVertex::updateLabels(), removePoints::updateMesh(), boundaryCutter::updateMesh(), addPatchCellLayer::updateMesh(), faMesh::updateMesh(), ISQP::updateSizes(), MMA::updateSizes(), zoneCellStencils::validBoundaryFaces(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), splineInterpolationWeights::valueWeights(), linearInterpolationWeights::valueWeights(), topOVariablesBase::writeFluidSolidInterface(), topOVariablesBase::writeSurfaceFiles(), streamLineBase::writeToFile(), and adjointkOmegaSST::zeroFirstCell().
|
inline |
Transfer the contents of the argument List into this list and annul the argument list.
Definition at line 326 of file List.C.
Referenced by geometric::add(), extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::allNearestFeaturePoints(), faceZoneToFaceZone::applyToSet(), setToCellZone::applyToSet(), setToPointZone::applyToSet(), setAndNormalToFaceZone::applyToSet(), setToFaceZone::applyToSet(), searchableSurfaceToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), cellToFaceZone::applyToSet(), extendedEdgeMesh::autoMap(), PDRblock::blockMeshDict(), polyDualMesh::calcFeatures(), createShellMesh::calcPointRegions(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), mapNearestMethod::calculateAddressing(), directMethod::calculateAddressing(), triSurface::compactPoints(), MeshedSurface< Foam::face >::compactPoints(), removeFaces::compatibleRemoves(), distanceSurface::createGeometry(), inverseDistance::createStencil(), geomCellLooper::cut(), topoCellLooper::cut(), extendedEdgeMesh::cut(), cyclicACMIGAMGInterface::cyclicACMIGAMGInterface(), cyclicAMIGAMGInterface::cyclicAMIGAMGInterface(), fvMeshDistribute::distribute(), pointNoise::filterTimeData(), triSurfaceSearch::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), distributedTriSurfaceMesh::findNearest(), for(), PatchTools::gatherAndMerge(), Foam::getSelectedProcs(), memorybuf::in_dynamic::in_dynamic(), InjectedParticleInjection< CloudType >::initialise(), InjectedParticleDistributionInjection< CloudType >::initialise(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), triSurfaceLoader::load(), voxelMeshSearch::makeMesh(), PatchTools::markZone(), momentOfInertia::massPropertiesPatch(), polyBoundaryMesh::matchGroups(), cellToCellStencil::merge(), fileOperation::mergeTimes(), MeshedSurface< Foam::face >::MeshedSurface(), meshedSurfRef::movePoints(), oversetFvMeshBase::normalisation(), properties::objectResultEntries(), noiseFFT::octaveBandInfo(), SortableList< T >::operator=(), memorybuf::out_dynamic::out_dynamic(), SortableList< T >::partialReverseSort(), SortableList< T >::partialSort(), GAMGAgglomeration::procAgglomerateRestrictAddressing(), OBJedgeFormat::read(), binModel::read(), streamLineParticle::readFields(), List< Field< scalar > >::readList(), UList< Foam::vector >::readList(), STARCDCore::readPoints(), edgeMesh::regions(), cuttingSurfaceBase::remapFaces(), SortableList< T >::reverseSort(), noiseModel::setOctaveBands(), box::setRefineFlags(), hexRef8::setRefinement(), SortableListEFA< Type >::sort(), SortableListDRGEP< Type >::sort(), SortableList< T >::sort(), extendedEdgeMesh::sortPointsAndEdges(), SortableListDRGEP< Type >::stableSort(), SortableListEFA< Type >::stableSort(), PackedList< 2 >::transfer(), trackingInverseDistance::update(), inverseDistance::update(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), topoBoolSet::updateLabels(), meshRefinement::updateList(), hexRef8Data::updateMesh(), boundaryCutter::updateMesh(), localPointRegion::updateMesh(), hexRef8::updateMesh(), meshRefinement::updateMesh(), solverFieldSelection::updateSelection(), volFieldSelection::updateSelection(), cellCellStencil::walkFront(), and streamLineBase::writeToFile().
void transfer | ( | DynamicList< T, SizeMin > & | list | ) |
|
inline |
|
inline |
Construct an element at the end of the list, return reference to the new list element.
If this is frequently required, consider a DynamicList instead.
Definition at line 205 of file ListI.H.
Referenced by ensightCells::writeBox().
|
inline |
Append an element at the end of the list.
If this is frequently required, consider a DynamicList
Definition at line 220 of file ListI.H.
Referenced by topOVariablesBase::addBoundaryFacesToIsoline(), zoneIdentifier::addGroup(), patchIdentifier::addGroup(), List< Field< scalar > >::append(), AMIInterpolation::append(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), commSchedule::commSchedule(), faceCells::faceCells(), argList::parse(), ABAQUSsurfaceFormat< Face >::read(), timeSelector::select0(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::setEdgeInfo(), PointEdgeWave< Type, TrackingData >::setPointInfo(), meshState::setSolverPerformance(), objectiveNutSqr::update_dJdv(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), and faceZoneSet::updateMesh().
|
inline |
Move append an element at the end of the list.
If this is frequently required, consider a DynamicList
Append a List to the end of this list.
If this is frequently required, consider a DynamicList
|
inline |
Append IndirectList contents at the end of this list.
If this is frequently required, consider a DynamicList
|
inline |
Append an element if not already in the list.
Definition at line 278 of file ListI.H.
Referenced by List< Field< scalar > >::appendUniq(), and mapDistributeBase::schedule().
|
inline |
Reduce size by 1 or more elements. Can be called on an empty list.
Definition at line 293 of file ListI.H.
Referenced by correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), and noiseFFT::octaveBandInfo().
Assignment to UList operator. Takes linear time.
Definition at line 360 of file List.C.
Referenced by SortableListDRGEP< Type >::operator=(), SortableListEFA< Type >::operator=(), SortableList< T >::operator=(), and ITstream::operator=().
void operator= | ( | const IndirectListBase< T, Addr > & | list | ) |
Assignment from IndirectList. Takes linear time.
void operator= | ( | std::initializer_list< T > | list | ) |
|
inline |
|
inline |
void operator= | ( | DynamicList< T, SizeMin > && | list | ) |
Foam::Istream & readList | ( | Istream & | is | ) |
Read List from Istream, discarding contents of existing List.
Definition at line 169 of file ListIO.C.
Referenced by Foam::operator>>(), and decomposedBlockData::readBlockEntry().
No shallowCopy permitted.
Referenced by ODESolver::resizeField().
|
inline |
A bitSet::set() method for a list of bool.
Increases size when setting an out-of-bounds value.
Definition at line 493 of file List.H.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), meshRefinement::blockLeakFaces(), edgeCollapser::consistentCollapse(), hexRef8::consistentSlowRefinement2(), hexRef8::consistentUnrefinement(), MomentumTransferPhaseSystem< BasePhaseSystem >::ddtCorrByAs(), faceSet::distribute(), pointSet::distribute(), cellSet::distribute(), distanceSurface::filterPrepareRegionSplit(), distanceSurface::filterRegionProximity(), masterUncollatedFileOperation::findTimes(), syncTools::getMasterEdges(), syncTools::getMasterPoints(), dynamicRefineFvMesh::init(), InjectedParticleDistributionInjection< CloudType >::initialise(), singleCellFvMesh::interpolate(), isoSurfacePoint::isoSurfacePoint(), multiphaseSystem::multiphaseSystem(), oversetFvMeshBase::normalisation(), phaseSystem::phaseSystem(), GAMGAgglomeration::procAgglomerateLduAddressing(), ABAQUSCore::readHelper::purge_solids(), boundaryMesh::readTriSurface(), refinementSurfaces::refinementSurfaces(), sampledMeshedSurface::sampledMeshedSurface(), Foam::BitOps::set(), fvMatrix< Type >::setBounAndInterCoeffs(), FaceCellWave< Foam::wallPointData< bool > >::setFaceInfo(), lumpedPointMovement::setInterpolator(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), ISQP::ShermanMorrisonPrecon(), fieldSmoother::smoothNormals(), multiphaseSystem::solve(), multiphaseSystem::solveAlphas(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi(), pointSet::sync(), faceSet::sync(), topoBoolSet::updateLabels(), dynamicRefineFvMesh::updateTopology(), cellCellStencil::walkFront(), and faMeshDecomposition::writeDecomposition().
|
inline |
Append an element at the end of the list.
If this is frequently required, consider a DynamicList FOAM_DEPRECATED_FOR(2022-10, "push_back()")
Definition at line 521 of file List.H.
Referenced by singleProcessorFaceSets::add(), unwatchedIOdictionary::addWatch(), AMIInterpolation::agglomerate(), PDRblock::gridControl::append(), Foam::appendNamedEntry(), createShellMesh::calcPointRegions(), waveMethod::calculate(), directMethod::calculateAddressing(), GAMGAgglomeration::checkRestriction(), triSurface::compactPoints(), MeshedSurface< Foam::face >::compactPoints(), removeFaces::compatibleRemoves(), box::createMap(), faMeshDecomposition::decomposeMesh(), distributedDILUPreconditioner::distributedDILUPreconditioner(), snappyLayerDriver::doLayers(), edgeSurface::edgeSurface(), zeroGradient::execute(), ddt2::execute(), shellSurfaces::findDirectionalLevel(), localPointRegion::findDuplicateFacePairs(), Foam::findEtcEntries(), distributedTriSurfaceMesh::findNearest(), removeCells::getExposedFaces(), MRFZoneList::getFromName(), meshRefinement::getZones(), triSurfaceTools::greenRefine(), inverseDistance::holeExtrapolationStencil(), InjectedParticleDistributionInjection< CloudType >::initialise(), viewFactor::initialise(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), fluxSummary::initialiseSurface(), fluxSummary::initialiseSurfaceAndDirection(), triSurfaceLoader::load(), LuoSvendsen::LuoSvendsen(), marchingCells::march(), trackingInverseDistance::markDonors(), inverseDistance::markDonors(), PatchTools::markZone(), triSurface::markZone(), blockMesh::mesh(), meshRefinement::meshedPatches(), boundaryMesh::patchify(), refinementParameters::refinementParameters(), edgeMesh::regions(), regionSplit2D::regionSplit2D(), edgeCollapser::setRefinement(), hexRef8::setRefinement(), Foam::fvc::spread(), meshRefinement::subsetBaffles(), Foam::fvc::sweep(), oversetFvMeshBase::updateAddressing(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), externalDisplacementMeshMover::updateMesh(), and particleDistribution::write().
|
inline |
Move append an element at the end of the list.
If this is frequently required, consider a DynamicList FOAM_DEPRECATED_FOR(2022-10, "push_back()")
Append a List to the end of this list.
If this is frequently required, consider a DynamicList FOAM_DEPRECATED_FOR(2022-10, "push_back()")
|
inline |
Append IndirectList contents at the end of this list.
If this is frequently required, consider a DynamicList FOAM_DEPRECATED_FOR(2022-10, "push_back()")
|
inline |
Same as push_uniq()
Use the readList() method to read contents from Istream.