OpenFOAM logo
Open Source CFD Toolkit

polyMeshModifier Class Reference

Inheritance diagram for polyMeshModifier:

Inheritance graph
[legend]
Collaboration diagram for polyMeshModifier:

Collaboration graph
[legend]
List of all members.

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 wordname () const
 Return name.
label index () const
 Return the index of this patch in the boundaryMesh.
const polyTopoChangertopoChanger () 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 Switchactive () 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

autoPtr< polyMeshModifierNew (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Select constructed from dictionary.

Friends

Ostreamoperator<< (Ostream &, const polyMeshModifier &)

Constructor & Destructor Documentation

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

Construct from components.

virtual ~polyMeshModifier  )  [virtual]
 


Member Function Documentation

const Switch& active  )  const [inline]
 

Definition at line 182 of file polyMeshModifier.H.

virtual bool changeTopology  )  const [pure virtual]
 

Check for topology change.

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

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

void disable  )  const [inline]
 

Activate mesh modifier.

Definition at line 194 of file polyMeshModifier.H.

void enable  )  const [inline]
 

Activate mesh modifier.

Definition at line 188 of file polyMeshModifier.H.

label index  )  const [inline]
 

Return the index of this patch in the boundaryMesh.

Definition at line 159 of file polyMeshModifier.H.

References Foam::pointField.

virtual void modifyMotionPoints pointField motionPoints  )  const [pure virtual]
 

Modify motion points to comply with the topological change.

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

const word& name  )  const [inline]
 

Return name.

Definition at line 153 of file polyMeshModifier.H.

autoPtr<polyMeshModifier> New const word name,
const dictionary dict,
const label  index,
const polyTopoChanger mme
[static]
 

Select constructed from dictionary.

virtual void setRefinement polyTopoChange  )  const [pure virtual]
 

Insert the topological change instructions.

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

const polyTopoChanger& topoChanger  )  const
 

Return reference to morph engine.

TypeName "meshModifier"   ) 
 

Runtime type information.

virtual void updateMesh const mapPolyMesh  )  [pure virtual]
 

Force recalculation of locally stored data on topological change.

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

virtual void write Ostream  )  const [pure virtual]
 

Write.

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

virtual void writeDict Ostream  )  const [pure virtual]
 

Write dictionary.

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


Friends And Related Function Documentation

Ostream& operator<< Ostream ,
const polyMeshModifier
[friend]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org