FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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

#include <OpenFOAM/List.H>


Detailed Description

template<class T>
class Foam::List< T >

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.

Source files

Definition at line 78 of file List.H.

Inherits Foam::UList< T >.

Inherited by Field< T >, cellToCellStencil, cellToFaceStencil, cellZone, DynamicList< T, SizeInc, SizeMult, SizeDiv >, face, faceTriangulation, IOList< T >, ITstream, pointZone, receivingReferralList, regionSplit, SortableList< T >, speciesTable, surfacePatchIOList, and surfZoneIOList.

Collaboration diagram for List< T >:

List of all members.

Public Types

typedef SubList< T >  subList
 Declare type of subList.

Public Member Functions

 List ()
 Null constructor.
 List (const label)
 Construct with given size.
 List (const label, const T &)
 Construct with given size and value for all elements.
 List (const List< T > &)
 Copy constructor.
 List (const Xfer< List< T > > &)
 Construct by transferring the parameter contents.
 List (List< T > &, bool reUse)
 Construct as copy or re-use as specified.
 List (const UList< T > &, const unallocLabelList &mapAddressing)
 Construct as subset.
template<class InputIterator >
 List (InputIterator first, InputIterator last)
 Construct given start and end iterators.
template<unsigned Size>
 List (const FixedList< T, Size > &)
 Construct as copy of FixedList<T, Size>
 List (const PtrList< T > &)
 Construct as copy of PtrList<T>
 List (const SLList< T > &)
 Construct as copy of SLList<T>
 List (const IndirectList< T > &)
 Construct as copy of IndirectList<T>
 List (const UIndirectList< T > &)
 Construct as copy of UIndirectList<T>
 List (const BiIndirectList< T > &)
 Construct as copy of BiIndirectList<T>
 List (Istream &)
 Construct from Istream.
autoPtr< List< T > >  clone () const
 Clone.
 ~List ()
label  size () const
 Return the number of elements in the UList.
void  resize (const label)
 Reset size of List.
void  resize (const label, const T &)
 Reset size of List and value for new elements.
void  setSize (const label)
 Reset size of List.
void  setSize (const label, const T &)
 Reset size of List and value for new elements.
void  clear ()
 Clear the list, i.e. set size to zero.
void  append (const UList< T > &)
 Append a List at the end of this list.
void  append (const UIndirectList< T > &)
 Append a UIndirectList at the end of this list.
void  transfer (List< T > &)
 Transfer the contents of the argument List into this list.
template<unsigned SizeInc, unsigned SizeMult, unsigned SizeDiv>
void  transfer (DynamicList< T, SizeInc, SizeMult, SizeDiv > &)
 Transfer the contents of the argument List into this list.
void  transfer (SortableList< T > &)
 Transfer the contents of the argument List into this list.
Xfer< List< T > >  xfer ()
 Transfer contents to the Xfer container.
T &  newElmt (const label)
 Return subscript-checked element of UList.
void  operator= (const UList< T > &)
 Assignment from UList operator. Takes linear time.
void  operator= (const List< T > &)
 Assignment operator. Takes linear time.
void  operator= (const SLList< T > &)
 Assignment from SLList operator. Takes linear time.
void  operator= (const IndirectList< T > &)
 Assignment from IndirectList operator. Takes linear time.
void  operator= (const UIndirectList< T > &)
 Assignment from UIndirectList operator. Takes linear time.
void  operator= (const BiIndirectList< T > &)
 Assignment from BiIndirectList operator. Takes linear time.
void  operator= (const T &)
 Assignment of all entries to the given value.

Static Public Member Functions

static const List< T > &  null ()
 Return a null List.

Protected Member Functions

void  size (const label)
 Override size to be inconsistent with allocated storage.

Friends

Istream &  operator>> (Istream &, List< T > &)
 Read List from Istream, discarding contents of existing List.

Member Typedef Documentation

typedef SubList<T> subList

Declare type of subList.

Definition at line 157 of file List.H.


Constructor & Destructor Documentation

List (  ) [inline]

Null constructor.

Definition at line 29 of file ListI.H.

List ( const label   s  ) [explicit]

Construct with given size.

Definition at line 43 of file List.C.

References Foam::abort(), Foam::FatalError, FatalErrorIn, and Foam::T().

List ( const label   s,
const T &   a  
)

Construct with given size and value for all elements.

Definition at line 63 of file List.C.

References Foam::abort(), Foam::FatalError, FatalErrorIn, List_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().

List ( const List< T > &   a  )

Copy constructor.

Definition at line 88 of file List.C.

References UList< T >::byteSize(), List_ACCESS, List_CONST_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().

List ( const Xfer< List< T > > &   lst  )

Construct by transferring the parameter contents.

Definition at line 116 of file List.C.

List ( List< T > &   a,
bool   reUse  
)

Construct as copy or re-use as specified.

Definition at line 124 of file List.C.

References UList< T >::byteSize(), List_ACCESS, List_CONST_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().

List ( const UList< T > &   a,
const unallocLabelList< T > &   mapAddressing  
)

Construct as subset.

Definition at line 158 of file List.C.

References forAll, and Foam::T().

List ( InputIterator   first,
InputIterator   last  
)

Construct given start and end iterators.

Definition at line 179 of file List.C.

References setSize().

List ( const FixedList< T, Size > &   lst  )

Construct as copy of FixedList<T, Size>

Definition at line 211 of file List.C.

References forAll, UList< T >::operator[](), and Foam::T().

List ( const PtrList< T > &   lst  )

Construct as copy of PtrList<T>

Definition at line 229 of file List.C.

References forAll, UList< T >::operator[](), and Foam::T().

List ( const SLList< T > &   lst  )

Construct as copy of SLList<T>

Definition at line 247 of file List.C.

References SLListBase::begin(), SLListBase::end(), UList< T >::operator[](), and Foam::T().

List ( const IndirectList< T > &   lst  )

Construct as copy of IndirectList<T>

Definition at line 271 of file List.C.

References forAll, UList< T >::operator[](), and Foam::T().

List ( const UIndirectList< T > &   lst  )

Construct as copy of UIndirectList<T>

Definition at line 289 of file List.C.

References forAll, UList< T >::operator[](), and Foam::T().

List ( const BiIndirectList< T > &   lst  )

Construct as copy of BiIndirectList<T>

Definition at line 307 of file List.C.

References forAll, UList< T >::operator[](), and Foam::T().

List ( Istream &   is  )

Construct from Istream.

Definition at line 36 of file ListIO.C.

References List< T >::operator>>.

~List (  )

Definition at line 327 of file List.C.


Member Function Documentation

void size ( const label   n  ) [inline, protected]

Override size to be inconsistent with allocated storage.

