Virtual base class for mesh modifiers. More...
Public Member Functions | |
TypeName ("meshModifier") | |
Runtime type information. More... | |
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. More... | |
polyMeshModifier (const polyMeshModifier &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~polyMeshModifier () |
Destructor. More... | |
const word & | name () const |
Return name of this modifier. More... | |
label | index () const |
Return the index of this modifier. More... | |
const polyTopoChanger & | topoChanger () const |
Return reference to morph engine. More... | |
virtual bool | changeTopology () const =0 |
Check for topology change. More... | |
virtual void | setRefinement (polyTopoChange &) const =0 |
Insert the topological change instructions. More... | |
virtual void | modifyMotionPoints (pointField &motionPoints) const =0 |
Modify motion points to comply with the topological change. More... | |
virtual void | topoChange (const polyTopoChangeMap &)=0 |
Force recalculation of locally stored data on topological change. More... | |
const Switch & | active () const |
void | enable () const |
Activate mesh modifier. More... | |
void | disable () const |
Activate mesh modifier. More... | |
virtual void | write (Ostream &) const =0 |
Write. More... | |
virtual void | writeDict (Ostream &) const =0 |
Write dictionary. More... | |
void | operator= (const polyMeshModifier &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< polyMeshModifier > | New (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme) |
Select constructed from dictionary. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const polyMeshModifier &) |
Virtual base class for mesh modifiers.
Definition at line 69 of file polyMeshModifier.H.
polyMeshModifier | ( | const word & | name, |
const label | index, | ||
const polyTopoChanger & | mme, | ||
const bool | act | ||
) |
Construct from components.
Definition at line 47 of file polyMeshModifier.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
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) | |||
) |
|
static |
Select constructed from dictionary.
Definition at line 32 of file polyMeshModifierNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, InfoInFunction, dictionary::lookup(), Foam::name(), and Foam::nl.
|
inline |
Return name of this modifier.
Definition at line 145 of file polyMeshModifier.H.
Referenced by layerAdditionRemoval::modifyMotionPoints(), and attachDetach::modifyMotionPoints().
|
inline |
Return the index of this modifier.
Definition at line 151 of file polyMeshModifier.H.
References polyMeshModifier::changeTopology(), polyMeshModifier::modifyMotionPoints(), polyMeshModifier::setRefinement(), polyMeshModifier::topoChange(), and polyMeshModifier::topoChanger().
const Foam::polyTopoChanger & topoChanger | ( | ) | const |
Return reference to morph engine.
Definition at line 69 of file polyMeshModifier.C.
Referenced by polyMeshModifier::index().
|
pure virtual |
Check for topology change.
Implemented in slidingInterface, attachDetach, layerAdditionRemoval, perfectInterface, and setUpdater.
Referenced by polyMeshModifier::index().
|
pure virtual |
Insert the topological change instructions.
Implemented in slidingInterface, attachDetach, layerAdditionRemoval, perfectInterface, and setUpdater.
Referenced by polyMeshModifier::index().
|
pure virtual |
Modify motion points to comply with the topological change.
Implemented in slidingInterface, attachDetach, layerAdditionRemoval, perfectInterface, and setUpdater.
Referenced by polyMeshModifier::index().
|
pure virtual |
Force recalculation of locally stored data on topological change.
Implemented in slidingInterface, attachDetach, layerAdditionRemoval, perfectInterface, and setUpdater.
Referenced by polyMeshModifier::index().
|
inline |
Definition at line 174 of file polyMeshModifier.H.
|
inline |
Activate mesh modifier.
Definition at line 180 of file polyMeshModifier.H.
|
inline |
Activate mesh modifier.
Definition at line 186 of file polyMeshModifier.H.
References polyMeshModifier::operator<<, polyMeshModifier::operator=(), polyMeshModifier::write(), and polyMeshModifier::writeDict().
|
pure virtual |
Write.
Implemented in slidingInterface, attachDetach, layerAdditionRemoval, perfectInterface, and setUpdater.
Referenced by polyMeshModifier::disable(), and Foam::operator<<().
|
pure virtual |
Write dictionary.
Implemented in slidingInterface, attachDetach, layerAdditionRemoval, perfectInterface, and setUpdater.
Referenced by polyMeshModifier::disable().
|
delete |
Disallow default bitwise assignment.
Referenced by polyMeshModifier::disable().
|
friend |
Referenced by polyMeshModifier::disable().