Go to the documentation of this file.
38 #ifndef polyTopoChanger_H
39 #define polyTopoChanger_H
53 class polyBoundaryMesh;
54 class polyTopoChanger;
56 Ostream&
operator<<(Ostream&,
const polyTopoChanger&);
65 public PtrList<polyMeshModifier>,
135 const bool syncParallel =
true,
136 const bool orderCells =
false,
137 const bool orderPoints =
false
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
TypeName("polyTopoChanger")
Runtime type information.
label findModifierID(const word &modName) const
Find modifier given a name.
List of mesh modifiers defining the mesh dynamics.
friend Ostream & operator<<(Ostream &, const polyTopoChanger &)
bool changeTopology() const
Is topology change required.
autoPtr< polyTopoChange > topoChangeRequest() const
Return topology change request.
void update(const mapPolyMesh &m)
Force recalculation of locally stored data on topological change.
wordList names() const
Return a list of patch names.
void addTopologyModifiers(const List< polyMeshModifier * > &tm)
Add given set of topology modifiers to the topoChanger.
virtual ~polyTopoChanger()=default
Destructor.
Mesh consisting of general polyhedral cells.
void modifyMotionPoints(pointField &) const
Modify point motion.
wordList types() const
Return a list of patch types.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
bool operator!=(const polyTopoChanger &) const
polyMesh & mesh_
Reference to mesh.
bool writeData(Ostream &) const
writeData member function required by regIOobject
autoPtr< mapPolyMesh > changeMesh(const bool inflate, const bool syncParallel=true, const bool orderCells=false, const bool orderPoints=false)
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
bool operator==(const polyTopoChanger &) const
const polyMesh & mesh() const
Return the mesh reference.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
readOption
Enumeration defining the read options.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...