Go to the documentation of this file.
67 void operator=(
const cubic&) =
delete;
140 "cubic::correction(" + vf.name() +
')',
153 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
184 if (!sfCorrbf[
pi].coupled())
Defines the attributes of an object for which implicit objectRegistry management is supported,...
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
void replace(const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf)
Replace specified field component with content from another field.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
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.
TypeName("cubic")
Runtime type information.
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
static word timeName(const scalar t, const int precision=precision_)
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
#define forAll(list, i)
Loop across all elements in list.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
Mesh data needed to do the Finite Volume discretisation.
Vector< scalar > vector
A scalar version of the templated Vector.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
constexpr scalar pi(M_PI)
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
Traits class for primitives.
const surfaceScalarField & weights() const
Return reference to linear difference weighting factors.
cubic(const fvMesh &mesh)
Construct from mesh.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Abstract base class for surface interpolation schemes.
const Time & time() const
Return the top-level database.
const fvMesh & mesh() const
Return mesh reference.
Central-differencing interpolation scheme class.
Cubic interpolation scheme class derived from linear and returns linear weighting factors but also ap...
const surfaceVectorField & Sf() const
Return cell face area vectors.