Public Member Functions | Static Public Member Functions | Friends | List of all members
polyMeshModifier Class Referenceabstract

Virtual base class for mesh modifiers. More...

Inheritance diagram for polyMeshModifier:
Inheritance graph
[legend]

Public Member Functions

 TypeName ("meshModifier")
 
 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)
 
virtual ~polyMeshModifier ()=default
 
const wordname () const
 
label index () const
 
const polyTopoChangertopoChanger () const
 
virtual bool changeTopology () const =0
 
virtual void setRefinement (polyTopoChange &) const =0
 
virtual void modifyMotionPoints (pointField &motionPoints) const =0
 
virtual void updateMesh (const mapPolyMesh &)=0
 
Switch active () const
 
void enable () const
 
void disable () const
 
virtual void write (Ostream &) const =0
 
virtual void writeDict (Ostream &) const =0
 

Static Public Member Functions

static autoPtr< polyMeshModifierNew (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 

Friends

Ostreamoperator<< (Ostream &, const polyMeshModifier &)
 

Detailed Description

Virtual base class for mesh modifiers.

Source files

Definition at line 64 of file polyMeshModifier.H.

Constructor & Destructor Documentation

◆ polyMeshModifier()

polyMeshModifier ( const word name,
const label  index,
const polyTopoChanger mme,
const bool  act 
)

Definition at line 41 of file polyMeshModifier.C.

◆ ~polyMeshModifier()

virtual ~polyMeshModifier ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "meshModifier"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
polyMeshModifier  ,
dictionary  ,
(const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)  ,
(name, dict, index, mme)   
)

◆ New()

Foam::autoPtr< Foam::polyMeshModifier > New ( const word name,
const dictionary dict,
const label  index,
const polyTopoChanger mme 
)
static

Definition at line 28 of file polyMeshModifierNew.C.

References DebugInFunction, dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::name().

Here is the call graph for this function:

◆ name()

const word& name ( ) const
inline

Definition at line 146 of file polyMeshModifier.H.

◆ index()

label index ( ) const
inline

Definition at line 152 of file polyMeshModifier.H.

◆ topoChanger()

const Foam::polyTopoChanger & topoChanger ( ) const

Definition at line 57 of file polyMeshModifier.C.

◆ changeTopology()

virtual bool changeTopology ( ) const
pure virtual

◆ setRefinement()

virtual void setRefinement ( polyTopoChange ) const
pure virtual

◆ modifyMotionPoints()

virtual void modifyMotionPoints ( pointField motionPoints) const
pure virtual

◆ updateMesh()

virtual void updateMesh ( const mapPolyMesh )
pure virtual

◆ active()

Switch active ( ) const
inline

Definition at line 176 of file polyMeshModifier.H.

◆ enable()

void enable ( ) const
inline

Definition at line 182 of file polyMeshModifier.H.

◆ disable()

void disable ( ) const
inline

Definition at line 188 of file polyMeshModifier.H.

◆ write()

virtual void write ( Ostream ) const
pure virtual

Implemented in slidingInterface, attachDetach, layerAdditionRemoval, perfectInterface, and setUpdater.

Referenced by Foam::operator<<().

Here is the caller graph for this function:

◆ writeDict()

virtual void writeDict ( Ostream ) const
pure virtual

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const polyMeshModifier  
)
friend

The documentation for this class was generated from the following files: