73 gradSchemeName_(
"grad")
84 gradSchemeName_(schemeData)
96 gradSchemeName_(schemeData)
135 "cubic::correction(" + vf.
name() +
')',
142 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
176 if (!sfCorrbf[
pi].coupled())
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricField class.
tmp< GeometricField< cmptType, GeoMesh, Field > > component(const direction) const
Return a component of the field.
void replace(const direction, const GeometricField< cmptType, GeoMesh, PrimitiveField2 > &)
Replace a component field of the field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
const word & name() const
Return name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Cubic interpolation scheme class derived from linear and returns linear weighting factors but also ap...
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
TypeName("cubic")
Runtime type information.
void operator=(const cubic &)=delete
Disallow default bitwise assignment.
cubic(const fvMesh &mesh)
Construct from mesh.
virtual tmp< SurfaceField< Type > > correction(const VolField< Type > &vf) const
Return the explicit correction to the face-interpolate.
Mesh data needed to do the Finite Volume discretisation.
const fvSchemes & schemes() const
Return the fvSchemes.
tmp< surfaceVectorField > delta() const
Return face deltas as surfaceVectorField.
ITstream & grad(const word &name) const
Abstract base class for gradient schemes.
Centred interpolation interpolation scheme class.
Traits class for primitives.
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.
const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
dimensionedScalar lambda(viscosity->lookup("lambda"))
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.