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