Abstract base class for lnGrad schemes. More...
#include <lnGradScheme.H>


Public Member Functions | |
| declareRunTimeSelectionTable (tmp, lnGradScheme, Mesh,(const faMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
| lnGradScheme (const lnGradScheme &)=delete | |
| No copy construct. | |
| void | operator= (const lnGradScheme &)=delete |
| No copy assignment. | |
| lnGradScheme (const faMesh &mesh) | |
| Construct from mesh. | |
| virtual | ~lnGradScheme () |
| Destructor. | |
| const faMesh & | mesh () const noexcept |
| Return mesh reference. | |
| virtual tmp< edgeScalarField > | deltaCoeffs (const GeometricField< Type, faPatchField, areaMesh > &) const =0 |
| Return the interpolation weighting factors for the given field. | |
| virtual bool | corrected () const |
| Return true if this scheme uses an explicit correction. | |
| virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | correction (const GeometricField< Type, faPatchField, areaMesh > &) const |
| Return the explicit correction to the lnGrad. | |
| virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > | lnGrad (const GeometricField< Type, faPatchField, areaMesh > &) const |
| Return the lnGrad of the given cell field. | |
| tmp< GeometricField< Type, faePatchField, edgeMesh > > | lnGrad (const tmp< GeometricField< Type, faPatchField, areaMesh > > &) const |
| Return the lnGrad of the given tmp cell field. | |
| Public Member Functions inherited from refCount | |
| constexpr | refCount () noexcept |
| Default construct, initializing count to 0. | |
| int | use_count () const noexcept |
| Return the current reference count. | |
| bool | unique () const noexcept |
| Return true if the reference count is zero. | |
| void | operator++ () noexcept |
| Increment the reference count. | |
| void | operator++ (int) noexcept |
| Increment the reference count. | |
| void | operator-- () noexcept |
| Decrement the reference count. | |
| void | operator-- (int) noexcept |
| Decrement the reference count. | |
Static Public Member Functions | |
| static tmp< lnGradScheme< Type > > | New (const faMesh &mesh, Istream &schemeData) |
| Return new tmp interpolation scheme. | |
| static tmp< GeometricField< Type, faePatchField, edgeMesh > > | lnGrad (const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const word &snGradName="lnGrad") |
| Return the lnGrad of the given cell field. | |
Abstract base class for lnGrad schemes.
Definition at line 57 of file lnGradScheme.H.
|
delete |
No copy construct.
References lnGradScheme().
Referenced by correctedLnGrad< Type >::correctedLnGrad(), correctedLnGrad< Type >::correctedLnGrad(), declareRunTimeSelectionTable(), fourthLnGrad< Type >::fourthLnGrad(), fourthLnGrad< Type >::fourthLnGrad(), limitedLnGrad< Type >::limitedLnGrad(), limitedLnGrad< Type >::limitedLnGrad(), lnGradScheme(), operator=(), uncorrectedLnGrad< Type >::uncorrectedLnGrad(), and uncorrectedLnGrad< Type >::uncorrectedLnGrad().


|
inline |
Construct from mesh.
Definition at line 101 of file lnGradScheme.H.
References mesh().

|
virtual |
Destructor.
Definition at line 84 of file lnGradScheme.C.
|
delete |
|
static |
Return new tmp interpolation scheme.
Definition at line 40 of file lnGradScheme.C.
References Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, mesh(), and Foam::nl.
Referenced by correctedLnGrad< Type >::correction(), and Foam::fac::lnGrad().


|
inlinenoexcept |
Return mesh reference.
Definition at line 130 of file lnGradScheme.H.
References Foam::noexcept.
Referenced by correctedLnGrad< Type >::corrected(), limitedLnGrad< Type >::corrected(), correctedLnGrad< Type >::correctedLnGrad(), correctedLnGrad< Type >::correctedLnGrad(), correctedLnGrad< Type >::correction(), fourthLnGrad< Type >::correction(), declareRunTimeSelectionTable(), correctedLnGrad< Type >::deltaCoeffs(), fourthLnGrad< Type >::deltaCoeffs(), limitedLnGrad< Type >::deltaCoeffs(), uncorrectedLnGrad< Type >::deltaCoeffs(), fourthLnGrad< Type >::fourthLnGrad(), fourthLnGrad< Type >::fourthLnGrad(), limitedLnGrad< Type >::limitedLnGrad(), limitedLnGrad< Type >::limitedLnGrad(), lnGrad(), lnGradScheme(), New(), uncorrectedLnGrad< Type >::uncorrectedLnGrad(), and uncorrectedLnGrad< Type >::uncorrectedLnGrad().

|
static |
Return the lnGrad of the given cell field.
with the given weighting factors
Definition at line 92 of file lnGradScheme.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), IOobject::db(), deltaCoeffs(), DimensionedField< Type, GeoMesh >::dimensions(), forAll, IOobject::instance(), DimensionedField< Type, GeoMesh >::mesh(), mesh(), IOobject::name(), IOobjectOption::NO_READ, IOobjectOption::NO_WRITE, and tmp< T >::ref().
Referenced by fourthLnGrad< Type >::correction(), limitedLnGrad< Type >::correction(), lnGrad(), and lnGrad().


|
pure virtual |
Return the interpolation weighting factors for the given field.
Implemented in correctedLnGrad< Type >, fourthLnGrad< Type >, limitedLnGrad< Type >, and uncorrectedLnGrad< Type >.
Referenced by lnGrad(), and lnGrad().

|
inlinevirtual |
Return true if this scheme uses an explicit correction.
Reimplemented in correctedLnGrad< Type >, fourthLnGrad< Type >, limitedLnGrad< Type >, and uncorrectedLnGrad< Type >.
Definition at line 156 of file lnGradScheme.H.
Referenced by lnGrad().

|
inlinevirtual |
Return the explicit correction to the lnGrad.
for the given field
Reimplemented in correctedLnGrad< Type >, fourthLnGrad< Type >, limitedLnGrad< Type >, and uncorrectedLnGrad< Type >.
Definition at line 164 of file lnGradScheme.H.
|
virtual |
Return the lnGrad of the given cell field.
with explicit correction
Definition at line 146 of file lnGradScheme.C.
References corrected(), Foam::correction(), deltaCoeffs(), lnGrad(), and tmp< T >::ref().

| tmp< GeometricField< Type, faePatchField, edgeMesh > > lnGrad | ( | const tmp< GeometricField< Type, faPatchField, areaMesh > > & | tvf | ) | const |
Return the lnGrad of the given tmp cell field.
with explicit correction
Definition at line 165 of file lnGradScheme.C.
References lnGrad().
