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,
void operator=(const topoSetSource &)=delete
Disallow default bitwise assignment.
topoSetSource(const polyMesh &mesh)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
declareRunTimeSelectionTable(autoPtr, topoSetSource, word,(const polyMesh &mesh, const dictionary &dict),(mesh, dict))
virtual sourceType setType() const =0
iNew(const polyMesh &mesh)
void addOrDelete(topoSet &set, const label celli, const bool) const
Add (if bool) celli to set or delete celli from set.
Base class of a source for a topoSet.
const polyMesh & mesh() const
Class used for the read-construction of.
A class for handling words, derived from string.
setAction
Enumeration defining the valid actions.
TypeName("topoSetSource")
Runtime type information.
autoPtr< topoSetSource > clone() const
Clone.
General set of labels of mesh quantity (points, cells, faces).
static autoPtr< topoSetSource > New(const word &topoSetSourceType, const polyMesh &mesh, const dictionary &dict)
Return a reference to the selected topoSetSource.
autoPtr< topoSetSource > operator()(Istream &is) const
virtual ~topoSetSource()
Destructor.
sourceType
Enumeration defining the types of sources.
static setAction toAction(const word &actionName)
Convert string to action.
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.
Macros to ease declaration of run-time selection tables.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual void applyToSet(const setAction action, topoSet &) const =0