71 #ifndef Foam_MeshObject_H 72 #define Foam_MeshObject_H 89 template<
class Mesh,
template<
class>
class MeshObjectType,
class Type>
92 public MeshObjectType<Mesh>
114 template<
class... Args>
115 static const Type&
New(
const Mesh&
mesh, Args&&...
args);
119 template<
class... Args>
120 static const Type&
New 186 template<
class Mesh,
template<
class>
class MeshObjectType>
195 template<
class>
class FromType,
196 template<
class>
class ToType
226 class GeometricMeshObject
228 public TopologicalMeshObject<Mesh>
static void updateMesh(objectRegistry &obr, const mapPolyMesh &mpm)
static void clearUpto(objectRegistry &obr)
Clear all meshObject derived from FromType up to (but not including) ToType.
MoveableMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.
static const Type & New(const Mesh &mesh, Args &&... args)
Get existing or create a new MeshObject. Registered with typeName.
The meshObject is a concrete regIOobject.
virtual void updateMesh(const mapPolyMesh &mpm)=0
static void clear(objectRegistry &obr)
virtual bool writeData(Ostream &os) const
Dummy write.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
TopologicalMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
meshObject(const word &objName, const objectRegistry &obr)
Construct with given object name on a registry.
const Mesh & mesh() const noexcept
Reference to the mesh.
A class for handling words, derived from Foam::string.
virtual bool movePoints()=0
virtual ~MeshObject()=default
Destructor.
const Mesh & mesh_
Reference to the mesh.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
static void movePoints(objectRegistry &obr)
ClassName("meshObject")
Runtime declaration and debug switch.
static bool Delete(const word &objName, const Mesh &mesh)
Static destructor using supplied registration name.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Registry of regIOobjects.
Foam::argList args(argc, argv)
MeshObject(const Mesh &mesh)
Construct with Type::typeName on Mesh.
GeometricMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.
UpdateableMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.