void writeDebug(Ostream &os, const label maxElem, topoSet::const_iterator &iter, label &elemI) const
Write part of contents nicely formatted. Prints labels only.
static fileName localPath(const polyMesh &mesh, const word &name)
Name of file set will use.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
A class for handling words, derived from string.
A class for handling file names.
void operator=(const topoSet &)
Copy labelHashSet part only.
topoSet(const topoSet &)
Disallow default bitwise copy construct.
An STL-conforming const_iterator.
virtual void deleteSet(const topoSet &set)
Delete elements present in set.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.
static autoPtr< topoSet > New(const word &setType, const polyMesh &mesh, const word &name, readOption r=MUST_READ, writeOption w=NO_WRITE)
Return a pointer to a toposet read from file.
virtual void invert(const label maxLen)
Invert contents. (insert all members 0..maxLen-1 which were not in.
Mesh consisting of general polyhedral cells.
virtual void addSet(const topoSet &set)
Add elements present in set.
autoPtr< topoSet > clone() const
Clone.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
void check(const label maxLabel)
Check validity of contents.
virtual void updateMesh(const mapPolyMesh &morphMap)
Update any stored data for new labels. Not implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
declareRunTimeSelectionTable(autoPtr, topoSet, word,(const polyMesh &mesh, const word &name, readOption r, writeOption w),(mesh, name, r, w))
writeOption
Enumeration defining the write options.
const word & name() const
Return name.
General set of labels of mesh quantity (points, cells, faces).
virtual label maxSize(const polyMesh &mesh) const =0
Return max allowable index (+1). Not implemented.
label size() const
Return number of elements in table.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
void updateLabels(const labelList &map)
Update map from map. Used to update cell/face labels.
virtual bool writeData(Ostream &) const
Write contents.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
TypeName("topoSet")
Runtime type information.
readOption
Enumeration defining the read options.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void sync(const polyMesh &mesh)
Sync set across coupled patches.
virtual ~topoSet()
Destructor.
bool set(const Key &key)
Same as insert (cannot overwrite nil content)
Cell-face mesh analysis engine.