OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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...

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 TypeNew (const Mesh &mesh)
template<class Data1 >
static const TypeNew (const Mesh &mesh, const Data1 &d)
template<class Data1 , class Data2 >
static const TypeNew (const Mesh &mesh, const Data1 &, const Data2 &)
template<class Data1 , class Data2 , class Data3 >
static const TypeNew (const Mesh &mesh, const Data1 &, const Data2 &, const Data3 &)
template<class Data1 , class Data2 , class Data3 , class Data4 >
static const TypeNew (const Mesh &mesh, const Data1 &, const Data2 &, const Data3 &, const Data4 &)
static bool Delete (const Mesh &mesh)

Protected Attributes

const Mesh & mesh_

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 47 of file MeshObject.H.


Constructor & Destructor Documentation

MeshObject ( const Mesh &  mesh  )  [inline, explicit]

Definition at line 24 of file MeshObject.C.

~MeshObject (  )  [inline, virtual]

Definition at line 166 of file MeshObject.C.


Member Function Documentation

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

Definition at line 43 of file MeshObject.C.

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

Definition at line 61 of file MeshObject.C.

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

Definition at line 80 of file MeshObject.C.

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

Definition at line 100 of file MeshObject.C.

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

Definition at line 121 of file MeshObject.C.

bool Delete ( const Mesh &  mesh  )  [inline, static]

Definition at line 143 of file MeshObject.C.

const Mesh& mesh (  )  const [inline]

Reimplemented in volPointInterpolation.

Definition at line 110 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 115 of file MeshObject.H.


Member Data Documentation

const Mesh& mesh_ [protected]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd