Public Member Functions | Static Public Member Functions | List of all members
gradScheme< Type > Class Template Referenceabstract

Abstract base class for finite area calculus gradient schemes. More...

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

Public Member Functions

 declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 gradScheme (const faMesh &mesh)
 
virtual ~gradScheme ()
 
const faMeshmesh () const
 
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > > grad (const GeometricField< Type, faPatchField, areaMesh > &) const =0
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 
int count () const noexcept
 
bool unique () const noexcept
 
void operator++ () noexcept
 
void operator++ (int) noexcept
 
void operator-- () noexcept
 
void operator-- (int) noexcept
 

Static Public Member Functions

static tmp< gradScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 

Detailed Description

template<class Type>
class Foam::fa::gradScheme< Type >

Abstract base class for finite area calculus gradient schemes.

Source files

Definition at line 59 of file faGradScheme.H.

Constructor & Destructor Documentation

◆ gradScheme()

gradScheme ( const faMesh mesh)
inline

Definition at line 94 of file faGradScheme.H.

◆ ~gradScheme()

~gradScheme
virtual

Definition at line 82 of file faGradScheme.C.

Member Function Documentation

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( tmp  ,
gradScheme< Type >  ,
Istream  ,
(const faMesh &mesh, Istream &schemeData)  ,
(mesh, schemeData)   
)

◆ New()

tmp< gradScheme< Type > > New ( const faMesh mesh,
Istream schemeData 
)
static

Definition at line 39 of file faGradScheme.C.

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

Referenced by Foam::fac::grad(), and Foam::fac::ngrad().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mesh()

const faMesh& mesh ( ) const
inline

Definition at line 117 of file faGradScheme.H.

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

Here is the caller graph for this function:

◆ grad()

virtual tmp< GeometricField <typename outerProduct<vector, Type>::type, faPatchField, areaMesh> > grad ( const GeometricField< Type, faPatchField, areaMesh > &  ) const
pure virtual

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