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

Simple central-difference lnGrad scheme with non-orthogonal correction. More...

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

Public Member Functions

 TypeName ("corrected")
 
 correctedLnGrad (const faMesh &mesh)
 
 correctedLnGrad (const faMesh &mesh, Istream &)
 
virtual ~correctedLnGrad ()
 
virtual tmp< edgeScalarFielddeltaCoeffs (const GeometricField< Type, faPatchField, areaMesh > &) const
 
virtual bool corrected () const
 
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction (const GeometricField< Type, faPatchField, areaMesh > &) const
 
- Public Member Functions inherited from lnGradScheme< Type >
 declareRunTimeSelectionTable (tmp, lnGradScheme, Mesh,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 lnGradScheme (const faMesh &mesh)
 
virtual ~lnGradScheme ()
 
const faMeshmesh () const
 
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad (const GeometricField< Type, faPatchField, areaMesh > &) const
 
tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad (const tmp< GeometricField< Type, faPatchField, areaMesh >> &) 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 lnGradScheme< Type >
static tmp< lnGradScheme< Type > > New (const faMesh &mesh, Istream &schemeData)
 
static tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const word &snGradName="lnGrad")
 

Detailed Description

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

Simple central-difference lnGrad scheme with non-orthogonal correction.

Source files

Definition at line 52 of file correctedLnGrad.H.

Constructor & Destructor Documentation

◆ correctedLnGrad() [1/2]

correctedLnGrad ( const faMesh mesh)
inline

Definition at line 71 of file correctedLnGrad.H.

◆ correctedLnGrad() [2/2]

correctedLnGrad ( const faMesh mesh,
Istream  
)
inline

Definition at line 78 of file correctedLnGrad.H.

◆ ~correctedLnGrad()

~correctedLnGrad
virtual

Definition at line 40 of file correctedLnGrad.C.

Member Function Documentation

◆ TypeName()

TypeName ( "corrected"  )

◆ deltaCoeffs()

virtual tmp<edgeScalarField> deltaCoeffs ( const GeometricField< Type, faPatchField, areaMesh > &  ) const
inlinevirtual

Implements lnGradScheme< Type >.

Definition at line 92 of file correctedLnGrad.H.

References edgeInterpolation::deltaCoeffs(), and lnGradScheme< Type >::mesh().

Here is the call graph for this function:

◆ corrected()

virtual bool corrected ( ) const
inlinevirtual

Reimplemented from lnGradScheme< Type >.

Definition at line 100 of file correctedLnGrad.H.

References lnGradScheme< Type >::mesh(), and edgeInterpolation::orthogonal().

Here is the call graph for this function:

◆ correction()

tmp< GeometricField< Type, faePatchField, edgeMesh > > correction ( const GeometricField< Type, faPatchField, areaMesh > &  vf) const
virtual

Reimplemented from lnGradScheme< Type >.

Definition at line 49 of file correctedLnGrad.C.

References GeometricField::component(), mesh, Foam::New(), tmp::ref(), GeometricField::replace(), and Foam::type().

Referenced by fourthLnGrad< Type >::correction().

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

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