Go to the documentation of this file.
37 #ifndef polyMeshModifier_H
38 #define polyMeshModifier_H
56 class polyTopoChanger;
63 class polyMeshModifier;
65 Ostream&
operator<<(Ostream&,
const polyMeshModifier&);
declareRunTimeSelectionTable(autoPtr, polyMeshModifier, dictionary,(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme),(name, dict, index, mme))
virtual ~polyMeshModifier()
Destructor.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
const Switch & active() const
A class for handling words, derived from Foam::string.
const polyTopoChanger & topoChanger() const
Return reference to morph engine.
List of mesh modifiers defining the mesh dynamics.
virtual void writeDict(Ostream &) const =0
Write dictionary.
Direct mesh changes based on v1.3 polyTopoChange syntax.
label index() const
Return the index of this modifier.
virtual void updateMesh(const mapPolyMesh &)=0
Force recalculation of locally stored data on topological change.
virtual void write(Ostream &) const =0
Write.
void disable() const
Activate mesh modifier.
virtual void setRefinement(polyTopoChange &) const =0
Insert the topological change instructions.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void modifyMotionPoints(pointField &motionPoints) const =0
Modify motion points to comply with the topological change.
friend Ostream & operator<<(Ostream &, const polyMeshModifier &)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool changeTopology() const =0
Check for topology change.
static autoPtr< polyMeshModifier > New(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
Select constructed from dictionary.
Virtual base class for mesh modifiers.
const word & name() const
Return name of this modifier.
void enable() const
Activate mesh modifier.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Macros to ease declaration of run-time selection tables.
TypeName("meshModifier")
Runtime type information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & operator<<(Ostream &, const boundaryPatch &)