41 #ifndef skewCorrected_H 42 #define skewCorrected_H 124 return tScheme_().weights(vf);
131 tScheme_().corrected()
151 "skewCorrected::skewCorrection(" + vf.
name() +
')',
162 tsfCorr.
ref().replace
185 virtual tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
188 const GeometricField<Type, fvPatchField, volMesh>& vf
201 return tScheme_().correction(vf);
210 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
TypeName("skewCorrected")
Runtime type information.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
dimensionedTensor skew(const dimensionedTensor &dt)
Central-differencing interpolation scheme class.
const word & name() const noexcept
Return the object name.
static const skewCorrectionVectors & New(const fvMesh &mesh, Args &&... args)
Get existing or create MeshObject registered with typeName.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
A traits class, which is primarily used for primitives and vector-space.
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
::Foam::direction nComponents(const expressions::valueTypeCode) noexcept
The number of components associated with given valueTypeCode.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
Generic dimensioned Type class.
const fvMesh & mesh() const
Return mesh reference.
const Time & time() const
Return the top-level database.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static tmp< surfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > skewCorrection(const GeometricField< Type, fvPatchField, volMesh > &vf) const
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
Skewness-corrected interpolation scheme that applies an explicit correction to given scheme...
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const tmp< surfaceScalarField > &)
Return the face-interpolate of the given cell field.
Skew-correction vectors for the skewness-corrected interpolation scheme.
Mesh data needed to do the Finite Volume discretisation.
bool skew() const
Return whether mesh is skew or not.
A class for managing temporary objects.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Abstract base class for surface interpolation schemes.
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
const dimensionSet & dimensions() const noexcept
Return dimensions.
static constexpr const zero Zero
Global zero (0)