Go to the documentation of this file.
38 #ifndef skewCorrectedEdgeInterpolation_H
39 #define skewCorrectedEdgeInterpolation_H
115 return tScheme_().weights(vf);
122 tScheme_().corrected() || (this->
mesh()).
skew();
141 "skewCorrected::skewCorrection(" + vf.name() +
')',
152 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; ++cmpt)
193 return tScheme_().correction(vf);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction(const GeometricField< Type, faPatchField, areaMesh > &vf) const
Return the explicit correction to the face-interpolate.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
Abstract base class for edge interpolation schemes.
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
dimensionedTensor skew(const dimensionedTensor &dt)
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
const faMesh & mesh() const
Return mesh reference.
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
const edgeVectorField & skewCorrectionVectors() const
Return reference to skew vectors array.
virtual tmp< edgeScalarField > weights(const GeometricField< Type, faPatchField, areaMesh > &vf) const
Return the interpolation weighting factors.
Linear/upwind blended differencing scheme.
TypeName("skewCorrected")
Runtime type information.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
tmp< GeometricField< Type, faePatchField, edgeMesh > > skewCorrection(const GeometricField< Type, faPatchField, areaMesh > &vf) const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Generic dimensioned Type class.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &, const tmp< edgeScalarField > &, const tmp< edgeScalarField > &)
Return the face-interpolate of the given cell field.
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
A traits class, which is primarily used for primitives.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Central-differencing interpolation scheme class.
Finite area mesh. Used for 2-D non-Euclidian finite area method.
skewCorrectedEdgeInterpolation(const faMesh &mesh, Istream &is)
Construct from Istream.
static tmp< edgeInterpolationScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
void operator=(const skewCorrectedEdgeInterpolation &)=delete
No copy assignment.