38 #ifndef topoSetSource_H
39 #define topoSetSource_H
110 static const string illegalSource_;
124 return actionNames_[actionName];
159 word topoSetSourceType(is);
187 const word& topoSetSourceType,
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
Class used for the read-construction of.
autoPtr< topoSetSource > operator()(Istream &is) const
iNew(const polyMesh &mesh)
Base class of a source for a topoSet.
autoPtr< topoSetSource > clone() const
Clone.
virtual sourceType setType() const =0
void addOrDelete(topoSet &set, const label celli, const bool) const
Add (if bool) celli to set or delete celli from set.
sourceType
Enumeration defining the types of sources.
static setAction toAction(const word &actionName)
Convert string to action.
virtual void applyToSet(const setAction action, topoSet &) const =0
setAction
Enumeration defining the valid actions.
void operator=(const topoSetSource &)=delete
Disallow default bitwise assignment.
declareRunTimeSelectionTable(autoPtr, topoSetSource, word,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
topoSetSource(const polyMesh &mesh)
Construct from components.
virtual ~topoSetSource()
Destructor.
static autoPtr< topoSetSource > New(const word &topoSetSourceType, const polyMesh &mesh, const dictionary &dict)
Return a reference to the selected topoSetSource.
TypeName("topoSetSource")
Runtime type information.
const polyMesh & mesh() const
General set of labels of mesh quantity (points, cells, faces).
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.
Macros to ease declaration of run-time selection tables.