38 #ifndef Foam_polyTopoChanger_H 39 #define Foam_polyTopoChanger_H 53 class polyBoundaryMesh;
54 class polyTopoChanger;
56 Ostream&
operator<<(Ostream&,
const polyTopoChanger&);
65 public PtrList<polyMeshModifier>,
71 bool readIOcontents();
136 const bool syncParallel =
true,
137 const bool orderCells =
false,
138 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.
virtual ~polyTopoChanger()=default
Destructor.
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 Foam::string.
void modifyMotionPoints(pointField &) const
Modify point motion.
wordList types() const
Return a list of patch types.
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
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
TypeName("polyTopoChanger")
Runtime type information.
bool operator==(const polyTopoChanger &) const
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
const polyMesh & mesh() const
Return the mesh reference.
void addTopologyModifiers(const List< polyMeshModifier *> &tm)
Add given set of topology modifiers to the topoChanger.
Defines the attributes of an object for which implicit objectRegistry management is supported...
friend Ostream & operator<<(Ostream &, const polyTopoChanger &)
wordList names() const
Return a list of patch names.
readOption
Enumeration defining read preferences.