38 #ifndef skewCorrectedEdgeInterpolation_H 39 #define skewCorrectedEdgeInterpolation_H 117 return tScheme_().weights(vf);
124 tScheme_().corrected() || (this->
mesh()).
skew();
143 "skewCorrected::skewCorrection(" + vf.
name() +
')',
179 virtual tmp<GeometricField<Type, faePatchField, edgeMesh>>
182 const GeometricField<Type, faPatchField, areaMesh>& vf
195 return tScheme_().correction(vf);
204 tmp<GeometricField<Type, faePatchField, edgeMesh>>
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
const edgeVectorField & skewCorrectionVectors() const
Return reference to skew vectors array.
void operator=(const skewCorrectedEdgeInterpolation &)=delete
No copy assignment.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
dimensionedTensor skew(const dimensionedTensor &dt)
const word & name() const noexcept
Return the object name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Abstract base class for edge interpolation schemes.
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.
::Foam::direction nComponents(const expressions::valueTypeCode) noexcept
The number of components associated with given valueTypeCode.
Generic dimensioned Type class.
Linear/upwind blended differencing scheme.
static tmp< edgeInterpolationScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
virtual tmp< GeometricField< Type, faePatchField, edgeMesh > > correction(const GeometricField< Type, faPatchField, areaMesh > &vf) const
Return the explicit correction to the face-interpolate.
skewCorrectedEdgeInterpolation(const skewCorrectedEdgeInterpolation &)=delete
No copy construct.
tmp< GeometricField< Type, faePatchField, edgeMesh > > skewCorrection(const GeometricField< Type, faPatchField, areaMesh > &vf) const
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const fileName & instance() const noexcept
Read access to instance path component.
virtual tmp< edgeScalarField > weights(const GeometricField< Type, faPatchField, areaMesh > &vf) const
Return the interpolation weighting factors.
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.
Central-differencing interpolation scheme class.
const faMesh & mesh() const
Return mesh reference.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
TypeName("skewCorrected")
Runtime type information.
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)