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 46 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 31 of file polyMeshModifierNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, polyMeshModifier::index(), InfoInFunction, polyMeshModifier::name(), and Foam::nl.
|
inline |
Return name of this modifier.
Definition at line 145 of file polyMeshModifier.H.
Referenced by polyMeshModifier::New(), and slidingInterface::slidingInterface().
|
inline |
Return the index of this modifier.
Definition at line 151 of file polyMeshModifier.H.
Referenced by polyMeshModifier::New().
const Foam::polyTopoChanger & topoChanger | ( | ) | const |
Return reference to morph engine.
Definition at line 69 of file polyMeshModifier.C.
|
pure virtual |
Check for topology change.
Implemented in slidingInterface, perfectInterface, layerAdditionRemoval, and attachDetach.
|
pure virtual |
Insert the topological change instructions.
Implemented in slidingInterface, perfectInterface, layerAdditionRemoval, and attachDetach.
|
pure virtual |
Modify motion points to comply with the topological change.
Implemented in slidingInterface, perfectInterface, layerAdditionRemoval, and attachDetach.
|
pure virtual |
Force recalculation of locally stored data on topological change.
Implemented in slidingInterface, perfectInterface, layerAdditionRemoval, and attachDetach.
|
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.
|
pure virtual |
Write.
Implemented in slidingInterface, perfectInterface, layerAdditionRemoval, and attachDetach.
Referenced by Foam::operator<<().
|
pure virtual |
Write dictionary.
Implemented in slidingInterface, perfectInterface, layerAdditionRemoval, and attachDetach.
|
delete |
Disallow default bitwise assignment.
|
friend |