gaussDivScheme< Type > Class Template Reference

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

Inheritance diagram for gaussDivScheme< Type >:
[legend]
Collaboration diagram for gaussDivScheme< Type >:
[legend]

Public Member Functions

 TypeName ("Gauss")
 Runtime type information. More...
 
 gaussDivScheme (const faMesh &mesh)
 Construct null. More...
 
 gaussDivScheme (const faMesh &mesh, Istream &is)
 Construct from Istream. More...
 
tmp< GeometricField< typename innerProduct< vector, Type >::type, faPatchField, areaMesh > > facDiv (const GeometricField< Type, faPatchField, areaMesh > &)
 
- Public Member Functions inherited from divScheme< Type >
 declareRunTimeSelectionTable (tmp, divScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 divScheme (const faMesh &mesh)
 Construct from mesh. More...
 
 divScheme (const faMesh &mesh, Istream &is)
 Construct from mesh and Istream. More...
 
virtual ~divScheme ()
 Destructor. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
virtual tmp< GeometricField< typename innerProduct< vector, Type >::type, faPatchField, areaMesh > > facDiv (const GeometricField< Type, faPatchField, areaMesh > &)=0
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0. More...
 
int count () const noexcept
 Return the current reference count. More...
 
bool unique () const noexcept
 Return true if the reference count is zero. More...
 
void operator++ () noexcept
 Increment the reference count. More...
 
void operator++ (int) noexcept
 Increment the reference count. More...
 
void operator-- () noexcept
 Decrement the reference count. More...
 
void operator-- (int) noexcept
 Decrement the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from divScheme< Type >
static tmp< divScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 Return a pointer to a new divScheme created on freestore. More...
 
- Protected Member Functions inherited from divScheme< Type >
 divScheme (const divScheme &)=delete
 No copy construct. More...
 
void operator= (const divScheme &)=delete
 No copy assignment. More...
 
- Protected Attributes inherited from divScheme< Type >
const faMeshmesh_
 
tmp< edgeInterpolationScheme< Type > > tinterpScheme_
 

Detailed Description

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

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

Source files

Definition at line 57 of file gaussFaDivScheme.H.

Constructor & Destructor Documentation

◆ gaussDivScheme() [1/2]

gaussDivScheme ( const faMesh mesh)
inline

Construct null.

Definition at line 79 of file gaussFaDivScheme.H.

◆ gaussDivScheme() [2/2]

gaussDivScheme ( const faMesh mesh,
Istream is 
)
inline

Construct from Istream.

Definition at line 85 of file gaussFaDivScheme.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Gauss"  )

Runtime type information.

◆ facDiv()

tmp< GeometricField< typename innerProduct< vector, Type >::type, faPatchField, areaMesh > > facDiv ( const GeometricField< Type, faPatchField, areaMesh > &  vf)
virtual

Implements divScheme< Type >.

Definition at line 50 of file gaussFaDivScheme.C.

References Foam::fac::edgeIntegrate(), and IOobject::name().

Here is the call graph for this function:

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