118 lambda*(scalar(1) - lambda*(scalar(3) - scalar(2)*lambda))
128 "cubic::correction(" + vf.
name() +
')',
135 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
157 )/mesh.
magSf()/mesh.surfaceInterpolation::deltaCoeffs()
166 if (!sfCorrbf[
pi].coupled())
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
void replace(const direction, const GeometricField< cmptType, PatchField, GeoMesh > &)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
#define forAll(list, i)
Loop across all elements in list.
const surfaceVectorField & Sf() const
Return cell face area vectors.
const word & name() const
Return name.
cubic(const fvMesh &mesh)
Construct from mesh.
Central-differencing interpolation scheme class.
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
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.
Vector< scalar > vector
A scalar version of the templated Vector.
const fvMesh & mesh() const
Return mesh reference.
Cubic interpolation scheme class derived from linear and returns linear weighting factors but also ap...
const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
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.
void operator=(const cubic &)=delete
Disallow default bitwise assignment.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
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.
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
TypeName("cubic")
Runtime type information.
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.