59 public surfaceInterpolationScheme<Type>,
72 localBlended(
const localBlended&) =
delete;
75 void operator=(
const localBlended&) =
delete;
95 surfaceInterpolationScheme<Type>(
mesh),
98 surfaceInterpolationScheme<Type>::
New(
mesh, is)
102 surfaceInterpolationScheme<Type>::
New(
mesh, is)
117 surfaceInterpolationScheme<Type>::
New(
mesh, faceFlux, is)
121 surfaceInterpolationScheme<Type>::
New(
mesh, faceFlux, is)
139 this->
mesh().objectRegistry::template
140 lookupObject<const surfaceScalarField>
153 this->
mesh().objectRegistry::template
154 lookupObject<const surfaceScalarField>
171 this->
mesh().objectRegistry::template
172 lookupObject<const surfaceScalarField>
187 return tScheme1_().corrected() || tScheme2_().corrected();
200 this->
mesh().objectRegistry::template
201 lookupObject<const surfaceScalarField>
Generic GeometricField class.
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)....
blendedSchemeBase()=default
Constructor.
Mesh data needed to do the Finite Volume discretisation.
Two-scheme localBlended differencing scheme.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
localBlended(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
Construct from mesh, faceFlux and Istream.
TypeName("localBlended")
Runtime type information.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
localBlended(const fvMesh &mesh, Istream &is)
Construct from mesh and Istream.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
virtual ~localBlended()=default
Destructor.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the face-interpolate of the given cell field.
virtual tmp< surfaceScalarField > blendingFactor(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the face-based blending factor.
Abstract base class for surface interpolation schemes.
const fvMesh & mesh() const
Return mesh reference.
static tmp< surfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.