82 #ifndef DemandDrivenMeshObject_H
83 #define DemandDrivenMeshObject_H
96 template<
class Mesh,
template<
class>
class MeshObjectType,
class Type>
100 public MeshObjectType<Mesh>
137 static Type&
New(
const Mesh&
mesh);
141 template<
class... Args>
151 template<
class... Args>
174 const Mesh&
mesh()
const
Templated abstract base-class for demand-driven mesh objects used to automate their allocation to the...
const Mesh & mesh() const
DemandDrivenMeshObject(const IOobject &io, const Mesh &mesh)
Construct from mesh and IOobject.
virtual ~DemandDrivenMeshObject()
virtual bool writeData(Foam::Ostream &) const
Pure virtual writaData function.
static bool found(const word &name, const Mesh &mesh)
Return true if the DemandDrivenMeshObject with the given name.
static Type & New(const word &name, const Mesh &mesh)
Construct and return the named DemandDrivenMeshObject.
virtual const word & type() const
Runtime type information.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
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...
A class for handling words, derived from string.
Foam::argList args(argc, argv)