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);
static skewCorrectionVectors & New(const word &name, const fvMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricField class.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
const word & name() const
Return name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
Centred interpolation interpolation scheme class.
Traits class for primitives.
Skewness-corrected interpolation scheme that applies an explicit correction to given scheme.
skewCorrected(const fvMesh &mesh, Istream &is)
Construct from mesh and Istream.
tmp< SurfaceField< Type > > skewCorrection(const VolField< Type > &vf) const
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
void operator=(const skewCorrected &)=delete
Disallow default bitwise assignment.
tmp< surfaceScalarField > weights(const VolField< Type > &vf) const
Return the interpolation weighting factors.
TypeName("skewCorrected")
Runtime type information.
virtual tmp< SurfaceField< Type > > correction(const VolField< Type > &vf) const
Return the explicit correction to the face-interpolate.
Skew-correction vectors for the skewness-corrected interpolation scheme.
bool skew() const
Return whether mesh is skew or not.
Abstract base class for surface interpolation schemes.
const fvMesh & mesh() const
Return mesh reference.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &, const tmp< surfaceScalarField > &, const tmp< surfaceScalarField > &)
Return the face-interpolate of the given cell field.
static tmp< surfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
dimensionedTensor skew(const dimensionedTensor &dt)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.