Surface gradient scheme with no non-orthogonal correction. More...
Public Member Functions | |
TypeName ("orthogonal") | |
Runtime type information. More... | |
orthogonalSnGrad (const fvMesh &mesh) | |
Construct from mesh. More... | |
orthogonalSnGrad (const fvMesh &mesh, Istream &) | |
Construct from mesh and data stream. More... | |
virtual | ~orthogonalSnGrad ()=default |
Destructor. More... | |
virtual tmp< surfaceScalarField > | deltaCoeffs (const GeometricField< Type, fvPatchField, volMesh > &) const |
Return the interpolation weighting factors for the given field. More... | |
virtual bool | corrected () const noexcept |
Return true if this scheme uses an explicit correction. More... | |
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | correction (const GeometricField< Type, fvPatchField, volMesh > &) const |
Return the explicit correction to the orthogonalSnGrad for the given field. More... | |
Public Member Functions inherited from snGradScheme< Type > | |
virtual const word & | type () const =0 |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, snGradScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
snGradScheme (const fvMesh &mesh) | |
Construct from mesh. More... | |
virtual | ~snGradScheme ()=default |
Destructor. More... | |
const fvMesh & | mesh () const |
Return const reference to mesh. More... | |
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | snGrad (const GeometricField< Type, fvPatchField, volMesh > &) const |
Return the snGrad of the given cell field with explicit correction. More... | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | snGrad (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const |
Return the snGrad of the given tmp cell field with explicit correction. More... | |
Public Member Functions inherited from refCount | |
constexpr | refCount () noexcept |
Default construct, initializing count to 0. More... | |
int | use_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 snGradScheme< Type > | |
static tmp< snGradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
Return new tmp interpolation scheme. More... | |
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | snGrad (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const word &snGradName="snGrad") |
Return the snGrad of the given cell field by using the given deltaCoeffs. More... | |
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | sndGrad (const GeometricField< Type, fvPatchField, volMesh > &, const word &snGradName="sndGrad") |
Return the sndGrad of the given cell field. More... | |
Surface gradient scheme with no non-orthogonal correction.
system/fvSchemes
: snGradSchemes { snGrad(<term>) orthogonal; }
deltaCoeffs
function rather than the nonOrthDeltaCoeffs
function, which is used by the uncorrected
scheme.Definition at line 70 of file orthogonalSnGrad.H.
|
inline |
Construct from mesh.
Definition at line 95 of file orthogonalSnGrad.H.
|
inline |
Construct from mesh and data stream.
Definition at line 103 of file orthogonalSnGrad.H.
|
virtualdefault |
Destructor.
TypeName | ( | "orthogonal" | ) |
Runtime type information.
|
inlinevirtual |
Return the interpolation weighting factors for the given field.
Implements snGradScheme< Type >.
Definition at line 121 of file orthogonalSnGrad.H.
References surfaceInterpolation::deltaCoeffs(), and snGradScheme< Type >::mesh().
|
inlinevirtualnoexcept |
Return true if this scheme uses an explicit correction.
Reimplemented from snGradScheme< Type >.
Definition at line 131 of file orthogonalSnGrad.H.
|
virtual |
Return the explicit correction to the orthogonalSnGrad for the given field.
Reimplemented from snGradScheme< Type >.
Definition at line 41 of file orthogonalSnGrad.C.
References NotImplemented.