61 Foam::cellSet::cellSet
76 Foam::cellSet::cellSet
80 const label initialCapacity,
88 Foam::cellSet::cellSet
100 Foam::cellSet::cellSet
112 Foam::cellSet::cellSet
124 Foam::cellSet::cellSet
137 Foam::cellSet::cellSet
153 Foam::cellSet::cellSet
157 const label initialCapacity,
169 Foam::cellSet::cellSet
200 reader.readIOcontents(typeName, labels);
227 for (
const label celli : labels)
235 const label len = contents.size();
239 for (label i=0; i < len; ++i)
241 if (contents.test(i))
252 for (label i=0; i < len; ++i)
254 if (contents.test(i))
265 const primitiveMesh&
mesh,
writeOption
Enumeration defining write preferences.
virtual void distribute(const mapDistributePolyMesh &map)
Update any stored data for mesh redistribution.
label nOldCells() const noexcept
Number of cells in mesh before distribution.
virtual void writeDebug(Ostream &os, const primitiveMesh &, const label maxLen) const
Write maxLen items with label and coordinates.
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 to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Macros for easy insertion into run-time selection tables.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
defineTypeName(manifoldCellsMeshObject)
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)
virtual label maxSize(const polyMesh &mesh) const
Return max index+1.
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.
const labelList & reverseCellMap() const noexcept
Reverse cell map.
void distributeCellData(List< T > &values) const
Distribute list of cell data.
const vectorField & cellCentres() const
static labelHashSet readContents(const polyMesh &mesh, const word &name)
Read and return contents. Intermediate IOobject is not registered.
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)
General set of labels of mesh quantity (points, cells, faces).
registerOption
Enumeration for use with registerObject(). Values map to bool (false/true)
label nCells() const noexcept
Number of mesh cells.
A collection of cell labels.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Mesh consisting of general polyhedral cells.
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...
Do not request registration (bool: false)
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)
readOption
Enumeration defining read preferences.