68 "lnGradCorr("+vf.
name()+
')',
73 vf.
dimensions()*this->mesh().deltaCoeffs().dimensions()
80 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; ++cmpt)
98 corr += (1.0/15.0)*correctedLnGrad<Type>(
mesh).lnGrad(vf);
113 if (correctedLnGrad<Type>(
mesh).corrected())
115 tcorr.ref() += correctedLnGrad<Type>(
mesh).correction(vf);
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.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef().
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
Return the object name.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
const fileName & instance() const noexcept
Read access to instance path component.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Simple central-difference lnGrad scheme with non-orthogonal correction.
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction(const GeometricField< Type, faPatchField, areaMesh > &) const
Return the explicit correction to the correctedLnGrad.
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction(const GeometricField< Type, faPatchField, areaMesh > &) const
Return the explicit correction to the fourthLnGrad.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
virtual ~fourthLnGrad()
Destructor.
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
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.
const faMesh & mesh() const noexcept
Return mesh reference.
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.
Namespace for finite-area.
GeometricField< vector, faePatchField, edgeMesh > edgeVectorField