Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh database and the mesh-modifier event-loop.
More...
|
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) |
|
template<class Mesh, template< class > class MeshObjectType, class Type>
class Foam::MeshObject< Mesh, MeshObjectType, Type >
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:
- Note
- movePoints must be provided for MeshObjects of type MoveableMeshObject and both movePoints and updateMesh functions must exist, provided for MeshObjects of type UpdateableMeshObject.
- Source files
-
Definition at line 85 of file MeshObject.H.