75 #ifndef DemandDrivenMeshObject_H
76 #define DemandDrivenMeshObject_H
89 template<
class Mesh,
template<
class>
class MeshObjectType,
class Type>
93 public MeshObjectType<Mesh>
118 static Type&
New(
const Mesh&
mesh);
120 template<
class... Args>
142 const Mesh&
mesh()
const
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
const Mesh & mesh() const
static bool Delete(const Mesh &mesh)
Lookup DemandDrivenMeshObject and delete.
virtual ~DemandDrivenMeshObject()
static Type & New(const Mesh &mesh)
virtual bool writeData(Foam::Ostream &) const
Pure virtual writaData function.
DemandDrivenMeshObject(const Mesh &mesh)
Construct from mesh.
static bool found(const Mesh &mesh)
Return true if this DemandDrivenMeshObject is found.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Foam::argList args(argc, argv)