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))
219 const primitiveMesh&
mesh,
writeOption
Enumeration defining write preferences.
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
const labelList & reversePointMap() const
Reverse point map.
label nPoints() const noexcept
Number of mesh points.
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.
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
void set(List< bool > &bools, const labelUList &locations)
Set the listed locations (assign 'true').
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
virtual const pointField & points() const
Return raw points.
label nOldPoints() const noexcept
Number of points in mesh before distribution.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
void writeDebug(Ostream &os, const label maxElem, topoSet::const_iterator &iter, label &elemI) const
Write part of contents nicely formatted. Prints labels only.
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
static void check(const int retVal, const char *what)
virtual void distribute(const mapDistributePolyMesh &)
Update any stored data for mesh redistribution.
General set of labels of mesh quantity (points, cells, faces).
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
void distributePointData(List< T > &values) const
Distribute list of point data.
Mesh consisting of general polyhedral cells.
virtual void sync(const polyMesh &mesh)
Sync set across coupled patches. Adds coupled points to set.
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Defines the attributes of an object for which implicit objectRegistry management is supported...
pointSet(const IOobject &io)
Construct from IOobject.
readOption
Enumeration defining read preferences.