141 for (
const label facei : labels)
151 for (label i=0; i < len; ++i)
153 if (contents.test(i))
179 for (
const label facei : labels)
187 const label len = contents.size();
191 for (label i=0; i < len; ++i)
193 if (contents.test(i))
204 for (label i=0; i < len; ++i)
206 if (contents.test(i))
217 const primitiveMesh&
mesh,
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
writeOption
Enumeration defining write preferences.
virtual void distribute(const mapDistributePolyMesh &map)
Update any stored data for mesh redistribution.
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.
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').
label nFaces() const noexcept
Number of mesh faces.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
void distributeFaceData(List< T > &values) const
Distribute list of face data.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
label nOldFaces() const noexcept
Number of faces in mesh before distribution.
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)
General set of labels of mesh quantity (points, cells, faces).
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
const vectorField & faceCentres() const
faceSet(const IOobject &io)
Construct from IOobject.
Mesh consisting of general polyhedral cells.
virtual void sync(const polyMesh &mesh)
Sync faceSet across coupled patches.
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...
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels.
const labelList & reverseFaceMap() const
Reverse face map.
readOption
Enumeration defining read preferences.