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 *, 16 > >, 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::string, label > >, DynamicList< Foam::WallCollisionRecord< vector > >, DynamicList< Foam::WallCollisionRecord< WallType > >, DynamicList< Foam::wordRe >, DynamicList< point >, DynamicList< taggedInfoType >, DynamicList< token >, DynamicList< tokenType, 16 >, DynamicList< void *>, DynamicList< vtmEntry >, Field< complexVector >, Field< DType >, Field< Foam::Field< Type > >, Field< Foam::SymmTensor >, Field< Foam::Vector2D >, Field< Foam::Vector< bool > >, Field< LUType >, Field< solveScalar >, Field< symmTensor >, Field< T >, Field< tensor >, Field< TypeGrad >, BinSum< IndexType, List, CombineOp >, cellShape, CompactIOList< T, BaseType >, DynamicList< T, SizeMin >, faceToCellStencil, faceTriangulation, hashedWordList, IOList< T >, ITstream, PDRblock::location, polynomialFunction [private]
, 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 > &a) | |
Copy construct from list. More... | |
List (const UList< T > &a) | |
Copy construct contents from list. More... | |
List (List< T > &a, bool reuse) | |
Construct as copy or re-use as specified. More... | |
List (const UList< T > &list, const labelUList &indices) | |
Copy construct subset of list. More... | |
template<unsigned N> | |
List (const UList< T > &list, const FixedList< label, N > &indices) | |
Copy construct subset of list. More... | |
template<unsigned N> | |
List (const FixedList< T, N > &list) | |
Construct as copy of FixedList<T, N> More... | |
List (const PtrList< T > &list) | |
Construct as copy of PtrList<T> More... | |
List (const SLList< T > &list) | |
Construct as copy of SLList<T> More... | |
template<class Addr > | |
List (const IndirectListBase< T, Addr > &list) | |
Construct as copy of IndirectList contents. More... | |
List (std::initializer_list< T > list) | |
Construct from an initializer list. More... | |
List (List< T > &&list) | |
Move construct from List. More... | |
template<int SizeMin> | |
List (DynamicList< T, SizeMin > &&list) | |
Move construct from DynamicList. More... | |
List (SLList< T > &&list) | |
Move construct from SLList. More... | |
List (Istream &is) | |
Construct from Istream. More... | |
autoPtr< List< T > > | clone () const |
Clone. More... | |
~List () | |
Destructor. More... | |
void | clear () |
Clear the list, i.e. set size to zero. More... | |
void | resize (const label len) |
Adjust allocated size of list. More... | |
void | resize (const label len, const T &val) |
Adjust allocated size of list and set val for new elements. More... | |
void | resize_nocopy (const label len) |
Adjust allocated size of list without necessarily. More... | |
void | setSize (const label n) |
Alias for resize() More... | |
void | setSize (const label n, const T &val) |
Alias for resize() More... | |
void | 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... | |
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 > &a) |
Assignment to UList operator. Takes linear time. More... | |
void | operator= (const List< T > &list) |
Assignment operator. Takes linear time. More... | |
void | operator= (const SLList< T > &list) |
Assignment to SLList operator. Takes linear time. More... | |
template<class Addr > | |
void | operator= (const IndirectListBase< T, Addr > &list) |
Assignment from IndirectList. Takes linear time. More... | |
template<unsigned N> | |
void | operator= (const FixedList< T, N > &list) |
Copy assignment from FixedList. More... | |
void | operator= (std::initializer_list< T > list) |
Assignment to an initializer list. More... | |
void | operator= (const T &val) |
Assignment of all entries to the given value. More... | |
void | operator= (const Foam::zero) |
Assignment of all entries to zero. More... | |
void | operator= (List< T > &&list) |
Move assignment. Takes constant time. More... | |
template<int SizeMin> | |
void | operator= (DynamicList< T, SizeMin > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (SLList< T > &&list) |
Move assignment. Takes constant time. More... | |
Istream & | readList (Istream &is) |
Read List from Istream, discarding contents of existing List. More... | |
void | shallowCopy (const UList< T > &)=delete |
No shallowCopy permitted. More... | |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | set (const label i, bool val=true) |
A bitSet::set() method for a list of bool. More... | |
void | append (const T &val) |
Append an element at the end of the list. More... | |
void | append (T &&val) |
Move append an element at the end of the list. More... | |
void | append (const UList< T > &list) |
Append a List to the end of this list. More... | |
template<class Addr > | |
void | append (const IndirectListBase< T, Addr > &list) |
Append IndirectList contents at the end of this list. More... | |
label | appendUniq (const T &val) |
Append an element if not already in the list. More... | |
template<> | |
Istream & | readList (Istream &is) |
Specialized list reading for character lists which always uses binary format. More... | |
template<> | |
void | resize (const label newLen) |
template<> | |
Istream & | readList (Istream &is) |
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... | |
label | find (const T &val, label pos=0) 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... | |
bool | found (const T &val, label pos=0) const |
True if the value if found in the list. 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 (const UList< T > &list) |
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... | |
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... | |
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... | |
label | size () const noexcept |
The number of elements in the UList. More... | |
bool | empty () const noexcept |
True if the UList is empty (ie, size() is zero) More... | |
void | swap (UList< T > &list) |
Swap content with another UList of the same type in constant time. More... | |
bool | operator== (const UList< T > &a) const |
Equality operation on ULists of the same type. More... | |
bool | operator!= (const UList< T > &a) 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 > &a) const |
Compare two ULists lexicographically. Takes linear time. More... | |
bool | operator<= (const UList< T > &a) const |
Return true if !(a > b). Takes linear time. More... | |
bool | operator>= (const UList< T > &a) 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... | |
template<> | |
Istream & | readList (Istream &is) |
Specialized list reading for character lists which always uses binary format. More... | |
template<> | |
Ostream & | writeList (Ostream &os, const label) const |
Specialized writeList for character lists which always uses binary format. More... | |
template<> | |
const bool & | operator[] (const label i) const |
template<> | |
Foam::UPstream::commsStruct & | operator[] (const label procID) |
template<> | |
const Foam::UPstream::commsStruct & | operator[] (const label procID) const |
template<> | |
UPstream::commsStruct & | operator[] (const label procID) |
template<> | |
const UPstream::commsStruct & | operator[] (const label procID) const |
template<> | |
Ostream & | writeList (Ostream &os, const label) const |
template<> | |
Istream & | readList (Istream &is) |
Static Public Member Functions | |
static const List< T > & | null () |
Return a null List. More... | |
Static Public Member Functions inherited from UList< T > | |
static const UList< T > & | null () |
Return a UList reference to a nullObject. 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... | |
UList< T > & | operator= (const UList< T > &)=delete |
No copy assignment (default: shallow copy) More... | |
template<> | |
void | writeEntry (Ostream &os) const |
Specialized writeEntry for character lists which always uses binary format. More... | |
template<> | |
void | writeEntry (Ostream &os) const |
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.
|
inlinestatic |
Return a null List.
Definition at line 102 of file ListI.H.
Referenced by mapDistributeBase::whichSchedule().
|
inline |
|
inline |
Clear the list, i.e. set size to zero.
Definition at line 109 of file ListI.H.
Referenced by polyMeshAdder::add(), holeToFace::calcClosure(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), ensightPart::clear(), SortableList< T >::clear(), meshedSurfRef::clear(), mergedSurf::clear(), IListStreamAllocator::clearStorage(), PackedList< 2 >::clearStorage(), polySurface::copySurface(), surfMesh::copySurface(), removePoints::countPointUsage(), distanceSurface::createGeometry(), box::createMap(), meshRefinement::createZoneBaffles(), metisLikeDecomp::decomposeGeneral(), DimensionedField< Type, Foam::pointMesh >::DimensionedField(), Foam::duplicateOrder(), 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(), 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(), surfMesh::removeZones(), particleTracksSampler::reset(), meshedSurfRef::reset(), meshedSurfRef::resetPoints(), cyclicAMIPolyPatch::restoreScaledGeometry(), decompositionMethod::setConstraints(), lumpedPointMovement::setInterpolator(), faceSetOption::setSelection(), cellSetOption::setSelection(), MeshedSurface< Foam::face >::stitchFaces(), hexRef8::storeData(), PatchTools::subsetMap(), UnsortedMeshedSurface< Face >::swap(), trackingInverseDistance::update(), cellVolumeWeight::update(), inverseDistance::update(), 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 132 of file ListI.H.
Referenced by preservePatches::add(), singleProcessorFaceSets::add(), geometric::add(), object::addData(), regIOobject::addWatch(), Foam::blankElementMasks(), searchablePlane::boundingSpheres(), searchableDisk::boundingSpheres(), searchablePlate::boundingSpheres(), searchableSphere::boundingSpheres(), SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::cacheFilmFields(), isoSurfaceBase::calcCellCuts(), Foam::calcElementMasks(), polyLine::calcParam(), topoSetSource::check(), MeshedSurface< Foam::face >::checkFaces(), cellShape::collapsedFaces(), triSurfaceTools::collapseEdges(), multiWorldConnections::comms(), distanceSurface::createGeometry(), metisLikeDecomp::decomposeGeneral(), faMeshDecomposition::decomposeMesh(), directions::directions(), faMeshDistributor::distribute(), mapDistributeBase::distribute(), Foam::duplicateOrder(), cell::edges(), extendedEdgeMesh::edgeTreesByType(), Foam::etcDirs(), externalWallHeatFluxTemperatureFvPatchScalarField::externalWallHeatFluxTemperatureFvPatchScalarField(), NASCore::faceDecomposition(), ABAQUSCore::faceDecomposition(), faceZone::faceZone(), patchProbes::findElements(), searchableDisk::findLine(), searchableSphere::findLine(), searchableSphere::findLineAll(), searchableSphere::findLineAny(), namesList< solutionEntry >::findNames(), searchableDisk::findNearest(), searchableSphere::findNearest(), lumpedPointMovement::forcesAndMoments(), decomposedBlockData::gather(), decomposedBlockData::gatherSlaveData(), Foam::exprTools::getList(), searchableDisk::getNormal(), searchableSphere::getNormal(), searchableDisk::getRegion(), searchableSphere::getRegion(), searchableSphere::getVolumeType(), dynamicMultiMotionSolverFvMesh::init(), heatExchangerModel::initialise(), GAMGInterface::interfaceInternalField(), Foam::invertOneToMany(), isoSurfaceTopo::isoSurfaceTopo(), dictionary::keys(), UPstream::listGatherValues(), triSurfaceLoader::load(), dlLibraryTable::loaded(), processorFaPatch::makeNonGlobalPatchPoints(), PatchTools::matchEdges(), wordRes::matching(), scalars::matching(), PatchTools::matchPoints(), triSurfaceTools::mergePoints(), globalIndex::mpiGather(), extendedEdgeMesh::nearestFeatureEdgeByType(), processorTopology::New(), Foam::nonProcessorPatchNames(), polynomialFunction::operator+=(), polynomialFunction::operator-=(), Foam::operator>>(), argList::parse(), Foam::parseStream(), sampledPatch::patchIDs(), phaseSystem::phaseSystem(), pointCells::pointCells(), Foam::prependList(), Foam::printTable(), faFieldDecomposer::processorAreaPatchFieldDecomposer::processorAreaPatchFieldDecomposer(), Foam::blockMeshTools::read(), ABAQUSsurfaceFormat< Face >::read(), pointNoise::read(), limitHeight::read(), multiphaseMangrovesTurbulenceModel::read(), writeObjects::read(), explicitPorositySource::read(), derivedFields::read(), areaWrite::read(), surfaceNoise::read(), functionObjectList::read(), Foam::readBlock(), Foam::readDir(), masterUncollatedFileOperation::readHeader(), List< Field< scalar > >::readList(), masterUncollatedFileOperation::readStream(), functionEntry::readStringList(), surfaceNoise::readSurfaceData(), isoAlpha::reconstruct(), searchableBox::regions(), searchableDisk::regions(), searchablePlate::regions(), searchableSphere::regions(), fvMeshTools::removeEmptyPatches(), PackedList< 2 >::reserve(), faMeshBoundaryHalo::reset(), globalIndex::reset(), fvMeshSubset::reset(), PDRblock::gridControl::resize(), sampledCuttingSurface::sampledCuttingSurface(), sampledPlane::sampledPlane(), Foam::BitOps::set(), List< Field< scalar > >::set(), PackedList< 2 >::setCapacity(), faBoundaryMesh::setGroup(), ZoneMesh< cellZone, polyMesh >::setGroup(), polyBoundaryMesh::setGroup(), lumpedPointMovement::setInterpolator(), edgeCollapser::setRefinement(), faceSetOption::setSelection(), cellSetOption::setSelection(), List< Field< scalar > >::setSize(), PackedList< 2 >::shrink(), LUscalarMatrix::solve(), basicThermo::splitThermoName(), MeshedSurface< Foam::face >::stitchFaces(), streamLineParticle::streamLineParticle(), surfZoneIOList::surfZoneIOList(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), 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(), polyMesh::updateMesh(), faMesh::updateMesh(), wallBoundedStreamLineParticle::wallBoundedStreamLineParticle(), multiFieldValue::write(), ParticleZoneInfo< CloudType >::write(), ensightFaces::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 |
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 139 of file ListI.H.
Referenced by mapDistributeBase::calcCompactAddressing(), primitiveMesh::calcPointOrder(), metisLikeDecomp::decomposeGeneral(), Pstream::exchange(), Pstream::exchangeSizes(), patchProbes::findElements(), globalIndex::gather(), globalIndex::gatherValues(), globalIndex::get(), searchableBox::getVolumeType(), heatExchangerModel::initialise(), primitiveMeshTools::makeFaceCentresAndAreas(), surfaceNoise::readSurfaceData(), option::resetApplied(), particleTracksSampler::resetCloud(), faceSetOption::setFaceSelection(), Foam::sortedOrder(), and sampledFaceZone::update().
|
inline |
Alias for resize()
Definition at line 289 of file List.H.
Referenced by preserveBaffles::add(), preserveFaceZones::add(), fvMeshAdder::add(), polyMeshAdder::add(), refinementHistory::add(), fvMeshPrimitiveLduAddressing::addAddressing(), cyclicAMIPolyPatch::addAMIFaces(), cellTable::addCellZones(), addPatchCellLayer::addedCells(), lduPrimitiveMesh::addInterfaces(), oversetFvMeshBase::addInterpolation(), edgeSurface::addIntersectionEdges(), snappyLayerDriver::addLayers(), interRegionExplicitPorositySource::addSup(), adjointSolverManager::adjointSolverManager(), AMIInterpolation::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), face::areaInContact(), sensitivitySurfacePoints::assembleSensitivities(), 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(), decompositionMethod::calcCellCells(), primitiveMesh::calcCells(), holeToFace::calcClosure(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), CentredFitSnGradData< Polynomial >::calcFit(), FitData< CentredFitSnGradData< Polynomial >, extendedCentredCellToFaceStencil, Polynomial >::calcFit(), createShellMesh::calcPointRegions(), coupledFaPatch::calcTransformTensors(), 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(), mappedPatchBase::collectSamples(), holeToFace::combine(), GAMGAgglomeration::compactLevels(), removeFaces::compatibleRemoves(), axisAligned::computeControlPoints(), transformBox::computeControlPoints(), sensitivitySurface::computeDerivativesSize(), optimisationType::computeMeritFunction(), NURBS3DVolume::computeParametricCoordinates(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), removePoints::countPointUsage(), cyclicPolyPatch::coupledPoints(), box::createLODMap(), meshRefinement::createZoneBaffles(), motionSmootherAlgo::curPoints(), hexCellLooper::cut(), geomCellLooper::cut(), faMeshDecomposition::decomposeMesh(), mapPatchChange::deletedPatches(), meshRefinement::directionalRefineCandidates(), fvMeshDistribute::distribute(), snappySnapDriver::doSnap(), mapDistributeBase::exchangeAddressing(), 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(), decomposedBlockData::gatherSlaveData(), 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(), calculatedProcessorFvPatchField< Type >::initEvaluate(), meshToMeshMethod::initialise(), InjectedParticleDistributionInjection< CloudType >::initialise(), surfaceNoise::initialise(), fluxSummary::initialiseSurfaceAndDirection(), objectivePtLosses::initialize(), objectiveUniformityPatch::initialize(), linearInterpolationWeights::integrationWeights(), AMIInterpolation::interpolateToSource(), AMIInterpolation::interpolateToTarget(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), lduPrimitiveMesh::lduPrimitiveMesh(), distributedTriSurfaceMesh::localQueries(), highAspectRatioFvGeometryScheme::makeAverageCentres(), voxelMeshSearch::makeMesh(), averageNeighbourFvGeometryScheme::makeNonOrthoWeights(), averageNeighbourFvGeometryScheme::makePyrHeights(), mappedWallPolyPatch::mapCollocatedFaces(), mappedPolyPatch::mapCollocatedFaces(), cyclicACMIPolyPatch::mapCollocatedFaces(), cyclicPolyPatch::mapCollocatedFaces(), mapDistribute::mapDistribute(), mapDistributeBase::mapDistributeBase(), fvMesh::mapFields(), 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(), AMIInterpolation::normaliseWeights(), objectiveManager::objectiveManager(), UList< Foam::vector >::operator[](), oldCyclicPolyPatch::order(), processorPolyPatch::order(), cyclicPolyPatch::order(), cyclicAMIPolyPatch::order(), distributedTriSurfaceMesh::overlappingSurface(), ParticleCollector< CloudType >::ParticleCollector(), polyMeshAdder::patchFacePairs(), pointFieldReconstructor::pointFieldReconstructor(), PatchTools::pointNormals(), Foam::polyMeshZipUpCells(), KinematicReynoldsNumber< CloudType >::postEvolve(), ThermoReynoldsNumber< CloudType >::postEvolve(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), snappySnapDriver::preSmoothPatch(), Distribution< Type >::raw(), TRIsurfaceFormat< Face >::read(), runTimeControl::read(), cloudSolution::read(), multiphaseMangrovesTurbulenceModel::read(), STLsurfaceFormat< Face >::read(), regIOobject::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(), meshRefinement::selectIntersectedFaces(), decompositionMethod::setConstraints(), 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(), data::setSolverPerformance(), 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(), optimisationType::updateGradientsAndValues(), edgeVertex::updateLabels(), removePoints::updateMesh(), faGlobalMeshData::updateMesh(), boundaryCutter::updateMesh(), faceZone::updateMesh(), addPatchCellLayer::updateMesh(), faMesh::updateMesh(), zoneCellStencils::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), cellToCellStencil::validBoundaryFaces(), splineInterpolationWeights::valueWeights(), linearInterpolationWeights::valueWeights(), streamLineBase::writeToFile(), and adjointkOmegaSST::zeroFirstCell().
|
inline |
Transfer the contents of the argument List into this list and annul the argument list.
Definition at line 439 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(), box::box(), 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(), InjectedParticleInjection< CloudType >::initialise(), InjectedParticleDistributionInjection< CloudType >::initialise(), objectivePtLosses::initialize(), objectiveUniformityPatch::initialize(), 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=(), 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(), SortableListEFA< Type >::stableSort(), SortableListDRGEP< Type >::stableSort(), PackedList< 2 >::transfer(), trackingInverseDistance::update(), inverseDistance::update(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), uniformInterpolatedDisplacementPointPatchVectorField::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 |
Return subscript-checked element of UList and resizing the list if required.
Definition at line 146 of file ListI.H.
Referenced by Foam::parseStream().
|
inline |
Append an element at the end of the list.
If this is frequently required, consider a DynamicList
Definition at line 168 of file ListI.H.
Referenced by List< Field< scalar > >::append(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::setEdgeInfo(), and PointEdgeWave< Type, TrackingData >::setPointInfo().
|
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 225 of file ListI.H.
Referenced by List< Field< scalar > >::appendUniq().
|
inline |
Assignment to UList operator. Takes linear time.
Definition at line 472 of file List.C.
Referenced by cellShape::collapse(), SortableListEFA< Type >::operator=(), SortableListDRGEP< 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 42 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 463 of file List.H.
Referenced by GAMGAgglomeration::agglomerateLduAddressing(), edgeCollapser::consistentCollapse(), hexRef8::consistentUnrefinement(), MomentumTransferPhaseSystem< BasePhaseSystem >::ddtCorrByAs(), pointSet::distribute(), faceSet::distribute(), cellSet::distribute(), distanceSurface::filterPrepareRegionSplit(), distanceSurface::filterRegionProximity(), masterUncollatedFileOperation::findTimes(), syncTools::getMasterEdges(), syncTools::getMasterPoints(), dynamicRefineFvMesh::init(), InjectedParticleDistributionInjection< CloudType >::initialise(), isoSurfacePoint::isoSurfacePoint(), MomentumTransferPhaseSystem< BasePhaseSystem >::momentumTransferf(), 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< Type, TrackingData >::setFaceInfo(), lumpedPointMovement::setInterpolator(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), fieldSmoother::smoothNormals(), multiphaseSystem::solve(), multiphaseSystem::solveAlphas(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi(), faceSet::sync(), pointSet::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 491 of file List.H.
Referenced by singleProcessorFaceSets::add(), cellTable::addCellZones(), unwatchedIOdictionary::addWatch(), AMIInterpolation::agglomerate(), PDRblock::gridControl::append(), AMIInterpolation::append(), Foam::appendNamedEntry(), createShellMesh::calcPointRegions(), waveMethod::calculate(), correctedCellVolumeWeightMethod::calculateAddressing(), cellVolumeWeightMethod::calculateAddressing(), directMethod::calculateAddressing(), GAMGAgglomeration::checkRestriction(), commSchedule::commSchedule(), triSurface::compactPoints(), MeshedSurface< Foam::face >::compactPoints(), removeFaces::compatibleRemoves(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), box::createMap(), curvatureSeparation::curvatureSeparation(), faMeshDecomposition::decomposeMesh(), snappyLayerDriver::doLayers(), edgeSurface::edgeSurface(), zeroGradient::execute(), ddt2::execute(), faceCells::faceCells(), shellSurfaces::findDirectionalLevel(), localPointRegion::findDuplicateFacePairs(), Foam::findEtcEntries(), distributedTriSurfaceMesh::findNearest(), volBSplinesBase::getAllControlPoints(), 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(), trackingInverseDistance::markDonors(), inverseDistance::markDonors(), PatchTools::markZone(), triSurface::markZone(), blockMesh::mesh(), meshRefinement::meshedPatches(), findCellParticle::move(), UList< Foam::vector >::operator[](), boundaryMesh::patchify(), refinementParameters::refinementParameters(), edgeMesh::regions(), regionSplit2D::regionSplit2D(), timeSelector::select0(), edgeCollapser::setRefinement(), hexRef8::setRefinement(), Foam::fvc::spread(), faceZoneSet::subset(), meshRefinement::subsetBaffles(), Foam::fvc::sweep(), faceZoneSet::sync(), oversetFvMeshBase::updateAddressing(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), externalDisplacementMeshMover::updateMesh(), solverFieldSelection::updateSelection(), and particleDistribution::write().
|
inline |
Move append an element at the end of the list.
If this is frequently required, consider a DynamicList 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 |
Append an element if not already in the list.
FOAM_DEPRECATED_FOR(2022-10, "push_uniq()")
Definition at line 526 of file List.H.
Referenced by faPatch::faPatch(), polyPatch::polyPatch(), and mapDistributeBase::schedule().
Specialized list reading for character lists which always uses binary format.
Definition at line 42 of file charList.C.
Use the readList() method to read contents from Istream.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.