35 #ifndef polyMeshModifier_H 36 #define polyMeshModifier_H 54 class polyTopoChanger;
56 class polyTopoChangeMap;
61 class polyMeshModifier;
63 Ostream&
operator<<(Ostream&,
const polyMeshModifier&);
108 (name, dict, index, mme)
virtual void writeDict(Ostream &) const =0
Write dictionary.
virtual void topoChange(const polyTopoChangeMap &)=0
Force recalculation of locally stored data on topological change.
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.
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.
List of mesh modifiers defining the mesh dynamics.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.