Public Member Functions | List of all members
leastSquaresFaGrad< Type > Class Template Reference

Second-order gradient scheme using least-squares. More...

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

Public Member Functions

 TypeName ("leastSquares")
 
 leastSquaresFaGrad (const faMesh &mesh)
 
 leastSquaresFaGrad (const faMesh &mesh, Istream &)
 
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh > > grad (const GeometricField< Type, faPatchField, areaMesh > &) const
 
- Public Member Functions inherited from gradScheme< Type >
 declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 gradScheme (const faMesh &mesh)
 
virtual ~gradScheme ()
 
const faMeshmesh () const
 
- 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
 

Additional Inherited Members

- Static Public Member Functions inherited from gradScheme< Type >
static tmp< gradScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 

Detailed Description

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

Second-order gradient scheme using least-squares.

Author Hrvoje Jasak, Wikki Ltd.

Source files

Definition at line 55 of file leastSquaresFaGrad.H.

Constructor & Destructor Documentation

◆ leastSquaresFaGrad() [1/2]

leastSquaresFaGrad ( const faMesh mesh)
inline

Definition at line 77 of file leastSquaresFaGrad.H.

◆ leastSquaresFaGrad() [2/2]

leastSquaresFaGrad ( const faMesh mesh,
Istream  
)
inline

Definition at line 83 of file leastSquaresFaGrad.H.

Member Function Documentation

◆ TypeName()

TypeName ( "leastSquares"  )

◆ grad()

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

Implements gradScheme< Type >.


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