54 class polyTopoChangeMap;
179 const word& wantedType,
bool set(const label &key)
Same as insert (cannot overwrite nil content)
An STL-conforming const_iterator.
label size() const
Return number of elements in table.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
readOption
Enumeration defining the read options.
const word & name() const
Return name.
writeOption
Enumeration defining the write options.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for handling file names.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Cell-face mesh analysis engine.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
General set of labels of mesh quantity (points, cells, faces).
virtual void deleteSet(const topoSet &set)
Delete elements present in set.
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.
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.
void operator=(const topoSet &)
Copy labelHashSet part only.
void check(const label maxLabel)
Check validity of contents.
virtual void topoChange(const polyTopoChangeMap &map)
Update any stored data for new labels. Not implemented.
virtual void subset(const topoSet &set)
Subset contents. Only elements present in both sets remain.
void updateLabels(const labelList &map)
Update map from map. Used to update cell/face labels.
topoSet(const IOobject &, const word &wantedType)
Construct from IOobject as explicitly passed type.
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.
TypeName("topoSet")
Runtime type information.
virtual bool writeData(Ostream &) const
Write contents.
virtual ~topoSet()
Destructor.
static fileName localPath(const polyMesh &mesh, const word &name)
Name of file set will use.
declareRunTimeSelectionTable(autoPtr, topoSet, word,(const polyMesh &mesh, const word &name, readOption r, writeOption w),(mesh, name, r, w))
autoPtr< topoSet > clone() const
Clone.
virtual void invert(const label maxLen)
Invert contents. (insert all members 0..maxLen-1 which were not in.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently 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.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...