FreeFOAM The Cross-Platform CFD Toolkit
gaussDivScheme< Type > Class Template Reference

Basic second-order div using face-gradients and Gauss' theorem. More...

#include <finiteVolume/gaussDivScheme.H>


Detailed Description

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

Basic second-order div using face-gradients and Gauss' theorem.

Source files

Definition at line 55 of file gaussDivScheme.H.

+ Inheritance diagram for gaussDivScheme< Type >:
+ Collaboration diagram for gaussDivScheme< Type >:

List of all members.

Public Member Functions

 TypeName ("Gauss")
 Runtime type information.
 gaussDivScheme (const fvMesh &mesh)
 Construct null.
 gaussDivScheme (const fvMesh &mesh, Istream &is)
 Construct from Istream.
tmp< GeometricField< typename
innerProduct< vector, Type >
::type, fvPatchField, volMesh > > 
fvcDiv (const GeometricField< Type, fvPatchField, volMesh > &)
- Public Member Functions inherited from divScheme< Type >
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.
- Public Member Functions inherited from refCount
 refCount ()
 Construct null with zero count.
int count () const
 Return the reference count.
bool okToDelete () const
 Return true if the reference count is zero.
void resetRefCount ()
 Reset the reference count to zero.
void operator++ ()
 Increment the reference count.
void operator++ (int)
 Increment the reference count.
void operator-- ()
 Decrement the reference count.
void operator-- (int)
 Decrement the reference count.

Additional Inherited Members

- Static Public Member Functions inherited from divScheme< Type >
static tmp< divScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 Return a pointer to a new divScheme created on freestore.
- Protected Member Functions inherited from divScheme< Type >
 divScheme (const divScheme &)
 Disallow copy construct.
void operator= (const divScheme &)
 Disallow default bitwise assignment.
- Protected Attributes inherited from divScheme< Type >
const fvMeshmesh_
tmp
< surfaceInterpolationScheme
< Type > > 
tinterpScheme_

Constructor & Destructor Documentation

gaussDivScheme ( const fvMesh mesh)
inline

Construct null.

Definition at line 77 of file gaussDivScheme.H.

gaussDivScheme ( const fvMesh mesh,
Istream is 
)
inline

Construct from Istream.

Definition at line 83 of file gaussDivScheme.H.


Member Function Documentation

TypeName ( "Gauss"  )

Runtime type information.

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

Implements divScheme< Type >.


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