51 mesh.nonOrthCorrectionVectors(),
55 mesh.gradScheme(
"grad(" + vf.
name() +
')')
56 )().grad(vf,
"grad(" + vf.
name() +
')')
58 tssf.
ref().rename(
"snGradCorr(" + vf.
name() +
')');
80 "snGradCorr("+vf.
name()+
')',
93 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; ++cmpt)
void setOriented(bool on=true) noexcept
Set the oriented flag: on/off.
const dimensionSet & dimensions() const noexcept
Return dimensions.
Generic GeometricField class.
void replace(const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf)
Replace specified field component with content from another field.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
@ NO_READ
Nothing to be read.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
Return the object name.
const fileName & instance() const noexcept
Read access to instance path component.
Mesh data needed to do the Finite Volume discretisation.
Surface gradient scheme with full explicit non-orthogonal correction.
correctedSnGrad(const fvMesh &mesh)
Construct from mesh.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the correctedSnGrad for the given field using the gradients of the ...
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > fullGradCorrection(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the correctedSnGrad for the given field using the gradient of the f...
static tmp< gradScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new gradScheme created on freestore.
const fvMesh & mesh() const
Return const reference to mesh.
Central-differencing interpolation scheme class.
A traits class, which is primarily used for primitives and vector-space.
A class for managing temporary objects.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
Calculate the gradient of the given field.