Foam::HashTableOps Namespace Reference

Various operations for HashTable. More...

Classes

struct  plusEqOp
 Combine HashTable operation. Equivalent to 'a += b'. More...
 

Functions

template<class T , class Key , class Hash >
List< Tvalues (const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
 List of values from HashTable, optionally sorted. More...
 

Detailed Description

Various operations for HashTable.

Source files

Function Documentation

◆ values()

List<T> Foam::HashTableOps::values ( const HashTable< T, Key, Hash > &  tbl,
const bool  doSort = false 
)

List of values from HashTable, optionally sorted.

Definition at line 164 of file HashOps.H.

References forAllConstIters(), Foam::output(), HashTable< T, Key, Hash >::size(), and Foam::sort().

Referenced by mapDistributeBase::accessAndFlip(), Pstream::allGatherList(), fvPatch::boundarySlice(), faPatch::boundarySlice(), polyPatch::boundarySlice(), globalIndex::calcListOffsets(), globalIndex::calcOffsets(), globalIndex::calcRanges(), Foam::BitSetOps::create(), mapDistributeBase::distribute(), mapDistributePolyMesh::distributeCellData(), mapDistributePolyMesh::distributeFaceData(), mapDistributePolyMesh::distributePatchData(), mapDistributePolyMesh::distributePointData(), seriesProfile::evaluateDrag(), seriesProfile::evaluateLift(), Foam::extractValues(), surfaceFieldValue::filterField(), fieldSelection::filters(), Foam::FOAM_DEPRECATED_FOR(), Pstream::gatherList(), meshRefinement::gAverage(), searchableSurfaceCollection::getField(), searchableSurfaceWithGaps::getField(), triSurfaceMesh::getField(), searchableSurface::getField(), distributedTriSurfaceMesh::getField(), isoSurfacePoint::interpolate(), lookupProfile::interpolateWeights(), bladeModel::interpolateWeights(), Pstream::listCombineAllGather(), Pstream::listCombineGather(), Pstream::listCombineReduce(), Pstream::listCombineScatter(), globalIndex::localSizes(), CompactListList< T >::localSizes(), Pstream::mapCombineAllGather(), Pstream::mapCombineGather(), Pstream::mapCombineReduce(), Pstream::mapCombineScatter(), csvTableReader< Type >::operator()(), PackedList< 2 >::PackedList(), fvPatch::patchSlice(), faPatch::patchSlice(), polyPatch::patchSlice(), ensightCase::printTimeset(), Foam::printTimingDetail(), surfaceFieldValue::processSameTypeValues(), volFieldValue::processValues(), surfaceFieldValue::processValues(), globalIndex::ranges(), CompactListList< T >::ranges(), Helmholtz::regularise(), profilingPstream::report(), SortList< T >::reset(), mapDistributeBase::reverseDistribute(), SortList< T >::reverseSort(), patchProbes::sample(), probes::sample(), sampledMeshedSurface::sampleOnFaces(), sampledPatch::sampleOnFaces(), sampledSurface::sampleOnFaces(), sampledFaceZone::sampleOnFaces(), sampledPatchInternalField::sampleOnFaces(), sampledSurface::sampleOnPoints(), sampledPatch::sampleOnPoints(), sampledFaceZone::sampleOnPoints(), sampledMeshedSurface::sampleOnPoints(), Pstream::scatterList(), fieldSelection::selectionNames(), updateMethod::setConstraintValues(), searchableSurfaceCollection::setField(), searchableSurfaceWithGaps::setField(), triSurfaceMesh::setField(), faMatrix< Type >::setReferences(), fvMatrix< Type >::setReferences(), regularisationPDE::setValues(), faMatrix< Type >::setValues(), fvMatrix< Type >::setValues(), faMatrix< Type >::setValuesFromList(), fvMatrix< Type >::setValuesFromList(), Random::shuffle(), SortList< T >::sort(), Foam::splitStringToList(), surfMesh::storeField(), polySurface::storeField(), mappedPatchBase::storeField(), sampledSurface::storeRegistryField(), probes::storeResults(), IndirectList< T >::subset(), IndirectList< T >::subset_if(), IndirectList< T >::uniq(), SortList< T >::uniqueSort(), trackingInverseDistance::update(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), cuttingSurfaceBase::walkCellCuts(), sizeDistribution::write(), rotorDiskSource::writeField(), vtkCloud::writeFields(), Foam::ensightOutput::Detail::writeLabelListList(), coordSetWriter::writeLine(), Foam::vtk::writeList(), Foam::vtk::writeListParallel(), Foam::vtk::writeLists(), particle< Type >::writeProperty(), coordSetWriter::writeTable(), nastranWriter::writeTemplate(), rawWriter::writeTemplate(), xmgraceWriter::writeTemplate(), starcdWriter::writeTemplate(), gnuplotWriter::writeTemplate(), csvWriter::writeTemplate(), abaqusWriter::writeTemplate(), x3dWriter::writeTemplate(), ensightWriter::writeTemplate(), vtkWriter::writeTemplate(), gltfWriter::writeTemplate(), Foam::vtk::writeValueParallel(), volFieldValue::writeValues(), surfaceFieldValue::writeValues(), and Foam::ensightOutput::writeVolField().

Here is the call graph for this function: