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 CompactIOList< face, label >, PtrListDetail< CloudFunctionObject< CloudType > >, PtrListDetail< Field< Type > >, PtrListDetail< PatchField< Type > >, PtrListDetail< InjectionModel< CloudType > >, PtrListDetail< fvPatchField< symmTensor > >, PtrListDetail< fvPatchField< scalar > >, PtrListDetail< MRFZone >, PtrListDetail< pointPatchField< Type > >, PtrListDetail< ParticleForce< CloudType > >, PtrListDetail< joint >, PtrListDetail< ZoneType >, PtrListDetail< block >, PtrListDetail< coalCloud >, PtrListDetail< coordinateSystem >, PtrListDetail< fa::option >, PtrListDetail< entry >, PtrListDetail< faPatchMapper >, PtrListDetail< functionObject >, PtrListDetail< fv::option >, PtrListDetail< fvPatchMapper >, PtrListDetail< pairPotential >, PtrListDetail< pointPatchMapper >, PtrListDetail< polyMeshModifier >, PtrListDetail< porosityModel >, PtrListDetail< profileModel >, PtrListDetail< Reaction< ThermoType > >, PtrListDetail< extendedFeatureEdgeMesh >, PtrListDetail< force >, PtrListDetail< injectionModel >, PtrListDetail< pyrolysisModel >, PtrListDetail< regionModelFunctionObject >, PtrListDetail< transferModel >, PtrListDetail< sampledSet >, PtrListDetail< sampledSurface >, PtrListDetail< searchableSurface >, PtrListDetail< tetherPotential >, PtrListDetail< fvPatchField< vector > >, PtrListDetail< fvPatchField< tensor > >, PtrListDetail< Foam::GeometricField >, PtrListDetail< Foam::fvPatchField< scalar > >, PtrListDetail< Foam::fvPatchField< Foam::Vector > >, PtrListDetail< Foam::pointPatchField< Foam::Vector > >, PtrListDetail< Foam::radiation::reflectionModel >, PtrListDetail< Field< Foam::Vector > >, PtrListDetail< Field< scalar > >, PtrListDetail< Foam::OFstream >, PtrListDetail< Foam::Field >, PtrListDetail< Foam::List >, PtrListDetail< Foam::lduPrimitiveMesh >, PtrListDetail< Foam::lduMatrix >, PtrListDetail< Foam::PtrList< Foam::lduInterfaceField > >, PtrListDetail< Foam::lduInterfaceField >, PtrListDetail< Foam::UPtrList >, PtrListDetail< Foam::FieldField< Foam::Field, scalar > >, PtrListDetail< Foam::Field< scalar > >, PtrListDetail< Foam::distributionModels::general >, PtrListDetail< ParticleForce< KinematicCloud< Foam::DSMCCloud > > >, PtrListDetail< CloudFunctionObject< KinematicCloud< Foam::DSMCCloud > > >, PtrListDetail< InjectionModel< Foam::KinematicCloud< Foam::DSMCCloud > > >, PtrListDetail< ParticleForce< KinematicCloud< CloudType > > >, PtrListDetail< CloudFunctionObject< KinematicCloud< CloudType > > >, PtrListDetail< Foam::regionModels::areaSurfaceFilmModels::liquidFilmBase >, PtrListDetail< Type >, PtrListDetail< Foam::Field< LUType > >, PtrListDetail< fvsPatchField< scalar > >, PtrListDetail< Foam::PatchInteractionModel< Foam::DSMCCloud > >, PtrListDetail< Foam::List< char > >, PtrListDetail< boundaryEntry >, PtrListDetail< Foam::diameterModels::populationBalanceModel >, PtrListDetail< Foam::RBD::rigidBody >, PtrListDetail< Foam::RBD::subBody >, PtrListDetail< Foam::RBD::joint >, PtrListDetail< Foam::RBD::restraint >, PtrListDetail< Foam::DimensionedField >, PtrListDetail< Foam::patchInjectionBase >, PtrListDetail< Foam::Reaction< ThermoType > >, PtrListDetail< ThermoType >, PtrListDetail< Foam::adjointSolver >, PtrListDetail< Foam::Function1< scalar > >, PtrListDetail< blockVertex >, PtrListDetail< blockEdge >, PtrListDetail< blockFace >, PtrListDetail< Foam::entry >, PtrListDetail< Foam::boundaryPatch >, PtrListDetail< Foam::fvMeshSubset >, PtrListDetail< Foam::cellModel >, PtrListDetail< Foam::cellSizeAndAlignmentControl >, PtrListDetail< pointPatchField< scalar > >, PtrListDetail< Foam::extendedFeatureEdgeMesh >, PtrListDetail< Foam::surfaceZonesInfo >, PtrListDetail< Foam::dictionary >, PtrListDetail< const Foam::coordSet >, PtrListDetail< Foam::Field< label > >, PtrListDetail< Foam::Field< Foam::Vector > >, PtrListDetail< Foam::Field< Foam::SphericalTensor > >, PtrListDetail< Foam::Field< Foam::SymmTensor > >, PtrListDetail< Foam::Field< Foam::Tensor > >, PtrListDetail< Foam::Function1< Type > >, PtrListDetail< Foam::topoSetFaceSource >, PtrListDetail< Foam::decompositionConstraint >, PtrListDetail< Foam::diameterModels::IATEsource >, PtrListDetail< Foam::PtrList< Foam::dimensioned > >, PtrListDetail< Foam::dimensioned >, PtrListDetail< Foam::diameterModels::velocityGroup >, PtrListDetail< Foam::diameterModels::sizeGroup >, PtrListDetail< Foam::diameterModels::coalescenceModel >, PtrListDetail< Foam::diameterModels::breakupModel >, PtrListDetail< Foam::diameterModels::binaryBreakupModel >, PtrListDetail< Foam::diameterModels::driftModel >, PtrListDetail< Foam::diameterModels::nucleationModel >, PtrListDetail< pointPatchField< vector > >, PtrListDetail< Foam::motionSolver >, PtrListDetail< const Foam::lduPrimitiveProcessorInterface >, PtrListDetail< const lduInterface >, PtrListDetail< Foam::indexedOctree< Foam::treeDataEdge > >, PtrListDetail< faPatchField< scalar > >, PtrListDetail< Foam::faFieldDecomposer::patchFieldDecomposer >, PtrListDetail< Foam::faFieldDecomposer::processorAreaPatchFieldDecomposer >, PtrListDetail< Foam::faFieldDecomposer::processorEdgePatchFieldDecomposer >, PtrListDetail< Foam::GeometricField< scalar, Foam::faPatchField, Foam::areaMesh > >, PtrListDetail< Foam::faPatchField< scalar > >, PtrListDetail< Foam::GeometricField< scalar, Foam::faePatchField, Foam::edgeMesh > >, PtrListDetail< Foam::faePatchField< scalar > >, PtrListDetail< Foam::GeometricField< Foam::Vector, Foam::faPatchField, Foam::areaMesh > >, PtrListDetail< Foam::faPatchField< Foam::Vector > >, PtrListDetail< Foam::GeometricField< Foam::Vector, Foam::faePatchField, Foam::edgeMesh > >, PtrListDetail< Foam::faePatchField< Foam::Vector > >, PtrListDetail< Foam::GeometricField< Foam::SphericalTensor, Foam::faPatchField, Foam::areaMesh > >, PtrListDetail< Foam::faPatchField< Foam::SphericalTensor > >, PtrListDetail< Foam::GeometricField< Foam::SphericalTensor, Foam::faePatchField, Foam::edgeMesh > >, PtrListDetail< Foam::faePatchField< Foam::SphericalTensor > >, PtrListDetail< Foam::GeometricField< Foam::SymmTensor, Foam::faPatchField, Foam::areaMesh > >, PtrListDetail< Foam::faPatchField< Foam::SymmTensor > >, PtrListDetail< Foam::GeometricField< Foam::SymmTensor, Foam::faePatchField, Foam::edgeMesh > >, PtrListDetail< Foam::faePatchField< Foam::SymmTensor > >, PtrListDetail< Foam::GeometricField< Foam::Tensor, Foam::faPatchField, Foam::areaMesh > >, PtrListDetail< Foam::faPatchField< Foam::Tensor > >, PtrListDetail< Foam::GeometricField< Foam::Tensor, Foam::faePatchField, Foam::edgeMesh > >, PtrListDetail< Foam::faePatchField< Foam::Tensor > >, PtrListDetail< Foam::faMesh >, PtrListDetail< Foam::IOList >, PtrListDetail< Foam::Field< Type > >, PtrListDetail< Foam::mapDistributeBase >, PtrListDetail< const Foam::UList >, PtrListDetail< Foam::functionObject >, PtrListDetail< ParticleForce< KinematicCloud< Cloud< basicKinematicCollidingParcel > > > >, PtrListDetail< CloudFunctionObject< KinematicCloud< Cloud< basicKinematicCollidingParcel > > > >, PtrListDetail< Foam::functionObjects::runTimeControls::runTimeCondition >, PtrListDetail< Foam::vtk::vtuCells >, PtrListDetail< Foam::fvFieldDecomposer::patchFieldDecomposer >, PtrListDetail< Foam::fvFieldDecomposer::processorVolPatchFieldDecomposer >, PtrListDetail< Foam::fvFieldDecomposer::processorSurfacePatchFieldDecomposer >, PtrListDetail< Foam::DimensionedField< scalar, Foam::volMesh > >, PtrListDetail< Foam::GeometricField< scalar, Foam::fvPatchField, Foam::volMesh > >, PtrListDetail< Foam::GeometricField< scalar, Foam::fvsPatchField, Foam::surfaceMesh > >, PtrListDetail< Foam::fvsPatchField< scalar > >, PtrListDetail< Foam::DimensionedField< Foam::Vector, Foam::volMesh > >, PtrListDetail< Foam::GeometricField< Foam::Vector, Foam::fvPatchField, Foam::volMesh > >, PtrListDetail< Foam::GeometricField< Foam::Vector, Foam::fvsPatchField, Foam::surfaceMesh > >, PtrListDetail< Foam::fvsPatchField< Foam::Vector > >, PtrListDetail< Foam::DimensionedField< Foam::SphericalTensor, Foam::volMesh > >, PtrListDetail< Foam::GeometricField< Foam::SphericalTensor, Foam::fvPatchField, Foam::volMesh > >, PtrListDetail< Foam::fvPatchField< Foam::SphericalTensor > >, PtrListDetail< Foam::GeometricField< Foam::SphericalTensor, Foam::fvsPatchField, Foam::surfaceMesh > >, PtrListDetail< Foam::fvsPatchField< Foam::SphericalTensor > >, PtrListDetail< Foam::DimensionedField< Foam::SymmTensor, Foam::volMesh > >, PtrListDetail< Foam::GeometricField< Foam::SymmTensor, Foam::fvPatchField, Foam::volMesh > >, PtrListDetail< Foam::fvPatchField< Foam::SymmTensor > >, PtrListDetail< Foam::GeometricField< Foam::SymmTensor, Foam::fvsPatchField, Foam::surfaceMesh > >, PtrListDetail< Foam::fvsPatchField< Foam::SymmTensor > >, PtrListDetail< Foam::DimensionedField< Foam::Tensor, Foam::volMesh > >, PtrListDetail< Foam::GeometricField< Foam::Tensor, Foam::fvPatchField, Foam::volMesh > >, PtrListDetail< Foam::fvPatchField< Foam::Tensor > >, PtrListDetail< Foam::GeometricField< Foam::Tensor, Foam::fvsPatchField, Foam::surfaceMesh > >, PtrListDetail< Foam::fvsPatchField< Foam::Tensor > >, PtrListDetail< Foam::fvMesh >, PtrListDetail< Foam::fvMatrix< Type > >, PtrListDetail< Foam::ignitionSite >, PtrListDetail< Foam::implicitFunction >, PtrListDetail< Foam::adjointSolverManager >, PtrListDetail< Foam::incompressible::adjointSensitivity >, PtrListDetail< Foam::fvPatchField< Type > >, PtrListDetail< Foam::pointPatchField< Type > >, PtrListDetail< Foam::fvsPatchField< Type > >, PtrListDetail< Foam::PtrList< Foam::IOField< label > > >, PtrListDetail< Foam::IOField< label > >, PtrListDetail< Foam::PtrList< Foam::CompactIOField< Foam::Field< label >, label > > >, PtrListDetail< Foam::CompactIOField< Foam::Field< label >, label > >, PtrListDetail< Foam::PtrList< Foam::IOField< scalar > > >, PtrListDetail< Foam::IOField< scalar > >, PtrListDetail< Foam::PtrList< Foam::CompactIOField< Foam::Field< scalar >, scalar > > >, PtrListDetail< Foam::CompactIOField< Foam::Field< scalar >, scalar > >, PtrListDetail< Foam::PtrList< Foam::IOField< Foam::Vector > > >, PtrListDetail< Foam::IOField< Foam::Vector > >, PtrListDetail< Foam::PtrList< Foam::CompactIOField< Foam::Field< Foam::Vector >, Foam::Vector > > >, PtrListDetail< Foam::CompactIOField< Foam::Field< Foam::Vector >, Foam::Vector > >, PtrListDetail< Foam::PtrList< Foam::IOField< Foam::SphericalTensor > > >, PtrListDetail< Foam::IOField< Foam::SphericalTensor > >, PtrListDetail< Foam::PtrList< Foam::CompactIOField< Foam::Field< Foam::SphericalTensor >, Foam::SphericalTensor > > >, PtrListDetail< Foam::CompactIOField< Foam::Field< Foam::SphericalTensor >, Foam::SphericalTensor > >, PtrListDetail< Foam::PtrList< Foam::IOField< Foam::SymmTensor > > >, PtrListDetail< Foam::IOField< Foam::SymmTensor > >, PtrListDetail< Foam::PtrList< Foam::CompactIOField< Foam::Field< Foam::SymmTensor >, Foam::SymmTensor > > >, PtrListDetail< Foam::CompactIOField< Foam::Field< Foam::SymmTensor >, Foam::SymmTensor > >, PtrListDetail< Foam::PtrList< Foam::IOField< Foam::Tensor > > >, PtrListDetail< Foam::IOField< Foam::Tensor > >, PtrListDetail< Foam::PtrList< Foam::CompactIOField< Foam::Field< Foam::Tensor >, Foam::Tensor > > >, PtrListDetail< Foam::CompactIOField< Foam::Field< Foam::Tensor >, Foam::Tensor > >, PtrListDetail< const lduInterfaceField >, PtrListDetail< const Foam::lduInterface >, PtrListDetail< Foam::lduMesh >, PtrListDetail< fvsPatchField< vector > >, PtrListDetail< Foam::liquidProperties >, PtrListDetail< Foam::AMIInterpolation >, PtrListDetail< Foam::decompositionMethod >, PtrListDetail< Foam::solidBodyMotionFunction >, PtrListDetail< Foam::multiphaseInter::phaseModel >, PtrListDetail< Foam::objective >, PtrListDetail< Foam::primalSolver >, PtrListDetail< Foam::PrimitivePatch >, PtrListDetail< phaseModel >, PtrListDetail< Foam::pointFieldDecomposer::patchFieldDecomposer >, PtrListDetail< Foam::GeometricField< scalar, Foam::pointPatchField, Foam::pointMesh > >, PtrListDetail< Foam::pointPatchField< scalar > >, PtrListDetail< Foam::GeometricField< Foam::Vector, Foam::pointPatchField, Foam::pointMesh > >, PtrListDetail< Foam::GeometricField< Foam::SphericalTensor, Foam::pointPatchField, Foam::pointMesh > >, PtrListDetail< Foam::pointPatchField< Foam::SphericalTensor > >, PtrListDetail< Foam::GeometricField< Foam::SymmTensor, Foam::pointPatchField, Foam::pointMesh > >, PtrListDetail< Foam::pointPatchField< Foam::SymmTensor > >, PtrListDetail< Foam::GeometricField< Foam::Tensor, Foam::pointPatchField, Foam::pointMesh > >, PtrListDetail< Foam::pointPatchField< Foam::Tensor > >, PtrListDetail< Foam::pointMesh >, PtrListDetail< Foam::PrimitivePatchInterpolation >, PtrListDetail< pointZone >, PtrListDetail< faceZone >, PtrListDetail< cellZone >, PtrListDetail< Foam::procLduInterface >, PtrListDetail< Foam::Time >, PtrListDetail< Foam::profilingInformation >, PtrListDetail< GasThermo >, PtrListDetail< Foam::radiation::radiativeIntensityRay >, PtrListDetail< Foam::indexedOctree< Foam::treeDataPoint > >, PtrListDetail< faPatchField< tensor > >, PtrListDetail< faPatchField< vector > >, PtrListDetail< faePatchField< scalar > >, PtrListDetail< Foam::PtrList< Foam::AMIInterpolation > >, PtrListDetail< bodyMesh >, PtrListDetail< Foam::mappedPatchBase >, PtrListDetail< Foam::coordSetWriter >, PtrListDetail< Foam::coordSet >, PtrListDetail< Foam::surfaceWriter >, PtrListDetail< Foam::coordSystem::cartesian >, PtrListDetail< Foam::searchableSurface >, PtrListDetail< Foam::cellSizeFunction >, PtrListDetail< Foam::sixDoFRigidBodyMotionRestraint >, PtrListDetail< Foam::sixDoFRigidBodyMotionConstraint >, PtrListDetail< Foam::Reaction< SolidThermo > >, PtrListDetail< SolidThermo >, PtrListDetail< Foam::solidProperties >, PtrListDetail< Foam::dimensionSet >, PtrListDetail< Foam::interpolation< scalar > >, PtrListDetail< Foam::interpolation< Foam::Vector > >, PtrListDetail< Foam::triSurfaceMesh >, PtrListDetail< Foam::indexedOctree >, PtrListDetail< Foam::Function1< Foam::Vector > >, PtrListDetail< Foam::Function1< Foam::SymmTensor > >, PtrListDetail< Foam::Function1< TypeR > >, PtrListDetail< Foam::NURBS3DVolume >, PtrListDetail< const Foam::Field >, DiagonalMatrix< cmptType >, DiagonalMatrix< scalar >, DynamicList< label >, DynamicList< token >, DynamicList< taggedInfoType >, DynamicList< point >, DynamicList< FixedList< point, N > >, DynamicList< Foam::labelRange >, DynamicList< word >, DynamicList< Foam::PairCollisionRecord< vector > >, DynamicList< Foam::WallCollisionRecord< vector > >, DynamicList< Foam::PairCollisionRecord< PairType > >, DynamicList< Foam::WallCollisionRecord< WallType > >, DynamicList< ParcelType * >, DynamicList< Foam::STLpoint >, DynamicList< Foam::word >, DynamicList< tokenType, 16 >, DynamicList< Foam::Tuple2 >, DynamicList< parcelType * >, DynamicList< Foam::particleInfo >, DynamicList< scalar >, DynamicList< Foam::string >, DynamicList< char >, DynamicList< Foam::spatialTransform >, DynamicList< Foam::SpatialVector >, DynamicList< Foam::SpatialTensor >, DynamicList< Foam::CompactSpatialTensor >, DynamicList< Foam::Tensor >, DynamicList< Foam::Vector >, DynamicList< int >, DynamicList< Foam::List< int > >, DynamicList< Foam::List< Foam::UPstream::commsStruct > >, DynamicList< Foam::face >, DynamicList< Foam::dynamicIndexedOctree::node >, DynamicList< autoPtr< DynamicList< label > > >, DynamicList< Foam::DynamicList< Foam::Vector > >, DynamicList< void * >, DynamicList< Foam::fileName >, DynamicList< Foam::triPoints >, DynamicList< Foam::List >, DynamicList< ABAQUSCore::shapeType >, DynamicList< fileState >, DynamicList< double >, DynamicList< Foam::wordRe >, DynamicList< Foam::List< Foam::Vector > >, DynamicList< List< vector > >, DynamicList< Type >, DynamicList< Foam::glTF::animation::glTFSampler >, DynamicList< Foam::glTF::animation::glTFChannel >, DynamicList< Foam::Tuple2< Foam::string, label > >, DynamicList< Foam::glTF::object >, DynamicList< Foam::glTF::mesh >, DynamicList< Foam::glTF::bufferView >, DynamicList< Foam::glTF::accessor >, DynamicList< Foam::glTF::animation >, DynamicList< vector >, DynamicList< Foam::FixedList< label, 3 > >, DynamicList< Foam::FixedList< scalar, 3 > >, DynamicList< bool >, DynamicList< Foam::edge >, DynamicList< Foam::cellShape >, DynamicList< Foam::dictionary >, DynamicList< Foam::molecule * >, DynamicList< Foam::DynamicList< Foam::profilingInformation *, 16 > >, DynamicList< Foam::profilingInformation *, 16 >, DynamicList< Foam::profilingInformation * >, DynamicList< Foam::clockValue >, DynamicList< Foam::refinementHistory::splitCell8 >, DynamicList< Foam::Instant >, DynamicList< vtmEntry >, Field< T >, Field< symmTensor >, Field< scalar >, Field< vector >, Field< tensor >, Field< LUType >, Field< TypeGrad >, Field< Foam::SymmTensor >, Field< solveScalar >, Field< Foam::Vector >, Field< DType >, Field< Foam::Field >, Field< Foam::Vector< bool > >, Field< InputType >, Field< bool >, Field< label >, Field< complexVector >, Field< Foam::SphericalTensor >, Field< Foam::Tensor >, Field< Foam::Field< Type > >, Field< Foam::Field< label > >, Field< Foam::Field< scalar > >, Field< Foam::Field< Foam::Vector > >, Field< Foam::Field< Foam::SphericalTensor > >, Field< Foam::Field< Foam::SymmTensor > >, Field< Foam::Field< Foam::Tensor > >, Field< Foam::Vector2D >, GlobalIOList< kinematicParcelInjectionData >, GlobalIOList< reactingParcelInjectionData >, GlobalIOList< reactingMultiphaseParcelInjectionData >, IOList< label >, IOList< labelList >, bufferedAccumulator< scalar >, interpolation2DTable< scalar >, interpolationTable< scalar >, uniformInterpolationTable< scalar >, BinSum< IndexType, List, CombineOp >, CompactIOList< T, BaseType >, DynamicList< T, SizeMin >, IOList< T >, SortableList< T >, faceTriangulation, and pTraits< List< T > >.
Public Types | |
typedef SubList< T > | subList |
Declare type of subList. More... | |
![]() | |
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 | append (const T &val) |
Append an element at the end of the list. More... | |
void | append (T &&val) |
Move append an element at the end of the list. More... | |
void | append (const UList< T > &list) |
Append a List to the end of this list. More... | |
template<class Addr > | |
void | append (const IndirectListBase< T, Addr > &list) |
Append IndirectList contents at the end of this list. More... | |
label | appendUniq (const T &val) |
Append an element if not already in the list. More... | |
void | transfer (List< T > &list) |
template<int SizeMin> | |
void | transfer (DynamicList< T, SizeMin > &list) |
T & | newElmt (const label i) |
void | operator= (const UList< T > &a) |
Assignment to UList operator. Takes linear time. More... | |
void | operator= (const List< T > &list) |
Assignment operator. Takes linear time. More... | |
void | operator= (const SLList< T > &list) |
Assignment to SLList operator. Takes linear time. More... | |
template<class Addr > | |
void | operator= (const IndirectListBase< T, Addr > &list) |
Assignment from IndirectList. Takes linear time. More... | |
template<unsigned N> | |
void | operator= (const FixedList< T, N > &list) |
Copy assignment from FixedList. More... | |
void | operator= (std::initializer_list< T > list) |
Assignment to an initializer list. More... | |
void | operator= (const T &val) |
Assignment of all entries to the given value. More... | |
void | operator= (const Foam::zero) |
Assignment of all entries to zero. More... | |
void | operator= (List< T > &&list) |
Move assignment. Takes constant time. More... | |
template<int SizeMin> | |
void | operator= (DynamicList< T, SizeMin > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (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... | |
Istream & | readList (Istream &is) |
void | resize (const label newLen) |
Istream & | readList (Istream &is) |
![]() | |
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 |
label | rcIndex (const label i) const noexcept |
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 & | first () |
Return the first element of the list. More... | |
const T & | first () const |
Return first element of the list. More... | |
T & | last () |
Return the last element of the list. More... | |
const T & | last () const |
Return the last element of the list. More... | |
std::streamsize | size_bytes () const noexcept |
Number of contiguous bytes for the List data. More... | |
std::streamsize | byteSize () const |
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 |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | get (const label i) const |
template<class TypeT = T> | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | unset (const label i) |
Istream & | readList (Istream &is) |
Ostream & | writeList (Ostream &os, const label) const |
const bool & | operator[] (const label i) const |
Foam::UPstream::commsStruct & | operator[] (const label procID) |
const Foam::UPstream::commsStruct & | operator[] (const label procID) const |
UPstream::commsStruct & | operator[] (const label procID) |
const UPstream::commsStruct & | operator[] (const label procID) const |
Ostream & | writeList (Ostream &os, const label) const |
Istream & | readList (Istream &is) |
Static Public Member Functions | |
static const List< T > & | null () |
Return a null List. More... | |
![]() | |
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 | |
![]() | |
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 |
UList< T > & | operator= (const UList< T > &)=delete |
No copy assignment (default: shallow copy) More... | |
void | writeEntry (Ostream &os) const |
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.
Storage is allocated on free-store during construction.
|
explicit |
Construct with given size.
Definition at line 98 of file List.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Construct with given size and value for all elements.
Definition at line 114 of file List.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
List | ( | const label | len, |
const Foam::zero | |||
) |
List | ( | const Foam::one | , |
const Foam::zero | |||
) |
Copy construct from list.
Definition at line 224 of file List.C.
References List_ACCESS, List_CONST_ACCESS, UList< T >::size_bytes(), and T.
List | ( | const UList< T > & | list, |
const labelUList< T > & | indices | ||
) |
Copy construct subset of list.
Definition at line 299 of file List.C.
References List_ACCESS, UList< T >::size(), and T.
Copy construct subset of list.
Definition at line 321 of file List.C.
References List_ACCESS, N(), and T.
|
explicit |
Construct as copy of IndirectList contents.
Move construct from List.
Definition at line 389 of file List.C.
References List< T >::transfer().
List | ( | DynamicList< T, SizeMin > && | list | ) |
Move construct from DynamicList.
Definition at line 400 of file List.C.
References List< T >::transfer().
Move construct from SLList.
Definition at line 409 of file List.C.
References List< T >::operator=().
Construct from Istream.
Definition at line 38 of file ListIO.C.
References List< T >::readList().
|
inlinestatic |
Return a null List.
Definition at line 109 of file ListI.H.
Referenced by inverseDistance::createStencil(), and mapDistributeBase::whichSchedule().
|
inline |
|
inline |
Clear the list, i.e. set size to zero.
Definition at line 116 of file ListI.H.
Referenced by polyMeshAdder::add(), holeToFace::calcClosure(), PtrListDetail< CloudFunctionObject< CloudType > >::checkNonNull(), ensightPart::clear(), SortableList< T >::clear(), meshedSurfRef::clear(), PackedList< Width >::clearStorage(), IListStreamAllocator::clearStorage(), polySurface::copySurface(), surfMesh::copySurface(), removePoints::countPointUsage(), box::createMap(), meshRefinement::createZoneBaffles(), simpleGeomDecomp::decompose(), metisLikeDecomp::decomposeGeneral(), DimensionedField< symmTensor, Foam::volMesh >::DimensionedField(), refinementHistory::distribute(), Foam::duplicateOrder(), Field< Type >::Field(), refinementSurfaces::findAllIntersections(), searchablePlane::findLineAll(), searchablePlate::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableSurfaceWithGaps::findLineAll(), distributedTriSurfaceMesh::findLineAll(), globalIndex::gather(), globalIndex::gatherValues(), holeToFace::holeToFace(), isoSurfaceTopo::isoSurfaceTopo(), Cloud< ParticleType >::move(), meshedSurfRef::movePoints(), FieldField< PatchField, Type >::operator*=(), argList::parse(), Foam::parseStream(), ParticleZoneInfo< CloudType >::postEvolve(), ensightWrite::read(), STARCDsurfaceFormat< Face >::read(), STLsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), VTKsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), Time::readDict(), List< T >::readList(), boundaryMesh::readTriSurface(), regionSplit::regionSplit(), surfMesh::removeZones(), FIREMeshReader::reorganize(), particleTracksSampler::reset(), meshedSurfRef::reset(), meshedSurfRef::resetPoints(), cyclicAMIPolyPatch::restoreScaledGeometry(), decompositionMethod::setConstraints(), MeshedSurface< Face >::stitchFaces(), hexRef8::storeData(), PatchTools::subsetMap(), surfaceFeatures::surfaceFeatures(), UnsortedMeshedSurface< Face >::swap(), cellVolumeWeight::update(), inverseDistance::update(), trackingInverseDistance::update(), cuttingSurfaceBase::walkCellCuts(), zoneToCell::zones(), zoneToFace::zones(), and zoneToPoint::zones().
|
inline |
Adjust allocated size of list.
The boolList version fills new memory with false.
Definition at line 139 of file ListI.H.
Referenced by geometric::add(), preservePatches::add(), singleProcessorFaceSets::add(), object::addData(), regIOobject::addWatch(), atmNutSource::atmNutSource(), atmPlantCanopyTSource::atmPlantCanopyTSource(), atmPlantCanopyTurbSource::atmPlantCanopyTurbSource(), atmPlantCanopyUSource::atmPlantCanopyUSource(), Foam::blankElementMasks(), searchableDisk::boundingSpheres(), searchablePlane::boundingSpheres(), searchablePlate::boundingSpheres(), searchableSphere::boundingSpheres(), boxToCell::boxToCell(), boxToFace::boxToFace(), boxToPoint::boxToPoint(), isoSurfaceBase::calcCellCuts(), Foam::calcElementMasks(), cellToCell::cellToCell(), cellToFace::cellToFace(), cellToPoint::cellToPoint(), topoSetSource::check(), MeshedSurface< Face >::checkFaces(), faBoundaryMesh::checkParallelSync(), polyBoundaryMesh::checkParallelSync(), cellShape::collapsedFaces(), triSurfaceTools::collapseEdges(), multiWorldConnections::comms(), faPatch::constraintTypes(), contactHeatFluxSource::contactHeatFluxSource(), metisLikeDecomp::decomposeGeneral(), faMeshDecomposition::decomposeMesh(), faMeshDistributor::distribute(), mapDistributeBase::distribute(), Foam::duplicateOrder(), cell::edges(), effectivenessHeatExchangerSource::effectivenessHeatExchangerSource(), Foam::etcDirs(), externalFileSource::externalFileSource(), externalHeatFluxSource::externalHeatFluxSource(), externalWallHeatFluxTemperatureFvPatchScalarField::externalWallHeatFluxTemperatureFvPatchScalarField(), ABAQUSCore::faceDecomposition(), NASCore::faceDecomposition(), faceToCell::faceToCell(), faceToFace::faceToFace(), faceToPoint::faceToPoint(), faceZone::faceZone(), faceZoneToCell::faceZoneToCell(), distanceSurface::filterFaceProximity(), patchProbes::findElements(), searchableDisk::findLine(), searchableSphere::findLine(), searchableSphere::findLineAny(), namesList< T >::findNames(), searchableDisk::findNearest(), searchableSphere::findNearest(), fixedTemperatureConstraint::fixedTemperatureConstraint(), fvMeshSubsetProxy::fvMeshSubsetProxy(), decomposedBlockData::gather(), decomposedBlockData::gatherSlaveData(), Foam::exprTools::getList(), searchableSphere::getNormal(), searchableDisk::getNormal(), searchableDisk::getRegion(), searchableSphere::getRegion(), searchableSphere::getVolumeType(), holeToFace::holeToFace(), GAMGInterface::interfaceInternalField(), interRegionExplicitPorositySource::interRegionExplicitPorositySource(), Foam::invertManyToMany(), Foam::invertOneToMany(), isoSurfaceTopo::isoSurfaceTopo(), jouleHeatingSource::jouleHeatingSource(), dictionary::keys(), cell::labels(), lagrangianFieldDecomposer::lagrangianFieldDecomposer(), limitTemperature::limitTemperature(), limitVelocity::limitVelocity(), UPstream::listGatherValues(), triSurfaceLoader::load(), dlLibraryTable::loaded(), lumpedPointState::lumpedPointState(), processorFaPatch::makeNonGlobalPatchPoints(), mapDistributeBase::mapDistributeBase(), PatchTools::matchEdges(), scalars::matching(), wordRes::matching(), PatchTools::matchPoints(), triSurfaceTools::mergePoints(), globalIndex::mpiGather(), multiphaseStabilizedTurbulence::multiphaseStabilizedTurbulence(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), IOobjectList::namesImpl(), objectRegistry::namesImpl(), IOobjectList::namesTypeImpl(), objectRegistry::namesTypeImpl(), processorTopology::New(), Foam::nonProcessorPatchNames(), polynomialFunction::operator+=(), polynomialFunction::operator-=(), Foam::operator>>(), argList::parse(), scalarRanges::parse(), Foam::parseStream(), patchCellsSource::patchCellsSource(), fvPatch::patchInternalField(), patchToCell::patchToCell(), patchToFace::patchToFace(), PhaseLimitStabilization< Type >::PhaseLimitStabilization(), pointToCell::pointToCell(), pointToFace::pointToFace(), pointToPoint::pointToPoint(), polyDegree1::polyDegree1(), Foam::prependList(), Foam::printTable(), faFieldDecomposer::processorAreaPatchFieldDecomposer::processorAreaPatchFieldDecomposer(), faFieldDecomposer::processorEdgePatchFieldDecomposer::processorEdgePatchFieldDecomposer(), fvFieldDecomposer::processorSurfacePatchFieldDecomposer::processorSurfacePatchFieldDecomposer(), projectCurveEdge::projectCurveEdge(), projectEdge::projectEdge(), radiation::radiation(), functionObjectList::read(), pointNoise::read(), surfaceNoise::read(), NASedgeFormat::read(), ABAQUSsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), Foam::blockMeshTools::read(), Foam::readBlock(), dynamicRefineFvMesh::readDict(), Foam::readDir(), masterUncollatedFileOperation::readHeader(), List< T >::readList(), masterUncollatedFileOperation::readStream(), functionEntry::readStringList(), searchableBox::regions(), searchableDisk::regions(), searchablePlate::regions(), searchableSphere::regions(), fvMeshTools::removeEmptyPatches(), PackedList< Width >::reserve(), fvMeshSubset::reset(), faMeshBoundaryHalo::reset(), globalIndex::reset(), PDRblock::gridControl::resize(), sampledCuttingPlane::sampledCuttingPlane(), sampledCuttingSurface::sampledCuttingSurface(), sampledInterface::sampledInterface(), sampledIsoSurface::sampledIsoSurface(), sampledPlane::sampledPlane(), List< T >::set(), Foam::BitOps::set(), PackedList< Width >::setCapacity(), faBoundaryMesh::setGroup(), polyBoundaryMesh::setGroup(), ZoneMesh< ZoneType, MeshType >::setGroup(), boundaryCutter::setRefinement(), List< T >::setSize(), PackedList< Width >::shrink(), solidificationMeltingSource::solidificationMeltingSource(), LUscalarMatrix::solve(), fileOperation::sortTimes(), basicThermo::splitThermoName(), MeshedSurface< Face >::stitchFaces(), surfZoneIOList::surfZoneIOList(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), tabulatedAccelerationSource::tabulatedAccelerationSource(), HashTable< T, Key, Hash >::tocEntries(), HashTable< T, Key, Hash >::tocKeys(), topoBoolSet::topoBoolSet(), faceAreaIntersect::triangulate(), mapDistributeBase::unionCombineMasks(), hashedWordList::uniq(), PrimitivePatch< FaceList, PointField >::uniqBoundaryFaces(), Foam::uniqueOrder(), sampledFaceZone::update(), sampledPatch::update(), faMesh::updateMesh(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), polyMesh::updateMesh(), viscousDissipation::viscousDissipation(), multiFieldValue::write(), ParticleZoneInfo< CloudType >::write(), ensightFaces::write(), decomposedBlockData::writeBlocks(), lumpedPointMovement::writeStateVTP(), streamLineBase::writeToFile(), zeroATCcells::zeroATCcells(), adjointkOmegaSST::zeroFirstCell(), faceZoneToCell::zones(), zoneToCell::zones(), zoneToFace::zones(), zoneToPoint::zones(), zoneToCell::zoneToCell(), zoneToFace::zoneToFace(), and zoneToPoint::zoneToPoint().
void resize | ( | const label | len, |
const T & | val | ||
) |
Adjust allocated size of list and set val for new elements.
Definition at line 432 of file List.C.
References List_ACCESS, and T.
|
inline |
Adjust allocated size of list without necessarily.
retaining old content. If no reallocation is required, the contents remain untouched. Otherwise the contents will be uninitialized.
Definition at line 146 of file ListI.H.
Referenced by mapDistributeBase::calcCompactAddressing(), primitiveMesh::calcPointOrder(), metisLikeDecomp::decomposeGeneral(), Pstream::exchange(), Pstream::exchangeSizes(), patchProbes::findElements(), globalIndex::gather(), globalIndex::gatherValues(), globalIndex::get(), primitiveMeshTools::makeFaceCentresAndAreas(), option::resetApplied(), particleTracksSampler::resetCloud(), and Foam::sortedOrder().
|
inline |
Alias for resize()
Definition at line 218 of file List.H.
References List< T >::resize().
Referenced by isoSurfacePoint::adaptPatchFields(), refinementHistory::add(), fvMeshAdder::add(), preserveBaffles::add(), preserveFaceZones::add(), polyMeshAdder::add(), fvMeshPrimitiveLduAddressing::addAddressing(), cyclicAMIPolyPatch::addAMIFaces(), cellTable::addCellZones(), addPatchCellLayer::addedCells(), mapPatchChange::addedPatches(), surfaceZonesInfo::addFaceZonesToMesh(), lduPrimitiveMesh::addInterfaces(), dynamicOversetFvMesh::addInterpolation(), edgeSurface::addIntersectionEdges(), snappyLayerDriver::addLayers(), interRegionExplicitPorositySource::addSup(), adjointkOmegaSST::adjointkOmegaSST(), adjointSolverManager::adjointSolverManager(), adjointSpalartAllmaras::adjointSpalartAllmaras(), AMIInterpolation::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), extendedEdgeMesh::allNearestFeatureEdges(), face::areaInContact(), sensitivitySurfacePoints::assembleSensitivities(), attachPolyTopoChanger::attach(), fvPatchField< Type >::autoMap(), FreeStream< CloudType >::autoMap(), extendedEdgeMesh::autoMap(), meshRefinement::baffleAndSplitMesh(), meshRefinement::balance(), Bezier::Bezier(), bladeModel::bladeModel(), booleanSurface::booleanSurface(), searchableBox::boundingSpheres(), searchableCone::boundingSpheres(), searchableCylinder::boundingSpheres(), searchableExtrudedCircle::boundingSpheres(), searchableSurfaceCollection::boundingSpheres(), triSurfaceMesh::boundingSpheres(), nearWallFields::calcAddressing(), highAspectRatioFvGeometryScheme::calcAspectRatioWeights(), primitiveMesh::calcCells(), holeToFace::calcClosure(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), CentredFitSnGradData< Polynomial >::calcFit(), createShellMesh::calcPointRegions(), coupledFaPatch::calcTransformTensors(), coupledPolyPatch::calcTransformTensors(), surfaceNoise::calculate(), waveMethod::calculate(), correctedCellVolumeWeightMethod::calculate(), meshRefinement::calculateEdgeWeights(), GAMGAgglomeration::calculateRegionMaster(), nutUSpaldingWallFunctionFvPatchScalarField::calcUTau(), pointMVCWeight::calcWeights(), primitiveMeshTools::cellClosedness(), cellMatcher::cellMatcher(), fvMotionSolver::cellMotionBoundaryTypes(), boundaryMesh::changeFaces(), extractEulerianParticles::checkFaceZone(), GAMGAgglomeration::checkRestriction(), refinementHistory::clone(), extendedCellToFaceStencil::collectData(), extendedFaceToCellStencil::collectData(), mappedPatchBase::collectSamples(), holeToFace::combine(), commSchedule::commSchedule(), GAMGAgglomeration::compactLevels(), removeFaces::compatibleRemoves(), axisAligned::computeControlPoints(), transformBox::computeControlPoints(), sensitivitySurface::computeDerivativesSize(), optimisationType::computeMeritFunction(), NURBS3DVolume::computeParametricCoordinates(), ConeInjection< CloudType >::ConeInjection(), fvPatch::constraintTypes(), polyPatch::constraintTypes(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), removePoints::countPointUsage(), cyclicPolyPatch::coupledEdges(), cyclicPolyPatch::coupledPoints(), epsilonWallFunctionFvPatchScalarField::createAveragingWeights(), omegaWallFunctionFvPatchScalarField::createAveragingWeights(), box::createLODMap(), meshRefinement::createZoneBaffles(), motionSmootherAlgo::curPoints(), geomCellLooper::cut(), hexCellLooper::cut(), cyclicAMIPolyPatch::cyclicAMIPolyPatch(), DAC< CompType, ThermoType >::DAC(), faMeshDecomposition::decomposeMesh(), triSurfaceTools::delaunay2D(), mapPatchChange::deletedPatches(), dimensionSets::dimensionSets(), meshRefinement::directionalRefineCandidates(), fvMeshDistribute::distribute(), mapDistributeBase::distribute(), snappySnapDriver::doSnap(), electrostaticDepositionFvPatchScalarField::electrostaticDepositionFvPatchScalarField(), energyTransport::energyTransport(), mapDistributeBase::exchangeAddressing(), extendedEdgeMesh::extendedEdgeMesh(), extendedFeatureEdgeMesh::extendedFeatureEdgeMesh(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), primitiveMesh::faceEdges(), FaceInteraction< CloudType >::FaceInteraction(), FacePostProcessing< CloudType >::FacePostProcessing(), primitiveMeshTools::facePyramidVolume(), faceTriangulation::faceTriangulation(), FieldActivatedInjection< CloudType >::FieldActivatedInjection(), refinementSurfaces::findAllIntersections(), searchableSurfacesQueries::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), shellSurfaces::findDirectionalLevel(), shellSurfaces::findHigherGapLevel(), refinementSurfaces::findHigherIntersection(), refinementSurfaces::findInside(), shellSurfaces::findLevel(), searchableBox::findLine(), searchableCone::findLine(), searchableCylinder::findLine(), searchablePlane::findLine(), searchablePlate::findLine(), searchableRotatedBox::findLine(), searchableSurfaceCollection::findLine(), searchableSurfaceWithGaps::findLine(), triSurfaceSearch::findLine(), distributedTriSurfaceMesh::findLineAll(), searchableBox::findLineAny(), searchableCone::findLineAny(), searchableCylinder::findLineAny(), searchableRotatedBox::findLineAny(), triSurfaceSearch::findLineAny(), mappedPatchBase::findLocalSamples(), searchableBox::findNearest(), searchableCone::findNearest(), searchableCylinder::findNearest(), searchableExtrudedCircle::findNearest(), searchablePlane::findNearest(), searchablePlate::findNearest(), searchableRotatedBox::findNearest(), distributedTriSurfaceMesh::findNearest(), triSurfaceRegionSearch::findNearest(), triSurfaceSearch::findNearest(), searchableSurfacesQueries::findNearest(), refinementFeatures::findNearestEdge(), refinementSurfaces::findNearestIntersection(), searchableSurfacesQueries::findNearestIntersection(), refinementFeatures::findNearestPoint(), refinementSurfaces::findNearestRegion(), refinementFeatures::findNearestRegionEdge(), searchableExtrudedCircle::findParametricNearest(), NURBS3DVolume::findPointsInBox(), mappedPatchBase::findSamples(), polyMeshAdder::findSharedPoints(), FreeStream< CloudType >::FreeStream(), GAMGAgglomeration::GAMGAgglomeration(), decomposedBlockData::gather(), decomposedBlockData::gatherSlaveData(), surfaceZonesInfo::getAllClosedNamedSurfaces(), surfaceZonesInfo::getClosedNamedSurfaces(), surfaceZonesInfo::getInsidePointNamedSurfaces(), combineFaces::getMergeSets(), decompositionConstraint::getMinBoundaryValue(), surfaceZonesInfo::getNamedSurfaces(), searchableBox::getNormal(), searchableCone::getNormal(), searchableCylinder::getNormal(), searchableExtrudedCircle::getNormal(), searchablePlate::getNormal(), searchableSurfaceCollection::getNormal(), triSurfaceMesh::getNormal(), distributedTriSurfaceMesh::getNormal(), boundaryMesh::getNTris(), weightedPosition::getPoints(), searchableBox::getRegion(), searchableCone::getRegion(), searchableCylinder::getRegion(), searchableExtrudedCircle::getRegion(), searchablePlane::getRegion(), searchablePlate::getRegion(), searchableRotatedBox::getRegion(), searchableSurfaceCollection::getRegion(), triSurfaceMesh::getRegion(), distributedTriSurfaceMesh::getRegion(), surfaceZonesInfo::getStandaloneNamedSurfaces(), surfaceZonesInfo::getUnclosedNamedSurfaces(), surfaceZonesInfo::getUnnamedSurfaces(), removePoints::getUnrefimentSet(), cellLooper::getVertEdgesNonFace(), triSurfaceTools::getVertexTriangles(), cellLooper::getVertFacesNonEdge(), distributedTriSurfaceMesh::getVolumeType(), searchableBox::getVolumeType(), searchableCone::getVolumeType(), searchableCylinder::getVolumeType(), triSurfaceMesh::getVolumeType(), meshRefinement::getZoneFaces(), cellCellStencil::globalCellCells(), GAMGProcAgglomeration::globalCellCells(), lduPrimitiveMesh::globalCellCells(), addPatchCellLayer::globalEdgeFaces(), triSurfaceTools::greenRefine(), Distribution< Type >::index(), indexedOctree< Type >::indexedOctree(), LocalInteraction< CloudType >::info(), RecycleInteraction< CloudType >::info(), StandardWallInteraction< CloudType >::info(), calculatedProcessorFvPatchField< Type >::initEvaluate(), InjectedParticleDistributionInjection< CloudType >::initialise(), viewFactor::initialise(), surfaceNoise::initialise(), meshToMeshMethod::initialise(), fluxSummary::initialiseSurfaceAndDirection(), objectivePtLosses::initialize(), InjectedParticleInjection< CloudType >::InjectedParticleInjection(), linearInterpolationWeights::integrationWeights(), AMIInterpolation::interpolateToSource(), AMIInterpolation::interpolateToTarget(), interpolationLookUpTable< scalar >::interpolationLookUpTable(), intersectedSurface::intersectedSurface(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), lduPrimitiveMesh::lduPrimitiveMesh(), limitVelocity::limitVelocity(), LocalInteraction< CloudType >::LocalInteraction(), distributedTriSurfaceMesh::localQueries(), lookupProfile::lookupProfile(), LUscalarMatrix::LUscalarMatrix(), highAspectRatioFvGeometryScheme::makeAverageCentres(), voxelMeshSearch::makeMesh(), averageNeighbourFvGeometryScheme::makeNonOrthoWeights(), averageNeighbourFvGeometryScheme::makePyrHeights(), Field< T >::map(), Field< Type >::map(), cyclicACMIPolyPatch::mapCollocatedFaces(), mappedPolyPatch::mapCollocatedFaces(), mappedWallPolyPatch::mapCollocatedFaces(), cyclicPolyPatch::mapCollocatedFaces(), fvMatrix< Type >::mapContributions(), fvMeshAdder::MapDimField(), mapDistribute::mapDistribute(), mapDistributeBase::mapDistributeBase(), fvMesh::mapFields(), faMesh::mapOldAreas(), mappedPatchFieldBase< Type >::mappedField(), fvMeshAdder::MapSurfaceField(), fvMeshAdder::MapVolField(), inverseDistance::markDonors(), trackingInverseDistance::markDonors(), boundaryMesh::markFaces(), triSurface::markZones(), PatchTools::markZones(), Foam::matchPoints(), edgeIntersections::merge(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeBaffles(), edgeMesh::mergeEdges(), surfaceIntersection::mergeEdges(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), globalMeshData::mergePoints(), extendedEdgeMesh::mergePointsAndSort(), fileOperation::mergeTimes(), engineValve::movingPatchIDs(), multiBandZoneAbsorptionEmission::multiBandZoneAbsorptionEmission(), extendedEdgeMesh::nearestFeatureEdge(), extendedEdgeMesh::nearestFeatureEdgeByType(), surfaceFeatures::nearestSurfEdge(), cellCuts::nonAnchorPoints(), meshSearch::nonCoupledBoundaryTree(), Distribution< Type >::normalised(), AMIInterpolation::normaliseWeights(), UList< T >::operator[](), optMeshMovementVolumetricBSplines::optMeshMovementVolumetricBSplines(), cyclicAMIPolyPatch::order(), cyclicPolyPatch::order(), oldCyclicPolyPatch::order(), processorPolyPatch::order(), outletMappedUniformInletFvPatchField< Type >::outletMappedUniformInletFvPatchField(), distributedTriSurfaceMesh::overlappingSurface(), ParticleCollector< CloudType >::ParticleCollector(), polyMeshAdder::patchFacePairs(), patchInjection::patchInjection(), phasePropertiesList::phasePropertiesList(), pointCells::pointCells(), pointFieldReconstructor::pointFieldReconstructor(), pointMVCWeight::pointMVCWeight(), PatchTools::pointNormals(), Foam::polyMeshZipUpCells(), KinematicReynoldsNumber< CloudType >::postEvolve(), ThermoReynoldsNumber< CloudType >::postEvolve(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), snappySnapDriver::preSmoothPatch(), projectVertex::projectVertex(), Distribution< Type >::raw(), reactionsSensitivityAnalysis< chemistryType >::reactionsSensitivityAnalysis(), regIOobject::read(), STLsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), STARCDMeshReader::readBoundary(), STARCDMeshReader::readCells(), reader::readField(), ReactingHeterogeneousParcel< ParcelType >::readFields(), ReactingMultiphaseParcel< ParcelType >::readFields(), ReactingParcel< ParcelType >::readFields(), FIRECore::readPoints(), surfaceNoise::readSurfaceData(), RecycleInteraction< CloudType >::RecycleInteraction(), DAC< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), EFA< CompType, ThermoType >::reduceMechanism(), PFA< CompType, ThermoType >::reduceMechanism(), meshRefinement::refineCandidates(), refinementHistory::refinementHistory(), refinementParameters::refinementParameters(), refinementSurfaces::refinementSurfaces(), searchableCone::regions(), searchableCylinder::regions(), searchableExtrudedCircle::regions(), searchablePlane::regions(), searchableSurfaceCollection::regions(), triSurfaceMesh::regions(), edgeMesh::regions(), edgeIntersections::removeDegenerates(), RemoveParcels< CloudType >::RemoveParcels(), fvMeshSubset::reset(), searchableSurfaceCollection::searchableSurfaceCollection(), searchableSurfaces::searchableSurfaces(), extendedEdgeMesh::select(), meshRefinement::selectIntersectedFaces(), decompositionMethod::setConstraints(), weightedPosition::setPoints(), box::setRefineFlags(), removePoints::setRefinement(), tetDecomposer::setRefinement(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), refinementIterator::setRefinement(), duplicatePoints::setRefinement(), boundaryCutter::setRefinement(), propellerInfo::setSampleDiskGeometry(), SortableListDRGEP< Type >::setSize(), SortableListEFA< Type >::setSize(), data::setSolverPerformance(), removePoints::setUnrefinement(), shellSurfaces::shellSurfaces(), snappyVoxelMeshDriver::snappyVoxelMeshDriver(), fvMatrix< Type >::solveSegregated(), ParSortableList< Type >::sort(), extendedEdgeMesh::sortedOrder(), extendedEdgeMesh::sortPointsAndEdges(), meshRefinement::splitFacesUndo(), meshRefinement::splitMeshRegions(), StandardWallInteraction< CloudType >::StandardWallInteraction(), cellVolumeWeight::stencilWeights(), inverseDistance::stencilWeights(), leastSquares::stencilWeights(), fvMesh::storeOldVol(), surfaceZonesInfo::surfaceZonesInfo(), trackingInverseDistance::trackingInverseDistance(), fvMatrix< Type >::transferFvMatrixCoeffs(), globalIndexAndTransform::transformIndicesForPatches(), triSurfaceRegionSearch::treeByRegion(), boundaryMesh::triangulate(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), boundaryMesh::triangulateLocal(), advancingFrontAMI::triangulatePatch(), triSurface::triFaceFaces(), streamLineBase::trimToBox(), inverseDistance::update(), trackingInverseDistance::update(), lduPrimitiveMeshAssembly::update(), dynamicOversetFvMesh::updateAddressing(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), optimisationType::updateGradientsAndValues(), edgeVertex::updateLabels(), faGlobalMeshData::updateMesh(), boundaryCutter::updateMesh(), removePoints::updateMesh(), faMesh::updateMesh(), addPatchCellLayer::updateMesh(), faceZoneSet::updateMesh(), faceZone::updateMesh(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), linearInterpolationWeights::valueWeights(), splineInterpolationWeights::valueWeights(), volBSplinesBase::volBSplinesBase(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), waveMakerPointPatchVectorField::waveMakerPointPatchVectorField(), streamLineBase::writeToFile(), and adjointkOmegaSST::zeroFirstCell().
|
inline |
Alias for resize()
Definition at line 221 of file List.H.
References List< T >::resize().
|
inline |
Append an element at the end of the list.
If this is frequently required, consider a DynamicList
Definition at line 175 of file ListI.H.
References resize().
Referenced by AABBTree< Type >::AABBTree(), singleProcessorFaceSets::add(), cellTable::addCellZones(), AMIInterpolation::agglomerate(), AMIInterpolation::append(), PDRblock::gridControl::append(), Foam::appendNamedEntry(), meshRefinement::blockLeakFaces(), faPatch::calcPointEdges(), cellVolumeWeightMethod::calculateAddressing(), directMethod::calculateAddressing(), mapNearestMethod::calculateAddressing(), correctedCellVolumeWeightMethod::calculateAddressing(), GAMGAgglomeration::checkRestriction(), commSchedule::commSchedule(), box::createMap(), faMeshDecomposition::decomposeMesh(), edgeSurface::edgeSurface(), faceCells::faceCells(), FaceInteraction< CloudType >::FaceInteraction(), FacePostProcessing< CloudType >::FacePostProcessing(), Foam::findEtcEntries(), distributedTriSurfaceMesh::findNearest(), volBSplinesBase::getAllControlPoints(), MRFZoneList::getFromName(), meshRefinement::getZones(), globalIndexAndTransform::globalIndexAndTransform(), indexedOctree< Type >::indexedOctree(), InjectedParticleDistributionInjection< CloudType >::initialise(), viewFactor::initialise(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), fluxSummary::initialiseSurface(), fluxSummary::initialiseSurfaceAndDirection(), triSurfaceLoader::load(), LuoSvendsen::LuoSvendsen(), inverseDistance::markDonors(), trackingInverseDistance::markDonors(), meshToMeshMethod::maskCells(), blockMesh::mesh(), findCellParticle::move(), UList< T >::operator[](), boundaryMesh::patchify(), PatchPostProcessing< CloudType >::postPatch(), binModel::read(), refinementParameters::refinementParameters(), RemoveParcels< CloudType >::RemoveParcels(), timeSelector::select0(), extendedEdgeMesh::sortPointsAndEdges(), masterUncollatedFileOperation::subRanks(), surfaceIntersection::surfaceIntersection(), uniformInterpolatedDisplacementPointPatchVectorField::uniformInterpolatedDisplacementPointPatchVectorField(), dynamicOversetFvMesh::updateAddressing(), particleDistribution::write(), and dynamicOversetFvMesh::write().
|
inline |
Move append an element at the end of the list.
If this is frequently required, consider a DynamicList
Definition at line 185 of file ListI.H.
References resize().
Append a List to the end of this list.
If this is frequently required, consider a DynamicList
Definition at line 195 of file ListI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
inline |
Append IndirectList contents at the end of this list.
If this is frequently required, consider a DynamicList
Definition at line 217 of file ListI.H.
References n, resize(), and IndirectListBase< T, Addr >::size().
|
inline |
Append an element if not already in the list.
Definition at line 232 of file ListI.H.
Referenced by faPatch::faPatch(), mappedPolyPatch::mappedPolyPatch(), mappedWallPolyPatch::mappedWallPolyPatch(), oversetPolyPatch::oversetPolyPatch(), polyPatch::polyPatch(), mapDistributeBase::schedule(), and wallPolyPatch::wallPolyPatch().
Transfer the contents of the argument List into this list and annul the argument list
Definition at line 447 of file List.C.
References clear().
Referenced by AABBTree< Type >::AABBTree(), geometric::add(), extendedEdgeMesh::allNearestFeatureEdges(), extendedEdgeMesh::allNearestFeaturePoints(), setToCellZone::applyToSet(), faceZoneToFaceZone::applyToSet(), searchableSurfaceToFaceZone::applyToSet(), setAndNormalToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), setToFaceZone::applyToSet(), setToPointZone::applyToSet(), extendedEdgeMesh::autoMap(), PDRblock::blockMeshDict(), box::box(), faceAreaWeightAMI::calcAddressing(), enrichedPatch::calcEnrichedFaces(), polyDualMesh::calcFeatures(), createShellMesh::calcPointRegions(), cellVolumeWeightMethod::calculateAddressing(), directMethod::calculateAddressing(), mapNearestMethod::calculateAddressing(), correctedCellVolumeWeightMethod::calculateAddressing(), calculatedProcessorGAMGInterface::calculatedProcessorGAMGInterface(), triSurface::compactPoints(), removeFaces::compatibleRemoves(), mappedPatchBase::constructIOField(), wallDistData< TransferType >::correct(), inverseDistance::createStencil(), geomCellLooper::cut(), extendedEdgeMesh::cut(), topoCellLooper::cut(), cyclicACMIGAMGInterface::cyclicACMIGAMGInterface(), cyclicAMIGAMGInterface::cyclicAMIGAMGInterface(), cyclicGAMGInterface::cyclicGAMGInterface(), fvMeshDistribute::distribute(), edgeSurface::edgeSurface(), extendedEdgeMesh::extendedEdgeMesh(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), FaceInteraction< CloudType >::FaceInteraction(), FacePostProcessing< CloudType >::FacePostProcessing(), pointNoise::filterTimeData(), searchableBox::findLineAll(), searchableRotatedBox::findLineAll(), distributedTriSurfaceMesh::findNearest(), for(), FreeStream< CloudType >::FreeStream(), PatchTools::gatherAndMerge(), InjectedParticleDistributionInjection< CloudType >::initialise(), InjectedParticleInjection< CloudType >::initialise(), viewFactor::initialise(), objectivePtLosses::initialize(), isoSurfaceCell::isoSurfaceCell(), isoSurfacePoint::isoSurfacePoint(), isoSurfaceTopo::isoSurfaceTopo(), List< T >::List(), triSurfaceLoader::load(), voxelMeshSearch::makeMesh(), PatchTools::markZone(), momentOfInertia::massPropertiesPatch(), polyBoundaryMesh::matchGroups(), cellToCellStencil::merge(), cellToFaceStencil::merge(), fileOperation::mergeTimes(), streamLineParticle::move(), wallBoundedStreamLineParticle::move(), meshedSurfRef::movePoints(), dynamicOversetFvMesh::normalisation(), properties::objectResultEntries(), noiseFFT::octaveBandInfo(), patchInteractionDataList::patchInteractionDataList(), GAMGAgglomeration::procAgglomerateRestrictAddressing(), processorGAMGInterface::processorGAMGInterface(), ReactingHeterogeneousParcel< ParcelType >::ReactingHeterogeneousParcel(), ReactingMultiphaseParcel< ParcelType >::ReactingMultiphaseParcel(), ReactingParcel< ParcelType >::ReactingParcel(), ABAQUSsurfaceFormat< Face >::read(), streamLineParticle::readFields(), wallBoundedStreamLineParticle::readFields(), List< T >::readList(), UList< T >::readList(), STARCDCore::readPoints(), edgeMesh::regions(), cuttingSurfaceBase::remapFaces(), UnsortedMeshedSurface< Face >::remapFaces(), edgeIntersections::removeDegenerates(), RemoveParcels< CloudType >::RemoveParcels(), noiseModel::setOctaveBands(), box::setRefineFlags(), hexRef8::setRefinement(), dynamicOversetFvMesh::solve(), extendedEdgeMesh::sortPointsAndEdges(), hexRef8::subset(), surfaceIntersection::surfaceIntersection(), PackedList< Width >::transfer(), MeshedSurface< Face >::transfer(), MeshedSurface< Face >::triangulate(), uniformInterpolatedDisplacementPointPatchVectorField::uniformInterpolatedDisplacementPointPatchVectorField(), inverseDistance::update(), trackingInverseDistance::update(), mappedFixedInternalValueFvPatchField< Type >::updateCoeffs(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), topoBoolSet::updateLabels(), meshRefinement::updateList(), hexRef8Data::updateMesh(), hexRef8::updateMesh(), cuttingSurfaceBase::walkCellCuts(), inverseDistance::walkFront(), and streamLineBase::writeToFile().
void transfer | ( | DynamicList< T, SizeMin > & | list | ) |
Transfer the contents of the argument List into this list and annul the argument list
Definition at line 466 of file List.C.
References DynamicList< T, SizeMin >::clearStorage(), and DynamicList< T, SizeMin >::shrink().
|
inline |
Assignment to UList operator. Takes linear time.
Definition at line 480 of file List.C.
References List_ACCESS, List_CONST_ACCESS, and T.
Referenced by GlobalIOList< kinematicParcelInjectionData >::GlobalIOList(), List< T >::List(), CompactIOList< T, BaseType >::operator=(), Field< Type >::operator=(), GlobalIOList< Type >::operator=(), IOList< T >::operator=(), PtrListDetail< T >::operator=(), SortableListDRGEP< Type >::operator=(), SortableListEFA< Type >::operator=(), SortableList< T >::operator=(), and IOList< label >::writeData().
void operator= | ( | const IndirectListBase< T, Addr > & | list | ) |
Assignment from IndirectList. Takes linear time.
Definition at line 565 of file List.C.
References List_ACCESS, IndirectListBase< T, Addr >::size(), and T.
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 49 of file ListIO.C.
References token::BEGIN_LIST, STLCore::BINARY, List< T >::clear(), UList< T >::data_bytes(), Foam::dynamicCast(), Foam::exit(), IOstream::fatalCheck(), Foam::FatalIOError, FatalIOErrorInFunction, IOstreamOption::format(), FUNCTION_NAME, token::info(), token::isCompound(), token::isLabel(), token::isPunctuation(), token::labelToken(), Foam::nl, Istream::putBack(), Istream::readBeginList(), Istream::readEndList(), List< T >::resize(), UList< T >::size_bytes(), T, List< T >::transfer(), and token::transferCompoundToken().
Referenced by List< T >::List(), 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 330 of file List.H.
References List< T >::resize(), and UList< T >::size().
Referenced by GAMGAgglomeration::combineLevels(), pointSet::distribute(), cellSet::distribute(), faceSet::distribute(), phaseSystem::fillFields(), dynamicRefineFvMesh::init(), InjectedParticleDistributionInjection< CloudType >::initialise(), singleCellFvMesh::interpolate(), fvMeshSubset::interpolate(), GAMGAgglomeration::procAgglomerateLduAddressing(), ABAQUSCore::readHelper::purge_solids(), ReactingCloud< Foam::DSMCCloud >::ReactingCloud(), boundaryMesh::readTriSurface(), Foam::BitOps::set(), fvMatrix< Type >::setBounAndInterCoeffs(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::setEdgeInfo(), FaceCellWave< Type, TrackingData >::setFaceInfo(), faceSet::sync(), pointSet::sync(), and topoBoolSet::updateLabels().
Specialized list reading for character lists which always uses binary format.
|
inline |
Definition at line 49 of file charList.C.
References STLCore::BINARY, List< T >::clear(), UList< T >::data(), Foam::dynamicCast(), Foam::exit(), IOstream::fatalCheck(), Foam::FatalIOError, FatalIOErrorInFunction, IOstreamOption::format(), FUNCTION_NAME, token::info(), token::isCompound(), token::isLabel(), token::labelToken(), Foam::nl, Istream::read(), List< T >::resize(), List< T >::transfer(), and token::transferCompoundToken().
Use the readList() method to read contents from Istream.