FreeFOAM The Cross-Platform CFD Toolkit
setUpdater Class Reference

Keeps cell/face/vertex sets uptodate. Both the ones loaded and the ones on disk. More...

#include <dynamicMesh/setUpdater.H>


Detailed Description

Keeps cell/face/vertex sets uptodate. Both the ones loaded and the ones on disk.

Source files

Definition at line 51 of file setUpdater.H.

+ Inheritance diagram for setUpdater:
+ Collaboration diagram for setUpdater:

List of all members.

Public Member Functions

 TypeName ("setUpdater")
 Runtime type information.
 setUpdater (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Construct from dictionary.
virtual ~setUpdater ()
virtual bool changeTopology () const
 Check for topology change.
virtual void setRefinement (polyTopoChange &) const
 Insert the layer addition/removal instructions.
virtual void modifyMotionPoints (pointField &motionPoints) const
 Modify motion points to comply with the topological change.
virtual void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.
virtual void write (Ostream &) const
 Write.
virtual void writeDict (Ostream &) const
 Write dictionary.
- Public Member Functions inherited from polyMeshModifier
 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.
const Switch & active () const
void enable () const
 Activate mesh modifier.
void disable () const
 Activate mesh modifier.

Additional Inherited Members

- Static Public Member Functions inherited from polyMeshModifier
static autoPtr< polyMeshModifier > New (const word &name, const dictionary &dict, const label index, const polyTopoChanger &mme)
 Select constructed from dictionary.

Constructor & Destructor Documentation

setUpdater ( const word &  name,
const dictionary &  dict,
const label  index,
const polyTopoChanger &  mme 
)

Construct from dictionary.

Definition at line 57 of file setUpdater.C.

~setUpdater ( )
virtual

Definition at line 70 of file setUpdater.C.


Member Function Documentation

TypeName ( "setUpdater"  )

Runtime type information.

bool changeTopology ( ) const
virtual

Check for topology change.

Implements polyMeshModifier.

Definition at line 76 of file setUpdater.C.

void setRefinement ( polyTopoChange &  ) const
virtual

Insert the layer addition/removal instructions.

into the topological change

Implements polyMeshModifier.

Definition at line 83 of file setUpdater.C.

void modifyMotionPoints ( pointField &  motionPoints) const
virtual

Modify motion points to comply with the topological change.

Implements polyMeshModifier.

Definition at line 87 of file setUpdater.C.

void updateMesh ( const mapPolyMesh &  morphMap)
virtual

Force recalculation of locally stored data on topological change.

Implements polyMeshModifier.

Definition at line 91 of file setUpdater.C.

References Foam::endl(), and Foam::Pout.

void write ( Ostream &  os) const
virtual

Write.

Implements polyMeshModifier.

Definition at line 106 of file setUpdater.C.

References Foam::nl, and Foam::type().

void writeDict ( Ostream &  os) const
virtual

Write dictionary.

Implements polyMeshModifier.

Definition at line 112 of file setUpdater.C.

References token::BEGIN_BLOCK, token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::name(), Foam::nl, and Foam::type().


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