64 cubic(
const cubic&) =
delete;
67 void operator=(
const cubic&) =
delete;
115 virtual tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
140 "cubic::correction(" + vf.
name() +
')',
141 mesh.time().timeName(),
153 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
175 )/
mesh.magSf()/
mesh.surfaceInterpolation::deltaCoeffs()
constexpr scalar pi(M_PI)
Generic GeometricField class.
void replace(const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf)
Replace specified field component with content from another field.
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef().
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
@ NO_REGISTER
Do not request registration (bool: false).
@ NO_READ
Nothing to be read.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
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)....
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.
cubic(const fvMesh &mesh)
Construct from mesh.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
cubic(const fvMesh &mesh, const surfaceScalarField &, Istream &)
Construct from mesh, faceFlux and Istream.
cubic(const fvMesh &mesh, Istream &)
Construct from mesh and Istream.
Mesh data needed to do the Finite Volume discretisation.
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
linear(const fvMesh &mesh)
Construct from mesh.
A traits class, which is primarily used for primitives and vector-space.
Abstract base class for surface interpolation schemes.
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.
const fvMesh & mesh() const
Return mesh reference.
A class for managing temporary objects.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
static constexpr const zero Zero
Global zero (0).
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
#define forAll(list, i)
Loop across all elements in list.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.