Virtual base class for mesh modifiers. More...
#include <polyMeshModifier.H>

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 ()=default |
| Destructor. | |
| const word & | name () const |
| Return name of this modifier. | |
| label | index () const |
| Return the index of this modifier. | |
| 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. | |
| Switch | active () const |
| If modifier activate? | |
| 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 &) |
Virtual base class for mesh modifiers.
Definition at line 64 of file polyMeshModifier.H.
| polyMeshModifier | ( | const word & | name, |
| const label | index, | ||
| const polyTopoChanger & | mme, | ||
| const bool | act ) |
Construct from components.
Definition at line 40 of file polyMeshModifier.C.
References index(), and name().

|
virtualdefault |
Destructor.
| 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) | ) |
|
static |
Select constructed from dictionary.
Definition at line 27 of file polyMeshModifierNew.C.
References DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, index(), and name().

|
inline |
Return name of this modifier.
Definition at line 168 of file polyMeshModifier.H.
Referenced by attachDetach::attachDetach(), attachDetach::attachDetach(), declareRunTimeSelectionTable(), layerAdditionRemoval::layerAdditionRemoval(), layerAdditionRemoval::layerAdditionRemoval(), New(), perfectInterface::perfectInterface(), perfectInterface::perfectInterface(), polyMeshModifier(), setUpdater::setUpdater(), slidingInterface::slidingInterface(), slidingInterface::slidingInterface(), attachDetach::TypeName(), layerAdditionRemoval::TypeName(), perfectInterface::TypeName(), setUpdater::TypeName(), and slidingInterface::TypeName().

|
inline |
Return the index of this modifier.
Definition at line 176 of file polyMeshModifier.H.
Referenced by attachDetach::attachDetach(), attachDetach::attachDetach(), declareRunTimeSelectionTable(), layerAdditionRemoval::layerAdditionRemoval(), layerAdditionRemoval::layerAdditionRemoval(), New(), perfectInterface::perfectInterface(), perfectInterface::perfectInterface(), polyMeshModifier(), setUpdater::setUpdater(), slidingInterface::slidingInterface(), slidingInterface::slidingInterface(), attachDetach::TypeName(), layerAdditionRemoval::TypeName(), perfectInterface::TypeName(), setUpdater::TypeName(), and slidingInterface::TypeName().

| const Foam::polyTopoChanger & topoChanger | ( | ) | const |
Return reference to morph engine.
Definition at line 57 of file polyMeshModifier.C.
Referenced by attachDetach::changeTopology(), layerAdditionRemoval::changeTopology(), slidingInterface::changeTopology(), slidingInterface::modifyMotionPoints(), layerAdditionRemoval::setRefinement(), perfectInterface::setRefinement(), perfectInterface::setRefinement(), attachDetach::updateMesh(), layerAdditionRemoval::updateMesh(), perfectInterface::updateMesh(), and slidingInterface::updateMesh().

|
pure virtual |
Check for topology change.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, and slidingInterface.
|
pure virtual |
Insert the topological change instructions.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, and slidingInterface.
|
pure virtual |
Modify motion points to comply with the topological change.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, and slidingInterface.
|
pure virtual |
Force recalculation of locally stored data on topological change.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, and slidingInterface.
|
inline |
If modifier activate?
Definition at line 212 of file polyMeshModifier.H.
Referenced by perfectInterface::changeTopology(), attachDetach::writeDict(), layerAdditionRemoval::writeDict(), perfectInterface::writeDict(), setUpdater::writeDict(), and slidingInterface::writeDict().

|
inline |
Activate mesh modifier.
Definition at line 220 of file polyMeshModifier.H.
|
inline |
Activate mesh modifier.
Definition at line 228 of file polyMeshModifier.H.
|
pure virtual |
Write.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, and slidingInterface.
Referenced by Foam::operator<<().

|
pure virtual |
Write dictionary.
Implemented in attachDetach, layerAdditionRemoval, perfectInterface, setUpdater, and slidingInterface.