38#ifndef polyMeshModifier_H
39#define polyMeshModifier_H
60class polyMeshModifier;
62Ostream&
operator<<(Ostream&,
const polyMeshModifier&);
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Virtual base class for mesh modifiers.
virtual void write(Ostream &) const =0
Write.
void disable() const
Activate mesh modifier.
virtual void writeDict(Ostream &) const =0
Write dictionary.
virtual ~polyMeshModifier()=default
Destructor.
declareRunTimeSelectionTable(autoPtr, polyMeshModifier, dictionary,(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme),(name, dict, index, mme))
label index() const
Return the index of this modifier.
const word & name() const
Return name of this modifier.
virtual void setRefinement(polyTopoChange &) const =0
Insert the topological change instructions.
virtual bool changeTopology() const =0
Check for topology change.
void enable() const
Activate mesh modifier.
TypeName("meshModifier")
Runtime type information.
Switch active() const
If modifier activate?
static autoPtr< polyMeshModifier > New(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
Select constructed from dictionary.
friend Ostream & operator<<(Ostream &, const polyMeshModifier &)
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.
virtual void updateMesh(const mapPolyMesh &)=0
Force recalculation of locally stored data on topological change.
Direct mesh changes based on v1.3 polyTopoChange syntax.
List of mesh modifiers defining the mesh dynamics.
A class for handling words, derived from Foam::string.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.