Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh database and the mesh-modifier event-loop. More...
Public Member Functions | |
MeshObject (const Mesh &mesh) | |
virtual | ~MeshObject () |
const Mesh & | mesh () const |
virtual bool | writeData (Foam::Ostream &) const |
Static Public Member Functions | |
static const Type & | New (const Mesh &mesh) |
template<class Data1 > | |
static const Type & | New (const Mesh &mesh, const Data1 &d) |
template<class Data1 , class Data2 > | |
static const Type & | New (const Mesh &mesh, const Data1 &, const Data2 &) |
template<class Data1 , class Data2 , class Data3 > | |
static const Type & | New (const Mesh &mesh, const Data1 &, const Data2 &, const Data3 &) |
template<class Data1 , class Data2 , class Data3 , class Data4 > | |
static const Type & | New (const Mesh &mesh, const Data1 &, const Data2 &, const Data3 &, const Data4 &) |
static bool | Delete (const Mesh &mesh) |
Protected Attributes | |
const Mesh & | mesh_ |
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh database and the mesh-modifier event-loop.
MeshObject is templated on the type of mesh it is allocated to, the type of the mesh object (TopologicalMeshObject, GeometricMeshObject, MoveableMeshObject, UpdateableMeshObject) and the type of the actual object it is created for example:
class leastSquaresVectors : public MeshObject<fvMesh, MoveableMeshObject, leastSquaresVectors> { . . . //! Delete the least square vectors when the mesh moves virtual bool movePoints(); };
MeshObject types:
Definition at line 86 of file MeshObject.H.
|
explicit |
Definition at line 33 of file MeshObject.C.
|
virtual |
Definition at line 279 of file MeshObject.C.
|
static |
Definition at line 44 of file MeshObject.C.
Referenced by MeshObject< fvMesh, MoveableMeshObject, CentredFitSnGradData< Polynomial > >::MeshObject(), and MeshObject< fvMesh, MoveableMeshObject, CentredFitSnGradData< Polynomial > >::New().
|
static |
Definition at line 82 of file MeshObject.C.
|
static |
Definition at line 121 of file MeshObject.C.
|
static |
Definition at line 163 of file MeshObject.C.
|
static |
Definition at line 203 of file MeshObject.C.
|
static |
Definition at line 244 of file MeshObject.C.
|
inline |
Definition at line 149 of file MeshObject.H.
|
inlinevirtual |
Definition at line 154 of file MeshObject.H.
|
protected |
Definition at line 94 of file MeshObject.H.
Referenced by MeshObject< fvMesh, MoveableMeshObject, CentredFitSnGradData< Polynomial > >::mesh().