Virtual base class for mesh modifiers. More...
#include <dynamicMesh/polyMeshModifier.H>
Virtual base class for mesh modifiers.
Definition at line 62 of file polyMeshModifier.H.
Inheritance diagram for polyMeshModifier:
Collaboration diagram for polyMeshModifier:Public Member Functions | |
| TypeName ("meshModifier") | |
| Runtime type information.
| |
| declareRunTimeSelectionTable (autoPtr, polyMeshModifier, dictionary,(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme),(name, dict, index, mme)) | |
| polyMeshModifier (const word &name, const label index, const polyTopoChanger &mme, const bool act) | |
| Construct from components.
| |
| virtual | ~polyMeshModifier () |
| const word & | name () const |
| Return name.
| |
| label | index () const |
| Return the index of this patch in the boundaryMesh.
| |
| const polyTopoChanger & | topoChanger () const |
| Return reference to morph engine.
| |
| virtual bool | changeTopology () const =0 |
| Check for topology change.
| |
| virtual void | setRefinement (polyTopoChange &) const =0 |
| Insert the topological change instructions.
| |
| virtual void | modifyMotionPoints (pointField &motionPoints) const =0 |
| Modify motion points to comply with the topological change.
| |
| virtual void | updateMesh (const mapPolyMesh &)=0 |
| Force recalculation of locally stored data on topological change.
| |
| const Switch & | active () const |
| void | enable () const |
| Activate mesh modifier.
| |
| void | disable () const |
| Activate mesh modifier.
| |
| virtual void | write (Ostream &) const =0 |
| Write.
| |
| virtual void | writeDict (Ostream &) const =0 |
| Write dictionary.
| |
Static Public Member Functions | |
| static autoPtr< polyMeshModifier > | New (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme) |
| Select constructed from dictionary.
| |
Friends | |
| Ostream & | operator<< (Ostream &, const polyMeshModifier &) |
| polyMeshModifier | ( | const word & | name, |
| const label | index, | ||
| const polyTopoChanger & | mme, | ||
| const bool | act | ||
| ) |
Construct from components.
Definition at line 47 of file polyMeshModifier.C.
| ~polyMeshModifier | ( | ) | [virtual]
|
Definition at line 63 of file polyMeshModifier.C.
| TypeName | ( | "meshModifier" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| polyMeshModifier | , | ||
| dictionary | , | ||
| (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme) | , | ||
| (name, dict, index, mme) | |||
| ) |
| autoPtr< polyMeshModifier > New | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index, | ||
| const polyTopoChanger & | mme | ||
| ) | [static]
|
Select constructed from dictionary.
Definition at line 37 of file newPolyMeshModifier.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, dictionary::lookup(), and Foam::name().
| const word& name | ( | ) | const [inline]
|
Return name.
Definition at line 145 of file polyMeshModifier.H.
| label index | ( | ) | const [inline]
|
Return the index of this patch in the boundaryMesh.
Definition at line 151 of file polyMeshModifier.H.
| const Foam::polyTopoChanger & topoChanger | ( | ) | const |
Return reference to morph engine.
Definition at line 69 of file polyMeshModifier.C.
| virtual bool changeTopology | ( | ) | const [pure virtual]
|
Check for topology change.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, slidingInterface, and errorDrivenRefinement.
| virtual void setRefinement | ( | polyTopoChange & | ) | const [pure virtual]
|
Insert the topological change instructions.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, slidingInterface, and errorDrivenRefinement.
| virtual void modifyMotionPoints | ( | pointField & | motionPoints ) | const [pure virtual]
|
Modify motion points to comply with the topological change.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, slidingInterface, and errorDrivenRefinement.
| virtual void updateMesh | ( | const mapPolyMesh & | ) | [pure virtual]
|
Force recalculation of locally stored data on topological change.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, slidingInterface, and errorDrivenRefinement.
| const Switch& active | ( | ) | const [inline]
|
Definition at line 174 of file polyMeshModifier.H.
| void enable | ( | ) | const [inline]
|
Activate mesh modifier.
Definition at line 180 of file polyMeshModifier.H.
| void disable | ( | ) | const [inline]
|
Activate mesh modifier.
Definition at line 186 of file polyMeshModifier.H.
| virtual void write | ( | Ostream & | ) | const [pure virtual]
|
Write.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, slidingInterface, and errorDrivenRefinement.
| virtual void writeDict | ( | Ostream & | ) | const [pure virtual]
|
Write dictionary.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, slidingInterface, and errorDrivenRefinement.
| Ostream& operator<< | ( | Ostream & | , |
| const polyMeshModifier & | |||
| ) | [friend]
|