Use with care.

Definition at line 76 of file ListI.H.

Referenced by wideBandAbsorptionEmission::aCont(), greyMeanAbsorptionEmission::aCont(), refinementHistory::active(), cellTable::addCellZones(), addPatchCellLayer::addedCells(), mapPatchChange::addedPatches(), edgeSurface::addIntersectionEdges(), autoLayerDriver::addLayers(), polyTopoChange::addMesh(), polyMesh::addPatches(), faceZoneSet::addSet(), polyTopoChanger::addTopologyModifiers(), MeshedSurface< Face >::addZones(), polyMesh::addZones(), primitiveMeshGeometry::affectedCells(), polyMeshGeometry::affectedCells(), GAMGAgglomeration::agglomerateLduAddressing(), setToPointZone::applyToSet(), setToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), faceZoneToFaceZone::applyToSet(), setToCellZone::applyToSet(), face::areaInContact(), argList::argList(), LISA::atomizeParcel(), Field< Type >::autoMap(), meshRefinement::baffleAndSplitMesh(), meshRefinement::balance(), meshRefinement::balanceAndRefine(), Foam::bandCompression(), booleanSurface::booleanSurface(), tetherPotentialList::buildPotentials(), pairPotentialList::buildPotentials(), decompositionMethod::calcCellCells(), primitiveMesh::calcCells(), scotchDecomp::calcCSR(), extendedCellToFaceStencil::calcDistributeMap(), enrichedPatch::calcEnrichedFaces(), polyDualMesh::calcFeatures(), FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), triSurfaceSearch::calcInside(), triSurfaceTools::calcInterpolationWeights(), cellMatcher::calcLocalFaces(), triSurfaceSearch::calcNearest(), autoSnapDriver::calcNearestSurface(), triSurfaceSearch::calcNearestTri(), primitiveMesh::calcPointOrder(), DILUPreconditioner::calcReciprocalD(), DICPreconditioner::calcReciprocalD(), autoSnapDriver::calcSnapDistance(), coupledPolyPatch::calcTransformTensors(), ODEChemistryModel< CompType, ThermoType >::calculate(), cellModeller::cellModeller(), dynamicRefineFvMesh::cellToPoint(), cellModel::centre(), repatchPolyTopoChanger::changeAnchorPoint(), boundaryMesh::changeFaces(), polyTopoChange::changeMesh(), layerAdditionRemoval::changeTopology(), primitiveMesh::checkCellDeterminant(), primitiveMesh::checkCellsZipUp(), primitiveMesh::checkClosedBoundary(), pointZone::checkDefinition(), triSurface::checkEdges(), primitiveMesh::checkFaceAngles(), primitiveMeshGeometry::checkFaceAngles(), polyMeshGeometry::checkFaceAngles(), primitiveMeshGeometry::checkFaceDotProduct(), primitiveMesh::checkFaceFlatness(), primitiveMesh::checkFaceOrthogonality(), MeshedSurface< Face >::checkFaces(), primitiveMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceTwist(), primitiveMesh::checkFaceVertices(), probes::checkFieldTypes(), hexRef8::checkMesh(), PatchTools::checkOrientation(), polyBoundaryMesh::checkParallelSync(), PrimitivePatch< Face, FaceList, PointField, PointType >::checkPointManifold(), primitiveMesh::checkPointNearness(), ReactingCloud< ParcelType >::checkSuppliedComposition(), PrimitivePatch< Face, FaceList, PointField, PointType >::checkTopology(), triSurface::checkTriangles(), polyMeshGeometry::checkTriangleTwist(), primitiveMesh::checkUpperTriangular(), surfMesh::checkZones(), MeshedSurface< Face >::checkZones(), cellShape::collapsedFaces(), triSurfaceTools::collapseEdges(), extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), commSchedule::commSchedule(), mapDistribute::compact(), CompactListList_dev< T, Container >::CompactListList_dev(), face::compare(), removeFaces::compatibleRemoves(), hexRef8::consistentSlowRefinement(), hexRef8::consistentSlowRefinement2(), inversePointDistanceDiffusivity::correct(), Particle< ParticleType >::correctAfterParallelTransfer(), cellDistFuncs::correctBoundaryPointCells(), removePoints::countPointUsage(), cyclicPolyPatch::coupledEdges(), cyclicPolyPatch::coupledPoints(), hsRhoMixtureThermo< MixtureType >::Cp(), hRhoMixtureThermo< MixtureType >::Cp(), hsPsiMixtureThermo< MixtureType >::Cp(), hPsiMixtureThermo< MixtureType >::Cp(), hhuMixtureThermo< MixtureType >::Cp(), hsRhoThermo< MixtureType >::Cp(), hRhoThermo< MixtureType >::Cp(), hsPsiThermo< MixtureType >::Cp(), hPsiThermo< MixtureType >::Cp(), ePsiThermo< MixtureType >::Cp(), Foam::cp(), meshRefinement::createBaffles(), Keyed< T >::createList(), autoSnapDriver::createZoneBaffles(), csvTableReader< Type >::csvTableReader(), displacementInterpolationFvMotionSolver::curPoints(), cuttingPlane::cut(), topoCellLooper::cut(), hexCellLooper::cut(), geomCellLooper::cut(), Foam::meshTools::cutDirToEdge(), hsRhoThermo< MixtureType >::Cv(), hRhoThermo< MixtureType >::Cv(), hsPsiThermo< MixtureType >::Cv(), hPsiThermo< MixtureType >::Cv(), ePsiThermo< MixtureType >::Cv(), cyclicGAMGInterface::cyclicGAMGInterface(), definedPressureSwirlInjector::d0(), scotchDecomp::decompose(), parMetisDecomp::decompose(), metisDecomp::decompose(), simpleGeomDecomp::decompose(), manualDecomp::decompose(), hierarchGeomDecomp::decompose(), decompositionMethod::decompose(), triSurfaceTools::delaunay2D(), pointZoneSet::deleteSet(), faceZoneSet::deleteSet(), cellZoneSet::deleteSet(), cyclicFvPatch::delta(), displacementInterpolationFvMotionSolver::displacementInterpolationFvMotionSolver(), mapDistribute::distribute(), distributedTriSurfaceMesh::distribute(), treeNode< Type >::distribute(), refinementHistory::distribute(), fvMeshDistribute::distribute(), Foam::resError::div(), autoLayerDriver::doLayers(), meshRefinement::dumpIntersections(), Foam::duplicateOrder(), ePsiThermo< MixtureType >::e(), primitiveMesh::edgeFaces(), PatchTools::edgeOwner(), face::edges(), cellModel::edges(), triSurfaceTools::edgeSide(), edgeSurface::edgeSurface(), directionInfo::edgeToFaceIndex(), Pstream::enlargeBuffer(), ensightPartFaces::ensightPartFaces(), directionInfo::enterDomain(), StaticHashTable< T, Key, Hash >::erase(), dynamicRefineFvMesh::error(), evaluateError::evaluateError(), spray::evolve(), explicitSource::explicitSource(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), faceCoupleInfo::faceCoupleInfo(), primitiveMesh::faceEdges(), lduMatrix::faceH(), sampledCuttingPlane::faces(), sampledIsoSurfaceCell::faces(), sampledIsoSurface::faces(), distanceSurface::faces(), cellModel::faces(), searchableSurfacesQueries::facesIntersection(), wedgeMatcher::faceSizeMatch(), tetWedgeMatcher::faceSizeMatch(), tetMatcher::faceSizeMatch(), pyrMatcher::faceSizeMatch(), prismMatcher::faceSizeMatch(), hexMatcher::faceSizeMatch(), PrimitivePatchInterpolation< Patch >::faceToEdgeInterpolate(), featureEdgeMesh::featureEdgeMesh(), Foam::fftRenumber(), Foam::fftRenumberRecurse(), cellClassification::fillRegionEdges(), refinementSurfaces::findAllHigherIntersections(), searchableSurfacesQueries::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), Time::findClosestTime(), probes::findElements(), patchProbes::findElements(), surfaceFeatures::findFeatures(), refinementSurfaces::findHigherIntersection(), refinementSurfaces::findInside(), Time::findInstance(), triSurfaceMesh::findLine(), searchableSurfaceWithGaps::findLine(), searchableSurfaceCollection::findLine(), searchableSphere::findLine(), searchablePlate::findLine(), searchablePlane::findLine(), searchableCylinder::findLine(), searchableBox::findLine(), triSurfaceMesh::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableSphere::findLineAll(), searchablePlate::findLineAll(), searchablePlane::findLineAll(), searchableCylinder::findLineAll(), searchableBox::findLineAll(), distributedTriSurfaceMesh::findLineAll(), triSurfaceMesh::findLineAny(), searchableSphere::findLineAny(), searchableCylinder::findLineAny(), searchableBox::findLineAny(), triSurfaceMesh::findNearest(), searchableSurfacesQueries::findNearest(), searchableSphere::findNearest(), searchablePlate::findNearest(), searchablePlane::findNearest(), searchableCylinder::findNearest(), searchableBox::findNearest(), distributedTriSurfaceMesh::findNearest(), primitiveMesh::findNearestCell(), refinementSurfaces::findNearestIntersection(), refinementSurfaces::findNearestRegion(), polyMeshAdder::findSharedPoints(), cellPointWeight::findTetrahedron(), Time::findTimes(), cellPointWeight::findTriangle(), Pstream::gatherList(), genericFvPatchField< Type >::genericFvPatchField(), genericPointPatchField< Type >::genericPointPatchField(), hexRef8::getAnchorLevel(), refinementSurfaces::getClosedNamedSurfaces(), meshRefinement::getDuplicateFaces(), triSurfaceMesh::getField(), searchableSurfaceCollection::getField(), distributedTriSurfaceMesh::getField(), combineFaces::getMergeSets(), boundaryMesh::getNearest(), triSurfaceMesh::getNormal(), searchableSurfaceCollection::getNormal(), searchableSphere::getNormal(), searchablePlate::getNormal(), searchablePlane::getNormal(), searchableCylinder::getNormal(), searchableBox::getNormal(), distributedTriSurfaceMesh::getNormal(), combineFaces::getOutsideFace(), cellDistFuncs::getPatchIDs(), cellDistFuncs::getPointNeighbours(), patchCloudSet::getRefPoint(), curveSet::getRefPoint(), cloudSet::getRefPoint(), triSurfaceMesh::getRegion(), searchableSurfaceCollection::getRegion(), searchableSphere::getRegion(), searchablePlate::getRegion(), searchablePlane::getRegion(), searchableCylinder::getRegion(), searchableBox::getRegion(), distributedTriSurfaceMesh::getRegion(), coupledPolyPatch::getRotation(), hexRef8::getSplitPoints(), injectorType::getTableValue(), refinementSurfaces::getUnnamedSurfaces(), removePoints::getUnrefimentSet(), cellLooper::getVertEdgesNonFace(), triSurfaceTools::getVertexTriangles(), cellLooper::getVertFacesNonEdge(), triSurfaceMesh::getVolumeType(), searchableSphere::getVolumeType(), searchableCylinder::getVolumeType(), searchableBox::getVolumeType(), globalPoints::globalPoints(), sphericalCS::globalToLocal(), cylindricalCS::globalToLocal(), triSurfaceTools::greenRefine(), hRhoMixtureThermo< MixtureType >::h(), hPsiMixtureThermo< MixtureType >::h(), hhuMixtureThermo< MixtureType >::h(), hRhoThermo< MixtureType >::h(), hPsiThermo< MixtureType >::h(), lduMatrix::H(), mapPolyMesh::hasMotionPoints(), hexRef8::hexRef8(), hsRhoMixtureThermo< MixtureType >::hs(), hsPsiMixtureThermo< MixtureType >::hs(), hsRhoThermo< MixtureType >::hs(), hsPsiThermo< MixtureType >::hs(), hhuMixtureThermo< MixtureType >::hu(), Particle< ParticleType >::inCell(), indexedOctree< Type >::indexedOctree(), FreeStream< CloudType >::inflow(), mpiIPstreamImpl::init(), lduMatrix::initMatrixInterfaces(), treeLeaf< Type >::insert(), distribution::insertMissingKeys(), correlationFunction< Type >::integral(), injectorType::integrateTable(), volPointInterpolation::interpolate(), interpolationCellPointFace< Type >::interpolate(), fvMeshSubset::interpolate(), meshToMesh::interpolateInternalField(), Foam::interpolatePointToCell(), Foam::interpolateXY(), intersectedSurface::intersectedSurface(), wedgeMatcher::isA(), tetWedgeMatcher::isA(), tetMatcher::isA(), pyrMatcher::isA(), prismMatcher::isA(), hexMatcher::isA(), ensightPart::isFieldDefined(), isoSurface::isoSurface(), isoSurfaceCell::isoSurfaceCell(), liquidMixture::K(), Foam::kShellIntegration(), Foam::kShellMean(), cell::labels(), noiseFFT::Ldelta(), Foam::MULES::limiter(), spray::liquidEnthalpy(), spray::liquidTotalEnthalpy(), Pstream::listCombineGather(), LocalInteraction< CloudType >::LocalInteraction(), facePointPatch::localPoints(), sphericalCS::localToGlobal(), parabolicCylindricalCS::localToGlobal(), cylindricalCS::localToGlobal(), cellCuts::loopPoints(), cellModel::mag(), cyclicFvPatch::makeDeltaCoeffs(), faceCoupleInfo::makeMap(), cyclicFvPatch::makeWeights(), Field< Type >::map(), mapDistribute::mapDistribute(), Foam::MapLagrangianFields(), triSurface::markZone(), PatchTools::markZone(), triSurface::markZones(), PatchTools::markZones(), degenerateMatcher::match(), Foam::matchPoints(), noiseFFT::meanPf(), distribution::median(), cellToFaceStencil::merge(), cellToCellStencil::merge(), meshRefinement::mergeBaffles(), Foam::mergePoints(), triSurfaceTools::mergePoints(), autoSnapDriver::mergeZoneBaffles(), PrimitivePatch< Face, FaceList, PointField, PointType >::meshEdges(), cellShape::meshEdges(), MeshedSurface< Face >::MeshedSurface(), cellShape::meshFaces(), facePointPatch::meshPoints(), meshTriangulation::meshTriangulation(), edgeIntersections::minEdgeLength(), slidingInterface::modifyMotionPoints(), attachDetach::modifyMotionPoints(), parcel::move(), Cloud< ParticleType >::move(), primitiveMesh::movePoints(), polyTopoChange::movePoints(), MRFZone::MRFZone(), multiNormal::multiNormal(), Foam::multiply(), surfaceFeatures::nearestEdges(), face::nearestPoint(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), PrimitivePatch< face,::Foam::List, pointField, point >::nEdges(), primitiveMesh::nEdges(), cellModel::nEdges(), polyBoundaryMesh::neighbourEdges(), cellModel::nFaces(), vtkMesh::nFieldCells(), vtkMesh::nFieldPoints(), potential::nIds(), surfaceFeatures::nInternalEdges(), noiseFFT::noiseFFT(), cellCuts::nonAnchorPoints(), surfaceLocation::normal(), distribution::normalisedShifted(), surfMesh::nPoints(), PrimitivePatch< face,::Foam::List, pointField, point >::nPoints(), Pstream::nProcs(), refinementSurfaces::nRegions(), ODEChemistryModel< CompType, ThermoType >::omega(), dlLibraryTable::open(), offsetOp< face >::operator()(), csvTableReader< Type >::operator()(), MapInternalField< Type, MeshMapper, surfaceMesh >::operator()(), cellToFaceStencil::unionEqOp::operator()(), cellToCellStencil::unionEqOp::operator()(), minEqOpFace::operator()(), lduMatrix::operator*=(), Foam::operator<<(), StaticHashTable< T, Key, Hash >::operator=(), cellTable::operator=(), Foam::operator==(), operator==(), Foam::operator>>(), cell::opposingFace(), cell::opposingFaceLabel(), processorPolyPatch::order(), orientedSurface::orient(), triSurfaceTools::otherFace(), distributedTriSurfaceMesh::overlappingSurface(), globalMeshData::parallel(), boundaryMesh::patchify(), pointPatchField< Type >::patchInternalField(), patchZones::patchZones(), noiseFFT::Pdelta(), primitiveMesh::pointCells(), facePointPatch::pointNormals(), primitiveMesh::pointPoints(), cell::points(), PrimitivePatchInterpolation< Patch >::pointToFaceInterpolate(), polyAddFace::polyAddFace(), polyMesh::polyMesh(), Foam::polyMeshZipUpCells(), polyModifyFace::polyModifyFace(), polynomial::polynomial(), noPreconditioner::precondition(), GAMGPreconditioner::precondition(), FDICPreconditioner::precondition(), DILUPreconditioner::precondition(), DICPreconditioner::precondition(), diagonalPreconditioner::precondition(), DILUPreconditioner::preconditionT(), pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField(), sampledTriSurfaceMesh::print(), sampledPlane::print(), sampledPatch::print(), sampledCuttingPlane::print(), distanceSurface::print(), indexedOctree< Type >::print(), fvMeshDistribute::printMeshInfo(), processorGAMGInterface::processorGAMGInterface(), PrimitivePatch< Face, FaceList, PointField, PointType >::projectFaceCentres(), PrimitivePatch< Face, FaceList, PointField, PointType >::projectPoints(), ReactingMultiphaseParcel< ParcelType >::ReactingMultiphaseParcel(), ReactingParcel< ParcelType >::ReactingParcel(), STARCDsurfaceFormat< Face >::read(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), FTRsurfaceFormat< Face >::read(), sampledSurfaces::read(), boundaryMesh::read(), SKA::read(), STARCD::readBoundary(), STARCD::readCells(), Foam::readDir(), ReactingParcel< ParcelType >::readFields(), ReactingMultiphaseParcel< ParcelType >::readFields(), parcel::readFields(), boundaryMesh::readTriSurface(), surfMesh::readUpdate(), ensightParts::recalculate(), triSurfaceTools::redGreenRefine(), dynamicRefineFvMesh::refine(), refinementHistory::refinementHistory(), searchableSurfaceCollection::regions(), edgeMesh::regions(), fvMatrix< Type >::relax(), MeshedSurface< Face >::remapFaces(), undoableMeshCutter::removeSplitFaces(), ensightPart::renumber(), fieldAverage::resetFields(), polyMesh::resetPrimitives(), lduMatrix::residual(), fvMatrix< Type >::residual(), GAMGAgglomeration::restrictField(), face::reverseFace(), noiseFFT::RMSmeanPf(), multiNormal::sample(), motionSmoother::scaleMesh(), Pstream::scatterList(), mapDistribute::schedule(), searchableSurfaces::searchableSurfaces(), timeSelector::select(), timeSelector::selected(), scalarRanges::selected(), surfaceFeatures::selectFeatureEdges(), dynamicRefineFvMesh::selectRefineCells(), dynamicRefineFvMesh::selectUnrefinePoints(), coupledPolyPatch::separated(), syncTools::separateList(), fvMeshSubset::setCellSubset(), Time::setControls(), boundaryMesh::setFeatureEdges(), explicitSource::setFieldData(), pointPatchField< Type >::setInInternalField(), fvMeshSubset::setLargeCellSubset(), refinementSurfaces::setMinLevelFields(), errorDrivenRefinement::setRefinement(), removePoints::setRefinement(), removeFaces::setRefinement(), removeCells::setRefinement(), hexRef8::setRefinement(), faceCollapser::setRefinement(), edgeCollapser::setRefinement(), duplicatePoints::setRefinement(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), perfectInterface::setRefinement(), refinementIterator::setRefinement(), meshCutter::setRefinement(), meshCutAndRemove::setRefinement(), boundaryCutter::setRefinement(), sampledSet::setSamples(), removePoints::setUnrefinement(), hexRef8::setUnrefinement(), combineFaces::setUnrefinement(), UnsortedMeshedSurface< Face >::setZones(), globalMeshData::sharedPoints(), liquidMixture::sigma(), triSurfaceGeoMesh::size(), meshToMesh::patchFieldInterpolator::size(), facePointPatch::size(), globalPointPatch::size(), procLduMatrix::size(), GAMGInterface::size(), octreeDataTriSurface::size(), octreeDataPoint::size(), octreeDataFace::size(), octreeDataEdges::size(), octreeDataCell::size(), treeDataTriSurface::size(), treeDataPoint::size(), treeDataFace::size(), treeDataEdge::size(), treeDataCell::size(), fvMeshSubset::pointPatchFieldSubset::size(), fvMeshSubset::patchFieldSubset::size(), octreeDataFaceList::size(), pointFieldDecomposer::patchFieldDecomposer::size(), fvFieldDecomposer::processorSurfacePatchFieldDecomposer::size(), fvFieldDecomposer::processorVolPatchFieldDecomposer::size(), fvFieldDecomposer::patchFieldDecomposer::size(), CompactListList_dev< T, Container >::sizes(), GaussSeidelSmoother::smooth(), partialSlipFvPatchField< Type >::snGradTransformDiag(), fixedNormalSlipFvPatchField< Type >::snGradTransformDiag(), basicSymmetryFvPatchField< Type >::snGradTransformDiag(), sequential< CompType, ThermoType >::solve(), ode< CompType, ThermoType >::solve(), EulerImplicit< CompType, ThermoType >::solve(), ODEChemistryModel< CompType, ThermoType >::solve(), smoothSolver::solve(), PCG::solve(), PBiCG::solve(), GAMGSolver::solve(), ParSortableList< Type >::sort(), PatchTools::sortedEdgeFaces(), Foam::sortedOrder(), UnsortedMeshedSurface< Face >::sortedZones(), MeshedSurface< Face >::sortFacesAndStore(), meshRefinement::splitMesh(), meshRefinement::splitMeshRegions(), Foam::stepBackwardsToNextPoint(), Foam::stepForwardsToNextPoint(), MeshedSurface< Face >::stitchFaces(), hexRef8::storeData(), pointZoneSet::subset(), faceZoneSet::subset(), cellZoneSet::subset(), refinementHistory::subset(), hexRef8::subset(), PatchTools::subsetMap(), triSurface::subsetMesh(), UnsortedMeshedSurface< Face >::subsetMesh(), MeshedSurface< Face >::subsetMesh(), triSurface::subsetMeshMap(), Foam::ListListOps::subSizes(), surfaceIntersection::surfaceIntersection(), PrimitivePatch< Face, FaceList, PointField, PointType >::surfaceType(), processorPointPatchField< Type >::swapAdd(), syncTools::syncEdgeList(), syncTools::syncEdgeMap(), syncTools::syncPointList(), syncTools::syncPointMap(), Table< Type >::Table(), interactionLists::testPointFaceDistance(), TimeActivatedExplicitSource< Type >::TimeActivatedExplicitSource(), Particle< ParticleType >::trackToFace(), MeshedSurface< Face >::transcribe(), MeshedSurface< Face >::transfer(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::transfer(), fft::transform(), Foam::transform(), cyclicLduInterfaceField::transformCoupleField(), Foam::transformFieldMask< tensor >(), Foam::transformList(), triSurfaceMesh::tree(), face::triangles(), MeshedSurface< Face >::triangulate(), triSurfaceTools::triangulateFaceCentre(), treeLeaf< Type >::trim(), surfaceFeatures::trimFeatures(), turbGen::U(), Foam::uniqueOrder(), dynamicRefineFvMesh::unrefine(), sampledTriSurfaceMesh::update(), dynamicRefineFvMesh::update(), directionInfo::updateCell(), incompressible::atmBoundaryLayerInletVelocityFvPatchVectorField::updateCoeffs(), activeBaffleVelocityFvPatchVectorField::updateCoeffs(), processorGAMGInterfaceField::updateInterfaceMatrix(), lduMatrix::updateMatrixInterfaces(), processorPolyPatch::updateMesh(), polyMesh::updateMesh(), globalMeshData::updateMesh(), pointZoneSet::updateMesh(), faceZoneSet::updateMesh(), cellZoneSet::updateMesh(), displacementFvMotionSolver::updateMesh(), displacementComponentLaplacianFvMotionSolver::updateMesh(), removePoints::updateMesh(), refinementHistory::updateMesh(), hexRef8::updateMesh(), addPatchCellLayer::updateMesh(), boundaryCutter::updateMesh(), meshRefinement::updateMesh(), pointZoneSet::updateSet(), faceZoneSet::updateSet(), cellZoneSet::updateSet(), MeshedSurfaceProxy< Face >::useFaceMap(), wallLayerCells::wallLayerCells(), meshReader::warnDuplicates(), coupledPolyPatch::whichPatch(), X3DsurfaceFormat< Face >::write(), WRLsurfaceFormat< Face >::write(), VTKsurfaceFormat< Face >::write(), TRIsurfaceFormat< Face >::write(), STARCDsurfaceFormat< Face >::write(), SMESHsurfaceFormat< Face >::write(), OFSsurfaceFormat< Face >::write(), OFFsurfaceFormat< Face >::write(), OBJsurfaceFormat< Face >::write(), GTSsurfaceFormat< Face >::write(), AC3DsurfaceFormat< Face >::write(), vtkSurfaceWriter< Type >::write(), rawSurfaceWriter< Type >::write(), foamFileSurfaceWriter< Type >::write(), dxSurfaceWriter< Type >::write(), xmgraceSetWriter< Type >::write(), rawSetWriter< Type >::write(), gnuplotSetWriter< Type >::write(), csvSetWriter< Type >::write(), octreeDataPoint::write(), pressureInletOutletVelocityFvPatchVectorField::write(), STLsurfaceFormat< Face >::writeAscii(), STLsurfaceFormat< Face >::writeBinary(), STARCDsurfaceFormatCore::writeCase(), triSurface::writeDX(), ensightPart::writeField(), ensightPart::writeFieldList(), ReactingParcel< ParcelType >::writeFields(), parcel::writeFields(), WRLsurfaceFormatCore::writeHeader(), VTKsurfaceFormatCore::writeHeader(), triSurfaceTools::writeOBJ(), Foam::meshTools::writeOBJ(), ensightPart::writeScalarField(), MeshedSurface< Face >::writeStats(), extendedCellToFaceStencil::writeStencilStats(), STARCD::writeSurface(), ensightPart::writeVectorField(), solidMixture::X(), liquidMixture::X(), CompositionModel< CloudType >::X(), liquidMixture::Xs(), Foam::XstepForwardsToNextPoint(), and meshRefinement::zonify().

Foam::autoPtr< Foam::List< T > > clone (  ) const [inline]

Clone.

Reimplemented in basicSymmetryFvPatchField< Type >, calculatedFvPatchField< Type >, coupledFvPatchField< Type >, directionMixedFvPatchField< Type >, fixedGradientFvPatchField< Type >, fixedValueFvPatchField< Type >, mixedFvPatchField< Type >, slicedFvPatchField< Type >, transformFvPatchField< Type >, zeroGradientFvPatchField< Type >, cyclicFvPatchField< Type >, emptyFvPatchField< Type >, processorFvPatchField< Type >, symmetryFvPatchField< Type >, wedgeFvPatchField< Type >, advectiveFvPatchField< Type >, directMappedFixedValueFvPatchField< Type >, fanFvPatchField< Type >, fixedInternalValueFvPatchField< Type >, fixedNormalSlipFvPatchField< Type >, freestreamFvPatchField< Type >, inletOutletFvPatchField< Type >, oscillatingFixedValueFvPatchField< Type >, outletInletFvPatchField< Type >, outletMappedUniformInletFvPatchField< Type >, partialSlipFvPatchField< Type >, slipFvPatchField< Type >, timeVaryingMappedFixedValueFvPatchField< Type >, timeVaryingUniformFixedValueFvPatchField< Type >, timeVaryingUniformInletOutletFvPatchField< Type >, turbulentInletFvPatchField< Type >, uniformFixedValueFvPatchField< Type >, waveTransmissiveFvPatchField< Type >, fvPatchField< Type >, calculatedFvsPatchField< Type >, coupledFvsPatchField< Type >, fixedValueFvsPatchField< Type >, slicedFvsPatchField< Type >, cyclicFvsPatchField< Type >, emptyFvsPatchField< Type >, processorFvsPatchField< Type >, symmetryFvsPatchField< Type >, wedgeFvsPatchField< Type >, fvsPatchField< Type >, cellMotionFvPatchField< Type >, surfaceSlipDisplacementFvPatchField< Type >, angularOscillatingDisplacementPointPatchVectorField, angularOscillatingVelocityPointPatchVectorField, oscillatingDisplacementPointPatchVectorField, oscillatingVelocityPointPatchVectorField, genericFvPatchField< Type >, PackedList< nBits >, DimensionedField< Type, GeoMesh >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, Field< Type >, fixedValuePointPatchField< Type >, mixedPointPatchField< Type >, valuePointPatchField< Type >, timeVaryingUniformFixedValuePointPatchField< Type >, uniformFixedValuePointPatchField< Type >, curve, cellShape, sixDoFRigidBodyDisplacementPointPatchVectorField, uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField, sampledSet, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, omegaWallFunctionFvPatchScalarField, epsilonWallFunctionFvPatchScalarField, kqRWallFunctionFvPatchField< Type >, omegaWallFunctionFvPatchScalarField, mixedFixedValueSlipFvPatchField< Type >, phase, zeroGradientFvPatchField< scalar >, fixedInternalValueFvPatchField< scalar >, fvPatchField< scalar >, PackedList< 2 >, DimensionedField< tensor, volMesh >, DimensionedField< scalar, volMesh >, DimensionedField< vector, pointMesh >, DimensionedField< scalar, pointMesh >, DimensionedField< Type, volMesh >, DimensionedField< symmTensor, volMesh >, DimensionedField< scalar, surfaceMesh >, DimensionedField< vector, volMesh >, DimensionedField< Type, surfaceMesh >, DimensionedField< Type, pointMesh >, Field< tensor >, Field< symmTensor >, Field< scalar >, Field< label >, Field< vector >, Field< complexVector >, Field< T >, Field< translationRotationVectors >, Field< Field< Type > >, Field< point >, Field< PointType >, fixedValuePointPatchField< vector >, and valuePointPatchField< vector >.

Definition at line 34 of file ListI.H.

void setSize ( const label   newSize  )

Reset size of List.

Reimplemented in DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, UnsortedMeshedSurface< Face >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.

Definition at line 336 of file List.C.

References Foam::abort(), clear(), Foam::FatalError, FatalErrorIn, Foam::min(), and Foam::T().

Referenced by cellTable::addCellZones(), addPatchCellLayer::addedCells(), edgeSurface::addIntersectionEdges(), MeshedSurface< Face >::addZones(), GAMGAgglomeration::agglomerateLduAddressing(), face::areaInContact(), argList::argList(), booleanSurface::booleanSurface(), decompositionMethod::calcCellCells(), primitiveMesh::calcCells(), scotchDecomp::calcCSR(), extendedCellToFaceStencil::calcDistributeMap(), cellToFaceStencil::calcFaceStencil(), FitData< FitDataType, ExtendedStencil, Polynomial >::calcFit(), parMetisDecomp::calcMetisDistributedCSR(), primitiveMesh::calcPointOrder(), cellMatcher::cellMatcher(), cellModeller::cellModeller(), fvMotionSolver::cellMotionBoundaryTypes(), boundaryMesh::changeFaces(), MeshedSurface< Face >::checkFaces(), cellShape::collapsedFaces(), extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), mapDistribute::compact(), GAMGAgglomeration::compactLevels(), removeFaces::compatibleRemoves(), polyPatch::constraintTypes(), fvPatch::constraintTypes(), inversePointDistanceDiffusivity::correct(), inverseFaceDistanceDiffusivity::correct(), removePoints::countPointUsage(), cyclicPolyPatch::coupledEdges(), cyclicPolyPatch::coupledPoints(), autoSnapDriver::createZoneBaffles(), hexCellLooper::cut(), geomCellLooper::cut(), parMetisDecomp::decompose(), mapPatchChange::deletedPatches(), displacementInterpolationFvMotionSolver::displacementInterpolationFvMotionSolver(), mapDistribute::distribute(), distributedTriSurfaceMesh::distribute(), Foam::duplicateOrder(), cell::edges(), Pstream::enlargeBuffer(), ensightPartFaces::ensightPartFaces(), StaticHashTable< T, Key, Hash >::erase(), spray::evolve(), extendedUpwindCellToFaceStencil::extendedUpwindCellToFaceStencil(), primitiveMesh::faceEdges(), cellModel::faces(), refinementSurfaces::findAllHigherIntersections(), searchableSurfacesQueries::findAllIntersections(), searchableSurfacesQueries::findAnyIntersection(), probes::findElements(), patchProbes::findElements(), refinementSurfaces::findHigherIntersection(), refinementSurfaces::findInside(), triSurfaceMesh::findLine(), searchableSurfaceWithGaps::findLine(), searchableSurfaceCollection::findLine(), searchableSphere::findLine(), searchablePlate::findLine(), searchablePlane::findLine(), searchableCylinder::findLine(), searchableBox::findLine(), triSurfaceMesh::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableSphere::findLineAll(), searchablePlate::findLineAll(), searchablePlane::findLineAll(), searchableCylinder::findLineAll(), searchableBox::findLineAll(), distributedTriSurfaceMesh::findLineAll(), triSurfaceMesh::findLineAny(), searchableSphere::findLineAny(), searchableCylinder::findLineAny(), searchableBox::findLineAny(), triSurfaceMesh::findNearest(), searchableSurfacesQueries::findNearest(), searchableSphere::findNearest(), searchablePlate::findNearest(), searchablePlane::findNearest(), searchableCylinder::findNearest(), searchableBox::findNearest(), distributedTriSurfaceMesh::findNearest(), refinementSurfaces::findNearestIntersection(), refinementSurfaces::findNearestRegion(), polyMeshAdder::findSharedPoints(), Time::findTimes(), FreeStream< CloudType >::FreeStream(), refinementSurfaces::getClosedNamedSurfaces(), triSurfaceMesh::getField(), searchableSurfaceCollection::getField(), distributedTriSurfaceMesh::getField(), combineFaces::getMergeSets(), triSurfaceMesh::getNormal(), searchableSurfaceCollection::getNormal(), searchableSphere::getNormal(), searchablePlate::getNormal(), searchablePlane::getNormal(), searchableCylinder::getNormal(), searchableBox::getNormal(), distributedTriSurfaceMesh::getNormal(), boundaryMesh::getNTris(), triSurfaceMesh::getRegion(), searchableSurfaceCollection::getRegion(), searchableSphere::getRegion(), searchablePlate::getRegion(), searchablePlane::getRegion(), searchableCylinder::getRegion(), searchableBox::getRegion(), distributedTriSurfaceMesh::getRegion(), removePoints::getUnrefimentSet(), cellLooper::getVertEdgesNonFace(), triSurfaceTools::getVertexTriangles(), cellLooper::getVertFacesNonEdge(), triSurfaceMesh::getVolumeType(), searchableSphere::getVolumeType(), searchableCylinder::getVolumeType(), searchableBox::getVolumeType(), globalPoints::globalPoints(), triSurfaceTools::greenRefine(), sortLabelledTri::indices(), mpiPstreamImpl::init(), mpiIPstreamImpl::init(), facePointPatch::initGeometry(), volPointInterpolation::interpolate(), pointZoneSet::invert(), faceZoneSet::invert(), cellZoneSet::invert(), Foam::invertManyToMany(), Foam::invertOneToMany(), IOList< T >::IOList(), isoSurface::isoSurface(), isoSurfaceCell::isoSurfaceCell(), dictionary::keys(), cell::labels(), noiseFFT::Ldelta(), facePointPatch::localPoints(), mapDistribute::mapDistribute(), fvMesh::mapFields(), boundaryMesh::markFaces(), triSurface::markZones(), PatchTools::markZones(), regExp::match(), Foam::matchPoints(), cellToFaceStencil::merge(), cellToCellStencil::merge(), Foam::mergePoints(), meshTriangulation::meshTriangulation(), engineValve::movingPatchIDs(), MRFZone::MRFZone(), objectRegistry::names(), IOobjectList::names(), surfaceFeatures::nearestSurfEdge(), polyBoundaryMesh::neighbourEdges(), cellCuts::nonAnchorPoints(), octreeDataFace::octreeDataFace(), dlLibraryTable::open(), CompactListList< T >::operator()(), Foam::operator>>(), processorPolyPatch::order(), cyclicPolyPatch::order(), noiseFFT::Pdelta(), phaseProperties::phaseProperties(), polyMesh::polyMesh(), Foam::polyMeshZipUpCells(), autoSnapDriver::preSmoothPatch(), Pstream::Pstream(), GTSsurfaceFormat< Face >::read(), functionObjectList::read(), STARCD::readBoundary(), STARCD::readCells(), Foam::readDir(), ReactingParcel< ParcelType >::readFields(), ReactingMultiphaseParcel< ParcelType >::readFields(), Foam::readList(), boundaryMesh::readTriSurface(), meshRefinement::refineCandidates(), triSurfaceMesh::regions(), searchableSurfaceCollection::regions(), searchableSphere::regions(), searchablePlate::regions(), searchablePlane::regions(), searchableCylinder::regions(), searchableBox::regions(), edgeMesh::regions(), PackedList< nBits >::reserve(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::reserve(), fieldAverage::resetFields(), mapDistribute::schedule(), searchableSurfaces::searchableSurfaces(), PackedList< nBits >::setCapacity(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::setCapacity(), fvMeshSubset::setCellSubset(), fvMeshSubset::setLargeCellSubset(), errorDrivenRefinement::setRefinement(), removePoints::setRefinement(), hexRef8::setRefinement(), duplicatePoints::setRefinement(), addPatchCellLayer::setRefinement(), refinementIterator::setRefinement(), boundaryCutter::setRefinement(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::setSize(), bufferedAccumulator< Type >::setSizes(), removePoints::setUnrefinement(), PackedList< nBits >::shrink(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink(), ParSortableList< Type >::sort(), Foam::sortedOrder(), UnsortedMeshedSurface< Face >::sortedZones(), MeshedSurface< Face >::stitchFaces(), PatchTools::subsetMap(), triSurface::subsetMeshMap(), surfacePatchIOList::surfacePatchIOList(), surfZoneIOList::surfZoneIOList(), MeshedSurface< Face >::triangulate(), triSurfaceTools::triangulate(), boundaryMesh::triangulate(), triSurfaceTools::triangulateFaceCentre(), boundaryMesh::triangulateLocal(), treeLeaf< Type >::trim(), Foam::uniqueOrder(), sampledTriSurfaceMesh::update(), sampledPatch::update(), edgeVertex::updateLabels(), faceZone::updateMesh(), polyMesh::updateMesh(), pointZoneSet::updateMesh(), faceZoneSet::updateMesh(), cellZoneSet::updateMesh(), removePoints::updateMesh(), addPatchCellLayer::updateMesh(), boundaryCutter::updateMesh(), cellToFaceStencil::validBoundaryFaces(), cellToCellStencil::validBoundaryFaces(), STARCD::writeSurface(), incompressible::RASModel::yPlus(), and RASModel::yPlus().

void clear (  )

Clear the list, i.e. set size to zero.

Reimplemented in DynamicList< T, SizeInc, SizeMult, SizeDiv >, PackedList< nBits >, SortableList< T >, DynamicField< T, SizeInc, SizeMult, SizeDiv >, MeshedSurface< Face >, UnsortedMeshedSurface< Face >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, DynamicList< word >, PackedList< 2 >, and MeshedSurface< face >.

Definition at line 397 of file List.C.

Referenced by parMetisDecomp::calcMetisDistributedCSR(), primitiveMesh::cellEdges(), primitiveMesh::cellPoints(), TRIsurfaceFormatCore::clear(), STLsurfaceFormatCore::clear(), MeshedSurfaceIOAllocator::clear(), SortableList< T >::clear(), PackedList< nBits >::clearStorage(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::clearStorage(), removePoints::countPointUsage(), Foam::duplicateOrder(), refinementSurfaces::findAllHigherIntersections(), triSurfaceMesh::findLineAll(), searchableSurfaceWithGaps::findLineAll(), searchableSurfaceCollection::findLineAll(), searchableSphere::findLineAll(), searchablePlate::findLineAll(), searchablePlane::findLineAll(), searchableCylinder::findLineAll(), searchableBox::findLineAll(), distributedTriSurfaceMesh::findLineAll(), searchableSurface::getField(), regExp::match(), mapDistribute::operator=(), STARCDsurfaceFormat< Face >::read(), FTRsurfaceFormat< Face >::read(), sampledSets::read(), probes::read(), boundaryMesh::readTriSurface(), surfMesh::removeZones(), fieldAverage::resetFields(), Foam::sortedOrder(), MeshedSurface< Face >::sortFacesAndStore(), MeshedSurface< Face >::transfer(), and MeshedSurface< Face >::triangulate().

void transfer ( List< T > &   a  )

Transfer the contents of the argument List into this list.

and annull the argument list.

Reimplemented in DynamicList< T, SizeInc, SizeMult, SizeDiv >, DynamicList< procPointList >, DynamicList< molecule * >, DynamicList< label >, DynamicList< splitCell8 >, DynamicList< string >, DynamicList< referredMolecule >, DynamicList< ParcelType * >, DynamicList< point >, DynamicList< face >, and DynamicList< word >.

Definition at line 408 of file List.C.

Referenced by pointZoneSet::addSet(), faceZoneSet::addSet(), cellZoneSet::addSet(), setToPointZone::applyToSet(), setToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), faceZoneToFaceZone::applyToSet(), setToCellZone::applyToSet(), decompositionMethod::calcCellCells(), polyDualMesh::calcFeatures(), CECCellToFaceStencil::CECCellToFaceStencil(), CFCCellToFaceStencil::CFCCellToFaceStencil(), removeFaces::compatibleRemoves(), CPCCellToFaceStencil::CPCCellToFaceStencil(), topoCellLooper::cut(), geomCellLooper::cut(), parMetisDecomp::decompose(), pointZoneSet::deleteSet(), faceZoneSet::deleteSet(), cellZoneSet::deleteSet(), mapDistribute::distribute(), fvMeshDistribute::distribute(), FECCellToFaceStencil::FECCellToFaceStencil(), triSurfaceMesh::findLineAll(), searchableBox::findLineAll(), genericFvPatchField< Type >::genericFvPatchField(), genericPointPatchField< Type >::genericPointPatchField(), IOList< T >::IOList(), triSurface::markZone(), PatchTools::markZone(), cellToFaceStencil::merge(), cellToCellStencil::merge(), MeshedSurface< Face >::MeshedSurface(), Field< Type >::operator=(), Foam::operator>>(), FTRsurfaceFormat< Face >::read(), STARCDsurfaceFormatCore::readPoints(), surfMesh::readUpdate(), edgeMesh::regions(), SortableList< T >::reverseSort(), hexRef8::setRefinement(), SortableList< T >::sort(), meshRefinement::splitMesh(), MeshedSurface< Face >::stitchFaces(), pointZoneSet::subset(), faceZoneSet::subset(), cellZoneSet::subset(), PackedList< nBits >::transfer(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::transfer(), MeshedSurface< Face >::triangulate(), dynamicRefineFvMesh::update(), directMappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), pointZoneSet::updateMesh(), faceZoneSet::updateMesh(), cellZoneSet::updateMesh(), localPointRegion::updateMesh(), hexRef8::updateMesh(), boundaryCutter::updateMesh(), and meshRefinement::updateMesh().

void transfer ( DynamicList< T, SizeInc, SizeMult, SizeDiv > &   a  )

Transfer the contents of the argument List into this list.

and annull the argument list.

Reimplemented in DynamicList< T, SizeInc, SizeMult, SizeDiv >.

Definition at line 423 of file List.C.

References DynamicList< T, SizeInc, SizeMult, SizeDiv >::clearStorage(), and DynamicList< T, SizeInc, SizeMult, SizeDiv >::shrink().

void transfer ( SortableList< T > &   a  )

Transfer the contents of the argument List into this list.

and annull the argument list.

Definition at line 435 of file List.C.

References SortableList< T >::shrink().

T & newElmt ( const label   i  ) [inline]

Return subscript-checked element of UList.

Definition at line 64 of file ListI.H.

References setSize().

void operator= ( const List< T > &   a  )
void operator= ( const SLList< T > &   lst  )

Assignment from SLList operator. Takes linear time.

Definition at line 494 of file List.C.

References SLListBase::begin(), SLListBase::end(), SLListBase::size(), and Foam::T().

void operator= ( const IndirectList< T > &   lst  )

Assignment from IndirectList operator. Takes linear time.

Definition at line 522 of file List.C.

References forAll, IndirectList< T >::size(), and Foam::T().

void operator= ( const UIndirectList< T > &   lst  )

Assignment from UIndirectList operator. Takes linear time.

Definition at line 541 of file List.C.

References forAll, UIndirectList< T >::size(), and Foam::T().

void operator= ( const BiIndirectList< T > &   lst  )

Assignment from BiIndirectList operator. Takes linear time.

Definition at line 560 of file List.C.

References forAll, BiIndirectList< T >::size(), and Foam::T().


Friends And Related Function Documentation

Istream& operator>> ( Istream &   ,
List< T > &    
) [friend]

Read List from Istream, discarding contents of existing List.

Referenced by List< T >::List().


The documentation for this class was generated from the following files:
  • src/OpenFOAM/containers/Lists/List/List.H
  • src/OpenFOAM/containers/Lists/List/List.C
  • src/OpenFOAM/containers/Lists/List/ListI.H
  • src/OpenFOAM/containers/Lists/List/ListIO.C