Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
divScheme< Type > Class Template Referenceabstract

Abstract base class for div schemes. More...

Inheritance diagram for divScheme< Type >:
Inheritance graph
[legend]
Collaboration diagram for divScheme< Type >:
Collaboration graph
[legend]

Public Member Functions

virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, divScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 divScheme (const fvMesh &mesh)
 Construct from mesh. More...
 
 divScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
virtual ~divScheme ()
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, fvPatchField, volMesh > > fvcDiv (const GeometricField< Type, fvPatchField, volMesh > &)=0
 
- Public Member Functions inherited from refCount
int count () const
 Return the current reference count. More...
 
bool unique () const
 Return true if the reference count is zero. More...
 
void operator++ ()
 Increment the reference count. More...
 
void operator++ (int)
 Increment the reference count. More...
 
void operator-- ()
 Decrement the reference count. More...
 
void operator-- (int)
 Decrement the reference count. More...
 

Static Public Member Functions

static tmp< divScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return a pointer to a new divScheme created on freestore. More...
 

Protected Member Functions

 divScheme (const divScheme &)
 Disallow copy construct. More...
 
void operator= (const divScheme &)
 Disallow default bitwise assignment. More...
 
- Protected Member Functions inherited from refCount
 refCount ()
 Construct null initializing count to 0. More...
 

Protected Attributes

const fvMeshmesh_
 
tmp< surfaceInterpolationScheme< Type > > tinterpScheme_
 

Detailed Description

template<class Type>
class Foam::fv::divScheme< Type >

Abstract base class for div schemes.

Source files

Definition at line 64 of file divScheme.H.

Constructor & Destructor Documentation

divScheme ( const divScheme< Type > &  )
protected

Disallow copy construct.

divScheme ( const fvMesh mesh)
inline

Construct from mesh.

Definition at line 107 of file divScheme.H.

divScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from mesh and Istream.

Definition at line 114 of file divScheme.H.

References divScheme< Type >::New(), and divScheme< Type >::~divScheme().

Here is the call graph for this function:

~divScheme ( )
virtual

Destructor.

Definition at line 92 of file divScheme.C.

Referenced by divScheme< Type >::divScheme().

Here is the caller graph for this function:

Member Function Documentation

void operator= ( const divScheme< Type > &  )
protected

Disallow default bitwise assignment.

virtual const word& type ( ) const
pure virtual

Runtime type information.

declareRunTimeSelectionTable ( tmp  ,
divScheme< Type >  ,
Istream  ,
(const fvMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData)   
)
tmp< divScheme< Type > > New ( const fvMesh mesh,
Istream schemeData 
)
static

Return a pointer to a new divScheme created on freestore.

Definition at line 47 of file divScheme.C.

References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, InfoInFunction, mesh, and Foam::nl.

Referenced by Foam::fvc::div(), and divScheme< Type >::divScheme().

Here is the call graph for this function:

Here is the caller graph for this function:

const fvMesh& mesh ( ) const
inline

Return mesh reference.

Definition at line 138 of file divScheme.H.

References divScheme< Type >::fvcDiv(), and divScheme< Type >::mesh_.

Here is the call graph for this function:

virtual tmp< GeometricField <typename innerProduct<vector, Type>::type, fvPatchField, volMesh> > fvcDiv ( const GeometricField< Type, fvPatchField, volMesh > &  )
pure virtual

Implemented in gaussDivScheme< Type >.

Referenced by divScheme< Type >::mesh().

Here is the caller graph for this function:

Member Data Documentation

const fvMesh& mesh_
protected

Definition at line 73 of file divScheme.H.

Referenced by divScheme< Type >::mesh().

tmp<surfaceInterpolationScheme<Type> > tinterpScheme_
protected

Definition at line 74 of file divScheme.H.


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