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

Abstract base class for div schemes. More...

#include <finiteVolume/divScheme.H>


Detailed Description

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

Abstract base class for div schemes.

Source files

Definition at line 65 of file divScheme.H.

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

List of all members.

Public Member Functions

virtual const word &  type () 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 fvMesh &  mesh () 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 fvMesh &  mesh_
tmp
< surfaceInterpolationScheme
< Type > >  
tinterpScheme_

Constructor & Destructor Documentation

divScheme ( const divScheme< Type > &    ) [protected]

Disallow copy construct.

divScheme ( const fvMesh &   mesh  ) [inline]

Construct from mesh.

Definition at line 108 of file divScheme.H.

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

Construct from mesh and Istream.

Definition at line 115 of file divScheme.H.

~divScheme (  ) [virtual]

Definition at line 95 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  
) [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, FatalIOErrorIn, Foam::Info, and mesh.

const fvMesh& mesh (  ) const [inline]

Return mesh reference.

Definition at line 140 of file divScheme.H.

References divScheme< Type >::mesh_.

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

Implemented in gaussDivScheme< Type >.

Referenced by Foam::fvc::div().


Member Data Documentation

const fvMesh& mesh_ [protected]

Definition at line 74 of file divScheme.H.

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

Definition at line 75 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