79 const label initialCapacity,
150 reader.readIOcontents(typeName, labels);
170 for (
const label facei : labels)
180 for (label i=0; i < len; ++i)
182 if (contents.
test(i))
208 for (
const label facei : labels)
216 const label len = contents.
size();
220 for (label i=0; i < len; ++i)
222 if (contents.
test(i))
233 for (label i=0; i < len; ++i)
235 if (contents.
test(i))
246 const primitiveMesh&
mesh,
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
writeOption
Enumeration defining write preferences.
void size(const label n)
Older name for setAddressableSize.
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.
const labelList & reverseFaceMap() const noexcept
Reverse face map.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
defineTypeName(manifoldCellsMeshObject)
void distributeFaceData(List< T > &values) const
Distribute list of face data.
static IOobject findIOobject(const polyMesh &mesh, const word &name, IOobjectOption::readOption rOpt=IOobjectOption::MUST_READ, IOobjectOption::writeOption wOpt=IOobjectOption::NO_WRITE, IOobjectOption::registerOption reg=IOobjectOption::LEGACY_REGISTER)
Find IOobject in the polyMesh/sets/ (used as constructor helper)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
label nOldFaces() const noexcept
Number of faces in mesh before distribution.
label writeDebug(Ostream &os, const label maxElem, labelHashSet::const_iterator &iter) const
Write part of contents nicely formatted.
OBJstream os(runTime.globalPath()/outputName)
static void check(const int retVal, const char *what)
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type test(const label i) const
Test bool value at specified position, always false for out-of-range access.
General set of labels of mesh quantity (points, cells, faces).
registerOption
Enumeration for use with registerObject(). Values map to bool (false/true)
const vectorField & faceCentres() const
static labelHashSet readContents(const polyMesh &mesh, const word &name)
Read and return contents. Intermediate IOobject is not registered.
faceSet(const IOobject &io)
Construct from IOobject. No checking.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
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.
Do not request registration (bool: false)
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
readOption
Enumeration defining read preferences.