FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

MeshObject< Mesh, Type > Class Template Reference

Templated abstract base-class for dynamic mesh objects used to automate their allocation to the mesh database and the mesh-modifier event-loop. More...

#include <OpenFOAM/MeshObject.H>


Detailed Description

template<class Mesh, class Type>
class Foam::MeshObject< Mesh, Type >

Templated abstract base-class for dynamic mesh objects used to automate their allocation to the mesh database and the mesh-modifier event-loop.

Source files

Definition at line 52 of file MeshObject.H.

Inheritance diagram for MeshObject< Mesh, Type >:
Collaboration diagram for MeshObject< Mesh, Type >:

List of all members.

Public Member Functions

 MeshObject (const Mesh &mesh)
virtual  ~MeshObject ()
const Mesh &  mesh () const
virtual bool  writeData (Foam::Ostream &) const
 Pure virtual writaData function.

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_

Constructor & Destructor Documentation

MeshObject ( const Mesh &   mesh  ) [explicit]

Definition at line 32 of file MeshObject.C.

~MeshObject (  ) [virtual]

Definition at line 174 of file MeshObject.C.


Member Function Documentation

const Type & New ( const Mesh &   mesh  ) [static]

Definition at line 51 of file MeshObject.C.

const Type & New ( const Mesh &   mesh,
const Data1 &   d  
) [static]

Definition at line 69 of file MeshObject.C.

const Type & New ( const Mesh &   mesh,
const Data1 &   d1,
const Data2 &   d2  
) [static]

Definition at line 88 of file MeshObject.C.

const Type & New ( const Mesh &   mesh,
const Data1 &   d1,
const Data2 &   d2,
const Data3 &   d3  
) [static]

Definition at line 108 of file MeshObject.C.

const Type & New ( const Mesh &   mesh,
const Data1 &   d1,
const Data2 &   d2,
const Data3 &   d3,
const Data4 &   d4  
) [static]

Definition at line 129 of file MeshObject.C.

bool Delete ( const Mesh &   mesh  ) [static]

Definition at line 151 of file MeshObject.C.

References regIOobject::checkOut().

const Mesh& mesh (  ) const [inline]

Reimplemented in volPointInterpolation.

Definition at line 115 of file MeshObject.H.

virtual bool writeData ( Foam::Ostream &    ) const [inline, virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 120 of file MeshObject.H.


Member Data Documentation

const Mesh& mesh_ [protected]

Definition at line 60 of file MeshObject.H.

Referenced by MeshObject< lduMesh, GAMGAgglomeration >::mesh().


The documentation for this class was generated from the following files: