200 for (
const label celli : labels)
208 const label len = contents.
size();
212 for (label i=0; i < len; ++i)
214 if (contents.
test(i))
225 for (label i=0; i < len; ++i)
227 if (contents.
test(i))
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
label maxSize() const
The max row length used.
bool set(const Key &key)
Same as insert (no value to overwrite)
void resize(const label sz)
Resize the hash table for efficiency.
void clear()
Clear all entries from table.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
writeOption
Enumeration defining the write options.
readOption
Enumeration defining the read options.
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type set(const label i, bool val=true)
A bitSet::set() method for a list of bool.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type test(const label i) const
void size(const label n)
Older name for setAddressableSize.
A collection of cell labels.
virtual void distribute(const mapDistributePolyMesh &map)
Update any stored data for mesh redistribution.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
void distributeCellData(List< T > &values) const
Distribute list of cell data.
label nOldCells() const noexcept
Number of cells in mesh before distribution.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const labelList & reverseCellMap() const
Reverse cell map.
void updateMesh()
Update for new mesh topology.
Mesh consisting of general polyhedral cells.
Cell-face mesh analysis engine.
const vectorField & cellCentres() const
label nCells() const noexcept
Number of mesh cells.
void writeDebug() const
Debug write.
General set of labels of mesh quantity (points, cells, faces).
virtual void check(const label maxSize)
Check limits on addressable range.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.