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