List of mesh modifiers defining the mesh dynamics. More...
#include <dynamicMesh/polyTopoChanger.H>
List of mesh modifiers defining the mesh dynamics.
Definition at line 57 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, const bool orderCells=false, const bool orderPoints=false) |
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 &) |
polyTopoChanger | ( | const IOobject & | io, |
polyMesh & | mesh | ||
) |
Read constructor given IOobject and a polyMesh.
Definition at line 86 of file polyTopoChanger.C.
polyTopoChanger | ( | polyMesh & | mesh ) | [explicit]
|
Read constructor for given polyMesh.
Definition at line 100 of file polyTopoChanger.C.
virtual ~polyTopoChanger | ( | ) | [inline, virtual]
|
Definition at line 97 of file polyTopoChanger.H.
TypeName | ( | "polyTopoChanger" | ) |
Runtime type information.
const polyMesh& mesh | ( | ) | const [inline]
|
Return the mesh reference.
Definition at line 104 of file polyTopoChanger.H.
References polyTopoChanger::mesh_.
Foam::wordList types | ( | ) | const |
Return a list of patch types.
Definition at line 127 of file polyTopoChanger.C.
References forAll, and PtrList< T >::size().
Foam::wordList names | ( | ) | const |
Return a list of patch names.
Definition at line 143 of file polyTopoChanger.C.
References forAll, and PtrList< T >::size().
bool changeTopology | ( | ) | const |
Is topology change required.
Definition at line 159 of file polyTopoChanger.C.
References Foam::endl(), forAll, and Foam::Info.
Foam::autoPtr< Foam::polyTopoChange > topoChangeRequest | ( | ) | const |
Return topology change request.
Definition at line 206 of file polyTopoChanger.C.
void modifyMotionPoints | ( | pointField & | p ) | const |
Foam::autoPtr< Foam::mapPolyMesh > changeMesh | ( | const bool | inflate, |
const bool | syncParallel = true ,
|
||
const bool | orderCells = false ,
|
||
const bool | orderPoints = false
|
||
) |
Definition at line 261 of file polyTopoChanger.C.
Referenced by attachPolyTopoChanger::attach().
void update | ( | const mapPolyMesh & | m ) |
Force recalculation of locally stored data on topological change.
Definition at line 242 of file polyTopoChanger.C.
References IOobject::AUTO_WRITE, and forAll.
void addTopologyModifiers | ( | const List< polyMeshModifier * > & | tm ) |
Add given set of topology modifiers to the topoChanger.
Definition at line 294 of file polyTopoChanger.C.
References Foam::abort(), IOobject::AUTO_WRITE, Foam::FatalError, FatalErrorIn, forAll, setSize(), and List< T >::size().
Foam::label findModifierID | ( | const word & | modName ) | const |
Find modifier given a name.
Definition at line 320 of file polyTopoChanger.C.
References Foam::endl(), forAll, Foam::Info, and Foam::name().
bool writeData | ( | Ostream & | os ) | const [virtual]
|
writeData member function required by regIOobject
Implements regIOobject.
Definition at line 349 of file polyTopoChanger.C.
References IOstream::good().
bool operator!= | ( | const polyTopoChanger & | me ) | const |
Definition at line 358 of file polyTopoChanger.C.
bool operator== | ( | const polyTopoChanger & | me ) | const |
Definition at line 364 of file polyTopoChanger.C.
Ostream& operator<< | ( | Ostream & | , |
const polyTopoChanger & | |||
) | [friend]
|
Reference to mesh.
Definition at line 78 of file polyTopoChanger.H.
Referenced by attachPolyTopoChanger::attach(), and polyTopoChanger::mesh().