36 #ifndef skewCorrected_H 37 #define skewCorrected_H 113 return tScheme_().weights(vf);
120 tScheme_().corrected()
138 "skewCorrected::skewCorrection(" + vf.
name() +
')',
149 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
151 tsfCorr.
ref().replace
190 return tScheme_().correction(vf);
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
TypeName("skewCorrected")
Runtime type information.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
const word & name() const
Return name.
dimensionedTensor skew(const dimensionedTensor &dt)
Centred interpolation interpolation scheme class.
T & ref() const
Return non-const reference or generate a fatal error.
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.
Traits class for primitives.
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
Generic dimensioned Type class.
const fvMesh & mesh() const
Return mesh reference.
void operator=(const skewCorrected &)=delete
Disallow default bitwise assignment.
const dimensionSet & dimensions() const
Return dimensions.
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
Skewness-corrected interpolation scheme that applies an explicit correction to given scheme...
static skewCorrectionVectors & New(fvMesh &mesh)
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.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
bool skew() const
Return whether mesh is skew or not.
skewCorrected(const fvMesh &mesh, Istream &is)
Construct from mesh and Istream.
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.
Abstract base class for surface interpolation schemes.