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

divScheme< Type > Class Template Reference

Abstract base class for div schemes. More...

Inheritance diagram for divScheme< Type >:
Collaboration diagram for divScheme< Type >:

List of all members.


Public Member Functions

virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (tmp, divScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 divScheme (const fvMesh &mesh)
 Construct from mesh.
 divScheme (const fvMesh &mesh, Istream &is)
 Construct from mesh and Istream.
virtual ~divScheme ()
const fvMeshmesh () const
 Return mesh reference.
virtual tmp< GeometricField
< typename innerProduct
< vector, Type >::type,
fvPatchField, volMesh > > 
fvcDiv (const GeometricField< Type, fvPatchField, volMesh > &)=0

Static Public Member Functions

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

Protected Member Functions

 divScheme (const divScheme &)
 Disallow copy construct.
void operator= (const divScheme &)
 Disallow default bitwise assignment.

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 60 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 103 of file divScheme.H.

divScheme ( const fvMesh mesh,
Istream is 
) [inline]

Construct from mesh and Istream.

Definition at line 110 of file divScheme.H.

~divScheme (  )  [inline, virtual]

Definition at line 88 of file divScheme.C.


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 
) [inline, static]

Return a pointer to a new divScheme created on freestore.

Definition at line 40 of file divScheme.C.

References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, Foam::Info, and mesh.

Here is the call graph for this function:

const fvMesh& mesh (  )  const [inline]

Return mesh reference.

Definition at line 135 of file divScheme.H.

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

Implemented in gaussDivScheme< Type >.


Member Data Documentation

const fvMesh& mesh_ [protected]

Definition at line 69 of file divScheme.H.

Definition at line 70 of file divScheme.H.


The documentation for this class was generated from the following files:
  • src/finiteVolume/finiteVolume/divSchemes/divScheme/divScheme.H
  • src/finiteVolume/finiteVolume/divSchemes/divScheme/divScheme.C
Copyright © 2000-2009 OpenCFD Ltd