141 for (
const label pointi : labels)
143 contents.
set(pointi);
152 for (label pointi=0; pointi < len; ++pointi)
154 if (contents.
test(pointi))
180 for (
const label pointi : labels)
182 contents.
set(pointi);
188 const label len = contents.
size();
192 for (label i=0; i < len; ++i)
194 if (contents.
test(i))
206 for (label i=0; i < len; ++i)
208 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,...
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.
void sync()
Do all: synchronise all IOFields and objectRegistry.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
void distributePointData(List< T > &values) const
Distribute list of point data.
label nOldPoints() const noexcept
Number of points in mesh before distribution.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const labelList & reversePointMap() const
Reverse point map.
void updateMesh()
Update for new mesh topology.
virtual void distribute(const mapDistributePolyMesh &)
Update any stored data for mesh redistribution.
Mesh consisting of general polyhedral cells.
virtual const pointField & points() const
Return raw points.
Cell-face mesh analysis engine.
label nPoints() const noexcept
Number of mesh points.
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.