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

polyTopoChanger Class Reference

Inheritance diagram for polyTopoChanger:

Inheritance graph
[legend]
Collaboration diagram for polyTopoChanger:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 65 of file polyTopoChanger.H.


Public Member Functions

 TypeName ("polyTopoChanger")
 Runtime type information.
 polyTopoChanger (const IOobject &, polyMesh &)
 Read constructor given IOobject and a polyMesh.
 polyTopoChanger (polyMesh &)
 Read constructor for given polyMesh.
virtual ~polyTopoChanger ()
const polyMesh & mesh () const
 Return the mesh reference.
wordList types () const
 Return a list of patch types.
wordList names () const
 Return a list of patch names.
bool changeTopology () const
 Is topology change required.
autoPtr< polyTopoChange > topoChangeRequest () const
 Return topology change request.
void modifyMotionPoints (pointField &) const
 Modify point motion.
autoPtr< mapPolyMesh > changeMesh (const bool inflate, const bool syncParallel=true)
void update (const mapPolyMesh &m)
 Force recalculation of locally stored data on topological change.
void addTopologyModifiers (const List< polyMeshModifier * > &tm)
 Add given set of topology modifiers to the topoChanger.
label findModifierID (const word &modName) const
 Find modifier given a name.
bool writeData (Ostream &) const
 writeData member function required by regIOobject
bool operator!= (const polyTopoChanger &) const
bool operator== (const polyTopoChanger &) const

Protected Attributes

polyMesh & mesh_
 Reference to mesh.

Friends

Ostream & operator<< (Ostream &, const polyTopoChanger &)

Constructor & Destructor Documentation

polyTopoChanger ( const IOobject &  ,
polyMesh &   
)

Read constructor given IOobject and a polyMesh.

polyTopoChanger ( polyMesh &   )  [explicit]

Read constructor for given polyMesh.

virtual ~polyTopoChanger (  )  [inline, virtual]

Definition at line 105 of file polyTopoChanger.H.

References polyTopoChanger::mesh_.


Member Function Documentation

TypeName ( "polyTopoChanger"   ) 

Runtime type information.

const polyMesh& mesh (  )  const [inline]

Return the mesh reference.

Definition at line 112 of file polyTopoChanger.H.

wordList types (  )  const

Return a list of patch types.

wordList names (  )  const

Return a list of patch names.

bool changeTopology (  )  const

Is topology change required.

autoPtr<polyTopoChange> topoChangeRequest (  )  const

Return topology change request.

void modifyMotionPoints ( pointField &   )  const

Modify point motion.

autoPtr<mapPolyMesh> changeMesh ( const bool  inflate,
const bool  syncParallel = true 
)

void update ( const mapPolyMesh &  m  ) 

Force recalculation of locally stored data on topological change.

void addTopologyModifiers ( const List< polyMeshModifier * > &  tm  ) 

Add given set of topology modifiers to the topoChanger.

label findModifierID ( const word &  modName  )  const

Find modifier given a name.

bool writeData ( Ostream &   )  const [virtual]

writeData member function required by regIOobject

Implements regIOobject.

bool operator!= ( const polyTopoChanger &   )  const

bool operator== ( const polyTopoChanger &   )  const


Friends And Related Function Documentation

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


Member Data Documentation

polyMesh& mesh_ [protected]

Reference to mesh.

Definition at line 86 of file polyTopoChanger.H.

Referenced by polyTopoChanger::~polyTopoChanger().


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