38#ifndef Foam_polyTopoChanger_H
39#define Foam_polyTopoChanger_H
53class polyBoundaryMesh;
56Ostream&
operator<<(Ostream&,
const polyTopoChanger&);
65 public PtrList<polyMeshModifier>,
136 const bool syncParallel =
true,
137 const bool orderCells =
false,
138 const bool orderPoints =
false
Defines the attributes of an object for which implicit objectRegistry management is supported,...
readOption
Enumeration defining the read options.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mesh consisting of general polyhedral cells.
List of mesh modifiers defining the mesh dynamics.
bool operator==(const polyTopoChanger &) const
TypeName("polyTopoChanger")
Runtime type information.
bool writeData(Ostream &) const
writeData member function required by regIOobject
label findModifierID(const word &modName) const
Find modifier given a name.
autoPtr< polyTopoChange > topoChangeRequest() const
Return topology change request.
const polyMesh & mesh() const
Return the mesh reference.
void addTopologyModifiers(const List< polyMeshModifier * > &tm)
Add given set of topology modifiers to the topoChanger.
wordList types() const
Return a list of patch types.
polyMesh & mesh_
Reference to mesh.
bool changeTopology() const
Is topology change required.
autoPtr< mapPolyMesh > changeMesh(const bool inflate, const bool syncParallel=true, const bool orderCells=false, const bool orderPoints=false)
bool operator!=(const polyTopoChanger &) const
virtual ~polyTopoChanger()=default
Destructor.
wordList names() const
Return a list of patch names.
void modifyMotionPoints(pointField &) const
Modify point motion.
friend Ostream & operator<<(Ostream &, const polyTopoChanger &)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for handling words, derived from Foam::string.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.