35 #ifndef polyMeshModifier_H 36 #define polyMeshModifier_H 54 class polyTopoChanger;
61 class polyMeshModifier;
63 Ostream&
operator<<(Ostream&,
const polyMeshModifier&);
108 (name, dict, index, mme)
virtual void writeDict(Ostream &) const =0
Write dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void disable() const
Activate mesh modifier.
polyMeshModifier(const word &name, const label index, const polyTopoChanger &mme, const bool act)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void enable() const
Activate mesh modifier.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
static autoPtr< polyMeshModifier > New(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
Select constructed from dictionary.
TypeName("meshModifier")
Runtime type information.
const Switch & active() const
virtual void write(Ostream &) const =0
Write.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
declareRunTimeSelectionTable(autoPtr, polyMeshModifier, dictionary,(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme),(name, dict, index, mme))
void operator=(const polyMeshModifier &)=delete
Disallow default bitwise assignment.
virtual void updateMesh(const mapPolyMesh &)=0
Force recalculation of locally stored data on topological change.
List of mesh modifiers defining the mesh dynamics.
A class for handling words, derived from string.
friend Ostream & operator<<(Ostream &, const polyMeshModifier &)
Virtual base class for mesh modifiers.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void modifyMotionPoints(pointField &motionPoints) const =0
Modify motion points to comply with the topological change.
const polyTopoChanger & topoChanger() const
Return reference to morph engine.
Direct mesh changes based on v1.3 polyTopoChange syntax.
Ostream & operator<<(Ostream &, const ensightPart &)
virtual void setRefinement(polyTopoChange &) const =0
Insert the topological change instructions.
virtual ~polyMeshModifier()
Destructor.
virtual bool changeTopology() const =0
Check for topology change.
const word & name() const
Return name of this modifier.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
label index() const
Return the index of this modifier.