A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects. More...
Public Member Functions | |
DynamicList () | |
Construct null. More... | |
DynamicList (const label) | |
Construct given size. More... | |
DynamicList (const label, const T &) | |
Construct with given size and value for all elements. More... | |
DynamicList (const DynamicList< T, SizeInc, SizeMult, SizeDiv > &) | |
Construct copy. More... | |
DynamicList (const UList< T > &) | |
Construct from UList. Size set to UList size. More... | |
DynamicList (const UIndirectList< T > &) | |
Construct from UIndirectList. Size set to UIndirectList size. More... | |
DynamicList (const Xfer< List< T >> &) | |
Construct by transferring the parameter contents. More... | |
DynamicList (Istream &) | |
Construct from Istream. Size set to size of list read. More... | |
label | capacity () const |
Size of the underlying storage. More... | |
void | setCapacity (const label) |
Alter the size of the underlying storage. More... | |
void | setSize (const label) |
Alter the addressed list size. More... | |
void | setSize (const label, const T &) |
Alter the addressed list size and fill new space with a. More... | |
void | resize (const label) |
Alter the addressed list size. More... | |
void | resize (const label, const T &) |
Alter the addressed list size and fill new space with a. More... | |
void | reserve (const label) |
Reserve allocation space for at least this size. More... | |
void | clear () |
Clear the addressed list, i.e. set the size to zero. More... | |
void | clearStorage () |
Clear the list and delete storage. More... | |
DynamicList< T, SizeInc, SizeMult, SizeDiv > & | shrink () |
Shrink the allocated space to the number of elements used. More... | |
void | transfer (List< T > &) |
Transfer contents of the argument List into this. More... | |
void | transfer (DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Transfer contents of the argument DynamicList into this. More... | |
Xfer< List< T > > | xfer () |
Transfer contents to the Xfer container as a plain List. More... | |
DynamicList< T, SizeInc, SizeMult, SizeDiv > & | append (const T &) |
Append an element at the end of the list. More... | |
DynamicList< T, SizeInc, SizeMult, SizeDiv > & | append (const UList< T > &) |
Append a List at the end of this list. More... | |
DynamicList< T, SizeInc, SizeMult, SizeDiv > & | append (const UIndirectList< T > &) |
Append a UIndirectList at the end of this list. More... | |
T | remove () |
Remove and return the top element. More... | |
T & | operator() (const label) |
Return non-const access to an element, resizing list if. More... | |
void | operator= (const T &) |
Assignment of all addressed entries to the given value. More... | |
void | operator= (const DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Assignment to DynamicList. More... | |
void | operator= (const UList< T > &) |
Assignment to UList. More... | |
void | operator= (const UIndirectList< T > &) |
Assignment to UIndirectList. More... | |
UList< T >::iterator | erase (typename UList< T >::iterator) |
Erase an element, move the remaining elements to fill the gap. More... | |
![]() | |
List () | |
Null constructor. More... | |
List (const label) | |
Construct with given size. More... | |
List (const label, const T &) | |
Construct with given size and value for all elements. More... | |
List (const label, const zero) | |
Construct with given size initializing all elements to zero. More... | |
List (const List< T > &) | |
Copy constructor. More... | |
template<class T2 > | |
List (const List< T2 > &) | |
Copy constructor from list containing another type. More... | |
List (const Xfer< List< T >> &) | |
Construct by transferring the parameter contents. More... | |
List (List< T > &, bool reuse) | |
Construct as copy or re-use as specified. More... | |
List (const UList< T > &, const labelUList &mapAddressing) | |
Construct as subset. More... | |
template<class InputIterator > | |
List (InputIterator first, InputIterator last) | |
Construct given start and end iterators. More... | |
template<unsigned Size> | |
List (const FixedList< T, Size > &) | |
Construct as copy of FixedList<T, Size> More... | |
List (const PtrList< T > &) | |
Construct as copy of PtrList<T> More... | |
List (const SLList< T > &) | |
Construct as copy of SLList<T> More... | |
List (const UIndirectList< T > &) | |
Construct as copy of UIndirectList<T> More... | |
List (const BiIndirectList< T > &) | |
Construct as copy of BiIndirectList<T> More... | |
List (std::initializer_list< T >) | |
Construct from an initializer list. More... | |
List (Istream &) | |
Construct from Istream. More... | |
autoPtr< List< T > > | clone () const |
Clone. More... | |
~List () | |
Destructor. More... | |
label | size () const |
Return the number of elements in the UList. More... | |
void | resize (const label) |
Alias for setSize(const label) More... | |
void | resize (const label, const T &) |
Alias for setSize(const label, const T&) More... | |
void | setSize (const label) |
Reset size of List. More... | |
void | setSize (const label, const T &) |
Reset size of List and value for new elements. More... | |
void | clear () |
Clear the list, i.e. set size to zero. More... | |
void | append (const T &) |
Append an element at the end of the list. More... | |
void | append (const UList< T > &) |
Append a List at the end of this list. More... | |
void | append (const UIndirectList< T > &) |
Append a UIndirectList at the end of this list. More... | |
void | transfer (List< T > &) |
Transfer the contents of the argument List into this list. More... | |
template<unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv> | |
void | transfer (DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Transfer the contents of the argument List into this list. More... | |
void | transfer (SortableList< T > &) |
Transfer the contents of the argument List into this list. More... | |
Xfer< List< T > > | xfer () |
Transfer contents to the Xfer container. More... | |
T & | newElmt (const label) |
Return subscript-checked element of UList. More... | |
void | shallowCopy (const UList< T > &)=delete |
Disallow implicit shallowCopy. More... | |
void | operator= (const UList< T > &) |
Assignment to UList operator. Takes linear time. More... | |
void | operator= (const List< T > &) |
Assignment operator. Takes linear time. More... | |
void | operator= (const SLList< T > &) |
Assignment to SLList operator. Takes linear time. More... | |
void | operator= (const UIndirectList< T > &) |
Assignment to UIndirectList operator. Takes linear time. More... | |
void | operator= (const BiIndirectList< T > &) |
Assignment to BiIndirectList operator. Takes linear time. More... | |
void | operator= (std::initializer_list< T >) |
Assignment to an initializer list. More... | |
void | operator= (const T &) |
Assignment of all entries to the given value. More... | |
void | operator= (const zero) |
Assignment of all entries to zero. More... | |
![]() | |
UList () | |
Null constructor. More... | |
UList (T *__restrict__ v, label size) | |
Construct from components. More... | |
label | fcIndex (const label i) const |
Return the forward circular index, i.e. the next index. More... | |
label | rcIndex (const label i) const |
Return the reverse circular index, i.e. the previous index. More... | |
std::streamsize | byteSize () const |
Return the binary size in number of characters of the UList. More... | |
const T * | cdata () const |
Return a const pointer to the first data element,. More... | |
T * | data () |
Return a pointer to the first data element,. 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... | |
void | checkStart (const label start) const |
Check start is within valid range (0 ... size-1) More... | |
void | checkSize (const label size) const |
Check size is within valid range (0 ... size) More... | |
void | checkIndex (const label i) const |
Check index i is within valid range (0 ... size-1) More... | |
void | shallowCopy (const UList< T > &) |
Copy the pointer held by the given UList. More... | |
void | deepCopy (const UList< T > &) |
Copy elements of the given UList. More... | |
void | writeEntry (Ostream &) const |
Write the UList as a dictionary entry. More... | |
void | writeEntry (const word &keyword, Ostream &) const |
Write the UList as a dictionary entry with keyword. More... | |
T & | operator[] (const label) |
Return element of UList. More... | |
const T & | operator[] (const label) 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 &) |
Assignment of all entries to the given value. More... | |
void | operator= (const zero) |
Assignment of all entries to zero. More... | |
iterator | begin () |
Return an iterator to begin traversing the UList. More... | |
iterator | end () |
Return an iterator to end traversing the UList. More... | |
const_iterator | cbegin () const |
Return const_iterator to begin traversing the constant UList. More... | |
const_iterator | cend () const |
Return const_iterator to end traversing the constant UList. More... | |
const_iterator | begin () const |
Return const_iterator to begin traversing the constant UList. More... | |
const_iterator | end () const |
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 |
Return the number of elements in the UList. More... | |
label | max_size () const |
Return size of the largest possible UList. More... | |
bool | empty () const |
Return true if the UList is empty (ie, size() is zero) More... | |
void | swap (UList< T > &) |
Swap two ULists of the same type in constant time. More... | |
bool | operator== (const UList< T > &) const |
Equality operation on ULists of the same type. More... | |
bool | operator!= (const UList< T > &) const |
The opposite of the equality operation. Takes linear time. More... | |
bool | operator< (const UList< T > &) const |
Compare two ULists lexicographically. Takes linear time. More... | |
bool | operator> (const UList< T > &) const |
Compare two ULists lexicographically. Takes linear time. More... | |
bool | operator<= (const UList< T > &) const |
Return true if !(a > b). Takes linear time. More... | |
bool | operator>= (const UList< T > &) const |
Return true if !(a < b). Takes linear time. More... | |
template<> | |
const bool & | operator[] (const label i) const |
Friends | |
class | List< T > |
Declare friendship with the List class. More... | |
Ostream & | operator (Ostream &, const DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Istream & | operator>> (Istream &, DynamicList< T, SizeInc, SizeMult, SizeDiv > &) |
Read from Istream, discarding contents of existing DynamicList. More... | |
Additional Inherited Members | |
![]() | |
typedef SubList< T > | subList |
Declare type of subList. More... | |
![]() | |
typedef T | value_type |
Type of values the UList contains. More... | |
typedef T & | reference |
Type that can be used for storing into. More... | |
typedef const T & | const_reference |
Type that can be used for storing into. More... | |
typedef label | difference_type |
The type that can represent the difference between any two. More... | |
typedef label | size_type |
The type that can represent the size of a UList. More... | |
typedef T * | iterator |
Random access iterator for traversing UList. More... | |
typedef const T * | const_iterator |
Random access iterator for traversing UList. More... | |
typedef T * | reverse_iterator |
Reverse iterator for reverse traversal of UList. More... | |
typedef const T * | const_reverse_iterator |
Reverse iterator for reverse traversal of constant UList. More... | |
![]() | |
static const List< T > & | null () |
Return a null List. More... | |
![]() | |
static const UList< T > & | null () |
Return a null UList. More... | |
![]() | |
void | size (const label) |
Override size to be inconsistent with allocated storage. More... | |
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Internal storage is a compact array and the list can be shrunk to compact storage. The increase of list size is controlled by three template parameters, which allows the list storage to either increase by the given increment or by the given multiplier and divider (allowing non-integer multiples).
Definition at line 56 of file DynamicList.H.
|
inline |
Construct null.
Definition at line 29 of file DynamicListI.H.
Referenced by DynamicList< Foam::Tensor >::DynamicList().
|
inlineexplicit |
Construct given size.
Definition at line 37 of file DynamicListI.H.
|
inline |
Construct with given size and value for all elements.
Definition at line 51 of file DynamicListI.H.
|
inline |
Construct copy.
Definition at line 63 of file DynamicListI.H.
|
inlineexplicit |
Construct from UList. Size set to UList size.
Also constructs from DynamicList with different sizing parameters.
Definition at line 74 of file DynamicListI.H.
|
inlineexplicit |
Construct from UIndirectList. Size set to UIndirectList size.
Definition at line 85 of file DynamicListI.H.
|
inlineexplicit |
Construct by transferring the parameter contents.
Definition at line 96 of file DynamicListI.H.
|
explicit |
Construct from Istream. Size set to size of list read.
Definition at line 32 of file DynamicList.C.
|
inline |
Size of the underlying storage.
Definition at line 109 of file DynamicListI.H.
Referenced by primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), primitiveMesh::faceEdges(), and primitiveMesh::pointPoints().
|
inline |
Alter the size of the underlying storage.
The addressed size will be truncated if needed to fit, but will remain otherwise untouched. Use this or reserve() in combination with append().
Definition at line 118 of file DynamicListI.H.
Referenced by polyTopoChange::addMesh(), DynamicList< Foam::Tensor >::capacity(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), mapDistributeBase::distribute(), mapDistribute::distribute(), primitiveMesh::faceEdges(), fileMonitorWatcher::fileMonitorWatcher(), polyBoundaryMesh::findIndices(), primitiveMesh::pointPoints(), Pstream::Pstream(), snappySnapDriver::repatchToSurface(), surfaceFeatures::selectFeatureEdges(), polyTopoChange::setCapacity(), PatchTools::sortedPointEdges(), extendedEdgeMesh::sortPointsAndEdges(), and TRIsurfaceFormatCore::~TRIsurfaceFormatCore().
|
inline |
Alter the addressed list size.
New space will be allocated if required. Use this to resize the list prior to using the operator[] for setting values (as per List usage).
Definition at line 163 of file DynamicListI.H.
Referenced by fileMonitor::addWatch(), primitiveMesh::pointCells(), OBJedgeFormat::read(), EFA< CompType, ThermoType >::reduceMechanism(), PFA< CompType, ThermoType >::reduceMechanism(), DAC< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), DynamicList< Foam::Tensor >::reserve(), DynamicList< Foam::Tensor >::setSize(), face::triangles(), and streamLine::write().
Alter the addressed list size and fill new space with a.
constant.
Definition at line 186 of file DynamicListI.H.
|
inline |
Alter the addressed list size.
New space will be allocated if required. Use this to resize the list prior to using the operator[] for setting values (as per List usage).
Definition at line 204 of file DynamicListI.H.
Referenced by minEqOpFace::operator()(), DynamicList< Foam::Tensor >::resize(), and DynamicList< Foam::Tensor >::setSize().
Alter the addressed list size and fill new space with a.
constant.
Definition at line 214 of file DynamicListI.H.
|
inline |
Reserve allocation space for at least this size.
Never shrinks the allocated size, use setCapacity() for that.
Definition at line 140 of file DynamicListI.H.
Referenced by PointEdgeWave< Type, TrackingData >::countPatchType(), STARCDsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), and DynamicList< Foam::Tensor >::setCapacity().
|
inline |
Clear the addressed list, i.e. set the size to zero.
Allocated size does not change
Definition at line 224 of file DynamicListI.H.
Referenced by Foam::bandCompression(), createShellMesh::calcPointRegions(), mapNearestAMI< SourcePatch, TargetPatch >::calculate(), cellVolumeWeightMethod::calculateAddressing(), mapNearestMethod::calculateAddressing(), primitiveMesh::cellCells(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), edgeCollapser::checkMeshQuality(), probes::clearFieldGroups(), PointEdgeWave< Type, TrackingData >::countPatchType(), primitiveMesh::edgeCells(), primitiveMesh::edgeFaces(), primitiveMesh::faceEdges(), triSurfaceSearch::findLineAll(), searchableBox::findLineAll(), Foam::freeMutex(), Foam::freeThread(), isoSurface::generateFaceTriPoints(), indexedOctree< Foam::treeDataFace >::indexedOctree(), OBJedgeFormat::OBJedgeFormat(), listPlusEqOp< T >::operator()(), OppositeFaceCellWave< Type, TrackingData >::opposingFaceLabels(), primitiveMesh::pointCells(), primitiveMesh::pointPoints(), faceAreaWeightAMI< SourcePatch, TargetPatch >::processSourceFace(), STARCDsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), STARCDCore::readPoints(), snappySnapDriver::repatchToSurface(), faceAreaWeightAMI< SourcePatch, TargetPatch >::restartUncoveredSourceFace(), hexRef8::setInstance(), Reaction< ReactionThermo >::setLRhs(), PatchTools::sortedPointEdges(), and patchInjectionBase::updateMesh().
|
inline |
Clear the list and delete storage.
Definition at line 231 of file DynamicListI.H.
Referenced by polyTopoChange::changeMesh(), polyTopoChange::clear(), refinementHistory::compact(), polyTopoChange::makeMesh(), Foam::operator>>(), NASedgeFormat::read(), NASsurfaceFormat< Face >::read(), List< Field< scalar > >::transfer(), and UIPstream::~UIPstream().
|
inline |
Shrink the allocated space to the number of elements used.
Returns a reference to the DynamicList.
Definition at line 240 of file DynamicListI.H.
Referenced by refinementHistory::clone(), geomCellLooper::cut(), refinementHistory::distribute(), mapDistributeBase::distribute(), mapDistribute::distribute(), isoSurface::generateFaceTriPoints(), boundaryMesh::getNearest(), indexedOctree< Foam::treeDataFace >::indexedOctree(), meshSearch::intersections(), isoSurfaceCell::isoSurfaceCell(), NamedEnum< directionType, 3 >::names(), cellCuts::nonAnchorPoints(), Foam::parseNASCoord(), ProcessorTopology< Container, ProcPatch >::ProcessorTopology(), NASedgeFormat::read(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), Foam::readUpto(), searchableSurfaceCollection::regions(), surfaceFeatures::selectFeatureEdges(), dynamicRefineFvMesh::selectRefineCells(), Reaction< ReactionThermo >::setLRhs(), List< Field< scalar > >::transfer(), triSurfaceTools::triangulate(), and triSurfaceTools::triangulateFaceCentre().
Transfer contents of the argument List into this.
Definition at line 259 of file DynamicListI.H.
Referenced by curvatureSeparation::curvatureSeparation(), indexedOctree< Foam::treeDataFace >::overlaps(), ReactingMultiphaseParcel< ParcelType >::ReactingMultiphaseParcel(), ReactingParcel< ParcelType >::ReactingParcel(), OBJsurfaceFormat< Face >::read(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::removeIndex(), faceAreaWeightAMI< SourcePatch, TargetPatch >::restartUncoveredSourceFace(), DynamicList< Foam::Tensor >::transfer(), and streamLine::write().
|
inline |
Transfer contents of the argument DynamicList into this.
Definition at line 270 of file DynamicListI.H.
|
inline |
Transfer contents to the Xfer container as a plain List.
Definition at line 283 of file DynamicListI.H.
Referenced by hexRef8::cellShapes(), polyTopoChange::changeMesh(), fileName::components(), polyTopoChange::makeMesh(), Foam::parseNASCoord(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), VTKsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), and Foam::readUpto().
|
inline |
Append an element at the end of the list.
Definition at line 292 of file DynamicListI.H.
Referenced by isoSurface::adaptPatchFields(), ISAT< CompType, ThermoType >::add(), polyTopoChange::addCell(), polyTopoChange::addFace(), polyTopoChange::addPoint(), cellZoneSet::addSet(), pointZoneSet::addSet(), faceZoneSet::addSet(), fileOperation::addWatches(), masterUncollatedFileOperation::addWatches(), Foam::allocateMutex(), Foam::allocateThread(), DynamicList< Foam::Tensor >::append(), probes::appendFieldGroup(), meshToMeshMethod::appendNbrCells(), AMIMethod< SourcePatch, TargetPatch >::appendNbrFaces(), directMethod::appendToDirectSeeds(), normalToFace::applyToSet(), setAndNormalToFaceZone::applyToSet(), Foam::bandCompression(), faceAreaWeightAMI< SourcePatch, TargetPatch >::calcAddressing(), mappedPatchBase::calcMapping(), createShellMesh::calcPointRegions(), directAMI< SourcePatch, TargetPatch >::calculate(), mapNearestAMI< SourcePatch, TargetPatch >::calculate(), viewFactor::calculate(), cellVolumeWeightMethod::calculateAddressing(), mapNearestMethod::calculateAddressing(), primitiveMesh::cellCells(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), polyMeshTetDecomposition::cellTetIndices(), edgeCollapser::checkMeshQuality(), refinementHistory::clone(), collectLibsCallback(), fileName::components(), patchPatchDist::correct(), PointEdgeWave< Type, TrackingData >::countPatchType(), forces::createFileNames(), geomCellLooper::cut(), refinementHistory::distribute(), primitiveMesh::edgeCells(), primitiveMesh::edgeFaces(), primitiveMesh::faceEdges(), hexRef8::faceLevel(), FacePostProcessing< CloudType >::FacePostProcessing(), OppositeFaceCellWave< Type, TrackingData >::faceToCell(), polyBoundaryMesh::findIndices(), triSurfaceSearch::findLineAll(), searchableBox::findLineAll(), mapNearestMethod::findMappedSrcCell(), mapNearestMethod::findNearestCell(), FreeStream< CloudType >::FreeStream(), UPstream::freeTag(), isoSurface::generateFaceTriPoints(), removeCells::getExposedFaces(), boundaryMesh::getNearest(), chemPointISAT< CompType, ThermoType >::grow(), indexedOctree< Foam::treeDataFace >::indexedOctree(), meshSearch::intersections(), epsilonWallFunctionFvPatchScalarField::manipulateMatrix(), omegaWallFunctionFvPatchScalarField::manipulateMatrix(), polyBoundaryMesh::matchGroups(), conformalVoronoiMesh::maxSurfaceProtrusion(), meshRefinement::mergeBaffles(), NamedEnum< directionType, 3 >::names(), cellCuts::nonAnchorPoints(), OBJedgeFormat::OBJedgeFormat(), listPlusEqOp< T >::operator()(), minEqOp< labelPair >::operator()(), csvTableReader< Type >::operator()(), listOp< Size >::result::operator+(), Foam::operator<<(), OppositeFaceCellWave< Type, TrackingData >::opposingFaceLabels(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::overlaps(), indexedOctree< Foam::treeDataFace >::overlaps(), Foam::parseNASCoord(), patchInteractionDataList::patchInteractionDataList(), primitiveMesh::pointCells(), primitiveMesh::pointPoints(), ProcessorTopology< Container, ProcPatch >::ProcessorTopology(), faceAreaWeightAMI< SourcePatch, TargetPatch >::processSourceFace(), NASedgeFormat::read(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OBJedgeFormat::read(), VTKsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), AC3DsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), Foam::readUpto(), searchableSurfaceCollection::regions(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::removeIndex(), fileMonitor::removeWatch(), snappySnapDriver::repatchToSurface(), dynamicCode::resolveTemplates(), faceAreaWeightAMI< SourcePatch, TargetPatch >::restartUncoveredSourceFace(), scalarRanges::scalarRanges(), surfaceFeatures::selectFeatureEdges(), dynamicRefineFvMesh::selectRefineCells(), boundaryMesh::setFeatureEdges(), surfaceFeatures::setFromStatus(), hexRef8::setInstance(), Reaction< ReactionThermo >::setLRhs(), faceCollapser::setRefinement(), boundaryCutter::setRefinement(), createShellMesh::setRefinement(), hexRef8::setRefinement(), PatchTools::sortedPointEdges(), extendedEdgeMesh::sortPointsAndEdges(), cellZoneSet::subset(), pointZoneSet::subset(), surfaceIntersection::surfaceIntersection(), CollisionRecordList< vector, vector >::update(), probes::updateMesh(), wallLayerCells::wallLayerCells(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), DynamicList< Foam::Tensor >::xfer(), and TRIsurfaceFormatCore::~TRIsurfaceFormatCore().
|
inline |
Append a List at the end of this list.
Definition at line 307 of file DynamicListI.H.
|
inline |
Append a UIndirectList at the end of this list.
Definition at line 331 of file DynamicListI.H.
|
inline |
Remove and return the top element.
Definition at line 347 of file DynamicListI.H.
Referenced by UPstream::allocateTag(), directMethod::appendToDirectSeeds(), mapNearestMethod::findMappedSrcCell(), mapNearestMethod::findNearestCell(), faceAreaWeightAMI< SourcePatch, TargetPatch >::processSourceFace(), and Reaction< ReactionThermo >::setLRhs().
Return non-const access to an element, resizing list if.
necessary
Definition at line 369 of file DynamicListI.H.
Assignment of all addressed entries to the given value.
Definition at line 384 of file DynamicListI.H.
|
inline |
Assignment to DynamicList.
Definition at line 394 of file DynamicListI.H.
Assignment to UList.
Definition at line 423 of file DynamicListI.H.
|
inline |
Assignment to UIndirectList.
Definition at line 446 of file DynamicListI.H.
Erase an element, move the remaining elements to fill the gap.
and resize the List
Definition at line 472 of file DynamicListI.H.
Referenced by DynamicList< Foam::Tensor >::operator=().
Declare friendship with the List class.
Definition at line 98 of file DynamicList.H.
|
friend |
Referenced by DynamicList< Foam::Tensor >::remove().
|
friend |
Read from Istream, discarding contents of existing DynamicList.