OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

polyMeshModifier Class Reference

Inheritance diagram for polyMeshModifier:

Inheritance graph
[legend]
Collaboration diagram for polyMeshModifier:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 70 of file 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 ()
const word & name () const
 Return name.
label index () const
 Return the index of this patch in the boundaryMesh.
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.
const Switch & active () 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

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 &)

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

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 autoPtr<polyMeshModifier> New ( const word &  name,
const dictionary &  dict,
const label  index,
const polyTopoChanger &  mme 
) [static]

Select constructed from dictionary.

const word& name (  )  const [inline]

Return name.

Definition at line 153 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.

const polyTopoChanger& topoChanger (  )  const

Return reference to morph engine.

virtual bool changeTopology (  )  const [pure virtual]

virtual void setRefinement ( polyTopoChange &   )  const [pure virtual]

Insert the topological change instructions.

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

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.

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.

const Switch& active (  )  const [inline]

Definition at line 182 of file polyMeshModifier.H.

void enable (  )  const [inline]

Activate mesh modifier.

Definition at line 188 of file polyMeshModifier.H.

void disable (  )  const [inline]

Activate mesh modifier.

Definition at line 194 of file polyMeshModifier.H.

virtual void write ( Ostream &   )  const [pure virtual]

virtual void writeDict ( Ostream &   )  const [pure virtual]


Friends And Related Function Documentation

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


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd