35 #ifndef polyTopoChanger_H 36 #define polyTopoChanger_H 51 class polyBoundaryMesh;
56 class polyTopoChanger;
58 Ostream&
operator<<(Ostream&,
const polyTopoChanger&);
67 public PtrList<polyMeshModifier>,
131 const bool syncParallel =
true,
132 const bool orderCells =
false,
133 const bool orderPoints =
false autoPtr< polyTopoChange > topoChangeRequest() const
Return topology change request.
void update(const mapPolyMesh &m)
Force recalculation of locally stored data on topological change.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool operator!=(const polyTopoChanger &) const
polyMesh & mesh_
Reference to mesh.
label findModifierID(const word &modName) const
Find modifier given a name.
autoPtr< mapPolyMesh > changeMesh(const bool inflate, const bool syncParallel=true, const bool orderCells=false, const bool orderPoints=false)
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
bool changeTopology() const
Is topology change required.
List of mesh modifiers defining the mesh dynamics.
A class for handling words, derived from string.
void modifyMotionPoints(pointField &) const
Modify point motion.
wordList types() const
Return a list of patch types.
void operator=(const polyTopoChanger &)=delete
Disallow default bitwise assignment.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool writeData(Ostream &) const
writeData member function required by regIOobject
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Ostream & operator<<(Ostream &, const ensightPart &)
virtual ~polyTopoChanger()
Destructor.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
polyTopoChanger(const IOobject &, polyMesh &)
Read constructor given IOobject and a polyMesh.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
TypeName("polyTopoChanger")
Runtime type information.
bool operator==(const polyTopoChanger &) const
const polyMesh & mesh() const
Return the mesh reference.
void addTopologyModifiers(const List< polyMeshModifier *> &tm)
Add given set of topology modifiers to the topoChanger.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
friend Ostream & operator<<(Ostream &, const polyTopoChanger &)
wordList names() const
Return a list of patch names.