A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscript bounds checking, etc. More...
Classes | |
class | greater |
Greater function class that can be used for sorting. More... | |
class | less |
Less function class that can be used for sorting. More... | |
Public Types | |
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 std::reverse_iterator< iterator > | reverse_iterator |
Reverse iterator for reverse traversal of UList. More... | |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Reverse iterator for reverse traversal of constant UList. More... | |
Public Member Functions | |
UList () | |
Null constructor. More... | |
UList (T *__restrict__ v, label size) | |
Construct from components. More... | |
UList (const UList< T > &)=default | |
Copy construct. 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... | |
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... | |
const bool & | operator[] (const label i) const |
Static Public Member Functions | |
static const UList< T > & | null () |
Return a null UList. More... | |
Friends | |
class | List< T > |
Declare friendship with the List class. More... | |
class | SubList< T > |
Declare friendship with the SubList class. More... | |
Ostream & | operator (Ostream &, const UList< T > &) |
Istream & | operator>> (Istream &, UList< T > &) |
Read UList contents from Istream. Requires size to have been set. More... | |
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscript bounds checking, etc.
Storage is not allocated during construction or use but is supplied to the constructor as an argument. This type of list is particularly useful for lists that refer to parts of existing lists such as SubList.
typedef T value_type |
Type that can be used for storing into.
UList::value_type objects
typedef const T& const_reference |
Type that can be used for storing into.
constant UList::value_type objects
typedef label difference_type |
typedef const T* const_iterator |
typedef std::reverse_iterator<iterator> reverse_iterator |
typedef std::reverse_iterator<const_iterator> const_reverse_iterator |
|
inlinestatic |
|
inline |
Return the forward circular index, i.e. the next index.
which returns to the first at the end of the list
Definition at line 58 of file UListI.H.
Referenced by polygonTriangulate::angle(), face::area(), face::areaAndCentre(), face::areaAndCentreStabilised(), triSurfaceTools::calcInterpolationWeights(), pointMVCWeight::calcWeights(), tetOverlapVolume::cellCellOverlapMinDecomp(), tetOverlapVolume::cellCellOverlapVolumeMinDecomp(), tetOverlapVolume::cellVolumeMinDecomp(), Foam::meshCheck::checkCommonOrder(), MPLICface::cutFace(), primitiveMesh::faceEdges(), tetIndices::faceTriIs(), searchableSurfacesQueries::findNearest(), edgeFaceCirculator::getMinIndex(), combineFaces::getOutsideFace(), polygonTriangulate::nIntersections(), triSurfaceTools::otherEdges(), Foam::primitivePatchGetZones(), polygonTriangulate::randomPolygon(), mappedInternalPatchBase::samplePoints(), addPatchCellLayer::setRefinement(), createShellMesh::setRefinement(), meshRefinement::splitFaces(), syncTools::syncEdgeMap(), MeshedSurface< Face >::triangulate(), triSurfaceTools::triangulateFaceCentre(), patchEdgeFaceRegions::updateEdge(), and patchEdgeFaceRegions::updateFace().
|
inline |
Return the reverse circular index, i.e. the previous index.
which returns to the last at the beginning of the list
Definition at line 65 of file UListI.H.
Referenced by polygonTriangulate::angle(), pointMVCWeight::calcWeights(), Foam::meshCheck::checkCommonOrder(), MPLICface::cutFace(), faceCoupleInfo::faceCoupleInfo(), edgeFaceCirculator::getMinIndex(), and createShellMesh::setRefinement().
std::streamsize byteSize |
Return the binary size in number of characters of the UList.
if the element is a primitive type i.e. contiguous<T>() == true. Note that is of type streamsize since used in stream ops
Definition at line 100 of file UList.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::T().
Referenced by distributionMapBase::distribute(), globalIndex::gather(), PatchTools::gatherAndMerge(), Pstream::gatherList(), decomposedBlockData::gatherSlaveData(), List< T >::List(), Pstream::listCombineGather(), Pstream::listCombineScatter(), Foam::meshCheck::mergeAndWrite(), processorLduInterface::receive(), globalIndex::scatter(), Pstream::scatterList(), OFstreamCollator::write(), decomposedBlockData::writeBlocks(), and decomposedBlockData::writeData().
|
inline |
|
inline |
Return a pointer to the first data element,.
similar to the STL front() method and the string::data() method This can be used (with caution) when interfacing with C code
Definition at line 149 of file UListI.H.
Referenced by mappedInternalPatchBase::calcMapping(), mappedPatchBase::calcMapping(), cellEdgeAddressing::cOwns(), Foam::cwd(), structured::decompose(), decompositionMethod::decompose(), patchProbes::findElements(), RemoteData< Type >::smallestEqOp::operator()(), RemoteData< Type >::smallestFirstEqOp::operator()(), Foam::operator==(), cellsToCellsStabilisation::update(), and patchToPatchStabilisation::update().
|
inline |
Return the first element of the list.
Definition at line 114 of file UListI.H.
Referenced by preserveBafflesConstraint::add(), bladeModel::bladeModel(), Foam::meshCheck::checkFaceOrthogonality(), Foam::meshCheck::checkFacePyramids(), Foam::meshCheck::checkFaceSkewness(), Foam::meshCheck::checkFaceTets(), Foam::meshCheck::checkFaceWeights(), Foam::meshCheck::checkVolRatio(), TableReader< Type >::convertWrite(), meshRefinement::createZoneBaffles(), Distribution< Type >::cumulativeNormalised(), Distribution< Type >::cumulativeRaw(), DAC< ThermoType >::DAC(), pairPotential::energyTable(), masterUncollatedFileOperation::exists(), Foam::first(), pairPotential::forceTable(), Foam::triIntersect::generateLocations(), patchToPatch::intersectPatchQueue(), irregular::irregular(), phaseChange::Lfraction(), unintegrable::mean(), Distribution< Type >::median(), meshRefinement::mergeBaffles(), Distribution< Type >::normalised(), procLess::operator()(), Foam::operator<(), Foam::operator<<(), Foam::operator==(), Foam::operator>>(), coupledPolyPatch::order(), ParticleCollector< CloudType >::ParticleCollector(), SprayCloud< CloudType >::penetration(), unintegrable::Phi01(), unintegrableForNonZeroQ::Phi01(), BSpline::position(), CatmullRomSpline::position(), Distribution< Type >::raw(), timeControl::read(), Foam::readConfigFile(), Foam::reverse(), primitiveEntry::startLineNumber(), tabulatedCumulative::tabulatedCumulative(), thirdBodyEfficiencies::thirdBodyEfficiencies(), TriPatchIntersection< SrcPatchType, TgtPatchType >::TriPatchIntersection(), linearInterpolationWeights::valueWeights(), stepInterpolationWeights::valueWeights(), populationBalanceSizeDistribution::write(), SizeDistribution< CloudType >::write(), Distribution< Type >::write(), ensightSetWriter::write(), thirdBodyEfficiencies::write(), tabulatedCumulative::write(), tabulatedDensity::write(), pairPotential::writeEnergyAndForceTables(), and residuals::writeResidual().
|
inline |
Return the last element of the list.
Definition at line 128 of file UListI.H.
Referenced by eagerGAMGProcAgglomeration::agglomerate(), manualGAMGProcAgglomeration::agglomerate(), masterCoarsestGAMGProcAgglomeration::agglomerate(), procFacesGAMGProcAgglomeration::agglomerate(), polyLine::calcParam(), Foam::cutPoly::cellCuts(), MeshedSurface< Face >::checkZones(), surfMesh::checkZones(), processorLduInterface::compressedReceive(), processorLduInterface::compressedSend(), hexRef8::consistentSlowRefinement(), cutPolyIsoSurface::cutPolyIsoSurface(), decompositionMethod::decompositionMethod(), face::edges(), edgeSurface::edgeSurface(), primitiveEntry::endLineNumber(), Foam::cutPoly::faceCuts(), waveSpectrum::fFraction(), Time::findClosestTime(), searchableBox::findLineAll(), searchableExtrudedCircle::findParametricNearest(), globalIndex::gather(), Foam::triIntersect::generateLocations(), FreeStream< CloudType >::inflow(), linearInterpolationWeights::integrationWeights(), stepInterpolationWeights::integrationWeights(), irregular::irregular(), lduPrimitiveMesh::lduPrimitiveMesh(), nonConformalMappedFvPatchBase::map(), unintegrable::mean(), phaseInterface::nameToNameParts(), SprayCloud< CloudType >::penetration(), unintegrable::Phi01(), unintegrableForNonZeroQ::Phi01(), fvMesh::polyBFacePatches(), Foam::polyMeshZipUpCells(), BSpline::position(), CatmullRomSpline::position(), projectCurveEdge::position(), projectEdge::position(), GAMGAgglomeration::procAgglomerateRestrictAddressing(), collatedFileOperation::processorsDir(), nonConformalMappedPolyFacesFvsPatchLabelField::procSizes(), projectFace::project(), timeControl::read(), ITstream::read(), refinementHistory::refinementHistory(), Time::setControls(), specieCoeffs::setLRhs(), addPatchCellLayer::setRefinement(), createShellMesh::setRefinement(), tabulatedCumulative::tabulatedCumulative(), tabulatedDensity::tabulatedDensity(), linearInterpolationWeights::valueWeights(), stepInterpolationWeights::valueWeights(), populationBalanceSizeDistribution::write(), SizeDistribution< CloudType >::write(), tabulatedCumulative::write(), and regIOobject::writeObject().
|
inline |
Check start is within valid range (0 ... size-1)
Definition at line 72 of file UListI.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::max().
Referenced by SubList< T >::SubList().
|
inline |
Check size is within valid range (0 ... size)
Definition at line 84 of file UListI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by SubList< Type >::null(), and SubList< T >::SubList().
|
inline |
Check index i is within valid range (0 ... size-1)
Definition at line 96 of file UListI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Copy the pointer held by the given UList.
Definition at line 156 of file UListI.H.
Referenced by FvFaceCellWave< Type, TrackingData >::cellToFace(), SlicedDimensionedField< Type, GeoMesh >::SlicedDimensionedField(), slicedFvPatchField< Type >::slicedFvPatchField(), slicedFvsPatchField< Type >::slicedFvsPatchField(), SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField(), SlicedDimensionedField< Type, GeoMesh >::~SlicedDimensionedField(), slicedFvPatchField< Type >::~slicedFvPatchField(), slicedFvsPatchField< Type >::~slicedFvsPatchField(), and SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::~SlicedGeometricField().
Copy elements of the given UList.
Definition at line 35 of file UList.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, List_ACCESS, List_CONST_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().
Referenced by UPstream::allToAll(), and SubList< Type >::operator=().
Return element of UList.
Definition at line 167 of file UListI.H.
Referenced by triSurfaceMesh::boundingSpheres(), directions::directions(), patchProbes::findElements(), probes::findElements(), triSurfaceMesh::getRegion(), distributedTriSurfaceMesh::getRegion(), hashedWordList::hashedWordList(), sortLabelledTri::indices(), List< T >::List(), mixture::mixture(), hashedWordList::operator[](), interpolationLookUpTable::operator[](), PackedList< nBits >::printBits(), probes::probe(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::remove(), DynamicField< T, SizeInc, SizeMult, SizeDiv >::remove(), sortLabelledTri::sortLabelledTri(), and thirdBodyEfficiencies::thirdBodyEfficiencies().
|
inline |
Assignment of all entries to the given value.
Definition at line 68 of file UList.C.
References List_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().
void operator= | ( | const | zero | ) |
Assignment of all entries to zero.
Definition at line 78 of file UList.C.
References List_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, Foam::T(), and Foam::Zero.
|
inline |
Return an iterator to begin traversing the UList.
Definition at line 216 of file UListI.H.
Referenced by UPstream::allToAll(), LduMatrix< Type, DType, LUType >::Amul(), lduMatrix::Amul(), UPtrList< T >::begin(), TDILUPreconditioner< Type, DType, LUType >::calcInvD(), DICPreconditioner::calcReciprocalD(), DILUPreconditioner::calcReciprocalD(), UPtrList< T >::cbegin(), distributionMapBase::compact(), processorLduInterface::compressedReceive(), processorLduInterface::compressedSend(), triSurfaceTools::delaunay2D(), diagonalPreconditioner::diagonalPreconditioner(), DiagonalPreconditioner< Type, DType, LUType >::DiagonalPreconditioner(), distributionMapBase::distribute(), FDICPreconditioner::FDICPreconditioner(), FDICSmoother::FDICSmoother(), decomposedBlockData::gather(), globalIndex::gather(), Pstream::gatherList(), decomposedBlockData::gatherSlaveData(), LduMatrix< Type, DType, LUType >::H(), lduMatrix::H(), lduMatrix::H1(), Pstream::listCombineGather(), Pstream::listCombineScatter(), UList< T >::operator<(), DiagonalPreconditioner< Type, DType, LUType >::precondition(), TDILUPreconditioner< Type, DType, LUType >::precondition(), diagonalPreconditioner::precondition(), DICPreconditioner::precondition(), DILUPreconditioner::precondition(), FDICPreconditioner::precondition(), noPreconditioner::precondition(), TDILUPreconditioner< Type, DType, LUType >::preconditionT(), DILUPreconditioner::preconditionT(), ITstream::print(), masterUncollatedFileOperation::readAndSend(), decomposedBlockData::readMasterHeader(), processorLduInterface::receive(), LduMatrix< Type, DType, LUType >::residual(), lduMatrix::residual(), ODESolver::resizeField(), globalIndex::scatter(), Pstream::scatterList(), processorLduInterface::send(), TGaussSeidelSmoother< Type, DType, LUType >::smooth(), nonBlockingGaussSeidelSmoother::smooth(), GaussSeidelSmoother::smooth(), symGaussSeidelSmoother::smooth(), DICSmoother::smooth(), DILUSmoother::smooth(), FDICSmoother::smooth(), PBiCCCG< Type, DType, LUType >::solve(), PBiCICG< Type, DType, LUType >::solve(), PCICG< Type, DType, LUType >::solve(), PBiCG::solve(), PBiCGStab::solve(), PCG::solve(), Foam::sort(), Foam::stableSort(), LduMatrix< Type, DType, LUType >::sumA(), lduMatrix::sumA(), TGaussSeidelSmoother< Type, DType, LUType >::TGaussSeidelSmoother(), LduMatrix< Type, DType, LUType >::Tmul(), lduMatrix::Tmul(), fft::transform(), ensightBinaryStream::write(), OFstreamCollator::write(), decomposedBlockData::writeBlocks(), and masterOFstream::~masterOFstream().
|
inline |
Return an iterator to end traversing the UList.
Definition at line 224 of file UListI.H.
Referenced by UPtrList< T >::cend(), twoDPointCorrector::correctPoints(), Foam::meshTools::edgeToCutDir(), UPtrList< T >::end(), Foam::meshTools::getParallelEdges(), fileOperation::mergeTimes(), UList< T >::operator<(), Foam::polyMeshZipUpCells(), Foam::sort(), extendedEdgeMesh::sortPointsAndEdges(), fileOperation::sortTimes(), and Foam::stableSort().
|
inline |
Return const_iterator to begin traversing the constant UList.
Definition at line 232 of file UListI.H.
Referenced by decomposedBlockData::writeData().
|
inline |
|
inline |
|
inline |
|
inline |
Return reverse_iterator to begin reverse traversing the UList.
Definition at line 264 of file UListI.H.
Referenced by ITstream::print().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Return the number of elements in the UList.
Definition at line 311 of file UListI.H.
Referenced by fvMatrix< Type >::addToInternalField(), MeshedSurface< Face >::addZones(), pairGAMGAgglomeration::agglomerate(), GAMGAgglomeration::agglomerateLduAddressing(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), UPstream::allToAll(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), List< T >::append(), DynamicField< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::average(), coupledPolyPatch::calcFaceTol(), symmetryPlanePolyPatch::calcGeometry(), wedgePolyPatch::calcGeometry(), viewFactor::calculate(), Foam::cutPoly::cellCuts(), cellEdgeAddressingData::cellEdgeAddressingData(), FixedList< label, 6 >::cend(), Foam::meshCheck::checkGeometry(), hexRef8::checkMesh(), Foam::checkNonConformalCoupledPatchOrdering(), GAMGAgglomeration::checkRestriction(), Foam::meshCheck::checkTopology(), ORourkeCollision< CloudType >::collide(), GAMGAgglomeration::compactLevels(), globalMeshData::coupledPatch(), Keyed< T >::createList(), directions::directions(), Foam::duplicateOrder(), HashTable< T, Key, Hash >::erase(), Pstream::exchange(), regionSizeDistribution::extractData(), FaceCellWave< Type, TrackingData >::FaceCellWave(), LduMatrix< Type, DType, LUType >::faceH(), lduMatrix::faceH(), patchProbes::findElements(), Foam::meshCheck::findOppositeWedge(), FixedList< T, Size >::FixedList(), distributionMapBase::flipAndCombine(), FreeStream< CloudType >::FreeStream(), meshRefinement::gAverage(), FaceCellWave< Type, TrackingData >::handleCyclicPatches(), FaceCellWave< Type, TrackingData >::handleProcPatches(), HashTable< T, Key, Hash >::HashTable(), Foam::Im(), Foam::ImComplexField(), coupledPolyPatch::initOrder(), Foam::inplaceSubset(), surfaceInterpolationScheme< scalar >::interpolate(), lduPrimitiveMesh::lduPrimitiveMesh(), meshRefinement::makePatch(), Foam::matchPoints(), MeshedSurface< face >::MeshedSurface(), LduMatrix< Type, DType, LUType >::negSumDiag(), lduMatrix::negSumDiag(), polyPatch::New(), Foam::operator<<(), PackedBoolList::operator=(), PackedList< nBits >::operator=(), BiIndirectList< T >::operator=(), UIndirectList< T >::operator=(), coupledPolyPatch::order(), pairPatchAgglomeration::pairPatchAgglomeration(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::PatchEdgeFaceWave(), mappedExtrudedPatchBase::patchFaceAreas(), nonConformalBoundary::patchPointOwnerOrigBoundaryPoints(), polyPatch::patchSlice(), patchZones::patchZones(), PointEdgeWave< Type, TrackingData >::PointEdgeWave(), Foam::polyMeshUnMergeCyclics(), Polynomial< PolySize >::Polynomial(), star::populate(), Foam::primitivePatchGetHalves(), Foam::primitivePatchGetZones(), fvMeshDistribute::printMeshInfo(), Foam::Re(), repatchMesh::read(), ensightParts::recalculate(), Foam::ReComplexField(), Foam::ReImSum(), ensightPart::renumber(), PtrList< T >::reorder(), UPtrList< T >::reorder(), Foam::repeat(), Foam::reverse(), patchInjectionBase::setPositionAndCell(), perfectInterface::setRefinement(), CompactListList< T >::setSize(), UnsortedMeshedSurface< Face >::setZones(), PtrList< T >::shuffle(), UPtrList< T >::shuffle(), fvPatch::size(), Foam::sortedOrder(), Foam::subset(), fvMatrix< Type >::subtractFromInternalField(), Foam::sumCmptProd(), LduMatrix< Type, DType, LUType >::sumDiag(), lduMatrix::sumDiag(), LduMatrix< Type, DType, LUType >::sumMagOffDiag(), lduMatrix::sumMagOffDiag(), Foam::sumProd(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncFaceList(), meshRefinement::testSyncBoundaryFaceList(), FreeStream< CloudType >::topoChange(), patchInjectionBase::topoChange(), Foam::transform(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), UnsortedMeshedSurface< Face >::UnsortedMeshedSurface(), patch::update(), patchToPatchStabilisation::update(), movingWallVelocityFvPatchVectorField::updateCoeffs(), polyBoundaryMesh::whichPatch(), decomposedBlockData::writeBlocks(), ensightPartFaces::writeConnectivity(), VTKedgeFormat::writeEdges(), ensightPart::writeField(), WRLsurfaceFormatCore::writeHeader(), OFSsurfaceFormatCore::writeHeader(), AC3DsurfaceFormatCore::writeHeader(), Foam::meshTools::writeOBJ(), ensightPart::writeScalarField(), VTKsurfaceFormatCore::writeTail(), and ensightPart::writeVectorField().
|
inline |
|
inline |
Return true if the UList is empty (ie, size() is zero)
Definition at line 325 of file UListI.H.
Referenced by dynamicIndexedOctree< Type >::bb(), indexedOctree< Type >::bb(), boundBox::boundBox(), cellMapper::cellMapper(), triSurface::checkEdges(), Foam::meshCheck::checkPoints(), Foam::meshCheck::checkTopology(), boundBox::contains(), boundBox::containsAny(), dynamicCode::copyOrCreateFiles(), hexCellLooper::cut(), edgeSurface::edgeSurface(), primitiveEntry::endLineNumber(), fieldsExpression::execute(), faceMapper::faceMapper(), searchableSurfacesQueries::findAllIntersections(), Foam::findEtcFiles(), triSurfaceRegionSearch::findNearest(), searchableSurfacesQueries::findNearest(), Foam::triIntersect::generateLocations(), Distribution< Type >::index(), cyclicPolyPatch::initOrder(), intersectedSurface::intersectedSurface(), patchToPatch::intersectPatches(), Foam::inv(), LocalInteraction< CloudType >::LocalInteraction(), triSurface::markZone(), PatchTools::markZone(), Distribution< Type >::normalised(), dlLibraryTable::open(), cyclicPolyPatch::order(), triSurfaceMesh::overlaps(), ParticleErosion< CloudType >::ParticleErosion(), PatchPostProcessing< CloudType >::PatchPostProcessing(), polyBoundaryMesh::patchSet(), pointMapper::pointMapper(), Distribution< Type >::raw(), repatchMesh::readTriSurface(), edgeIntersections::removeDegenerates(), timeSelector::select0(), seriesProfile::seriesProfile(), specieCoeffs::setLRhs(), fieldsExpression::setResultName(), combineFaces::setUnrefinement(), SingleKineticRateDevolatilisation< CloudType >::SingleKineticRateDevolatilisation(), primitiveEntry::startLineNumber(), surfaceIntersection::surfaceIntersection(), Cloud< ParticleType >::topoChange(), probes::topoChange(), treeBoundBox::treeBoundBox(), walkPatch::walkPatch(), and writeObjectsBase::write().
Swap two ULists of the same type in constant time.
Definition at line 90 of file UList.C.
References Foam::Swap().
Equality operation on ULists of the same type.
Returns true when the ULists are element-wise equal (using UList::value_type::operator==). Takes linear time
Definition at line 145 of file UList.C.
References Foam::equal(), List_CONST_ACCESS, List_ELEM, List_END_FOR_ALL, List_FOR_ALL, and Foam::T().
Referenced by labelRanges::const_iterator::operator!=().
The opposite of the equality operation. Takes linear time.
Definition at line 166 of file UList.C.
References Foam::operator==().
Compare two ULists lexicographically. Takes linear time.
Definition at line 173 of file UList.C.
References UList< T >::begin(), and UList< T >::end().
Compare two ULists lexicographically. Takes linear time.
Definition at line 204 of file UList.C.
References UList< T >::operator.
Return true if !(a > b). Takes linear time.
Definition at line 211 of file UList.C.
References Foam::operator>().
Return true if !(a < b). Takes linear time.
Definition at line 218 of file UList.C.
References Foam::operator<().