89 public surfaceInterpolationScheme<Type>
99 mutable std::unique_ptr<surfaceScalarField> oDelta_;
102 mutable std::unique_ptr<surfaceScalarField> nDelta_;
108 void makeDeltas()
const;
141 surfaceInterpolationScheme<Type>(
mesh),
142 sigma_(this->
mesh().objectRegistry::template
143 lookupObject<volScalarField>(
word(is))),
156 surfaceInterpolationScheme<Type>(
mesh),
176 return this->
mesh().surfaceInterpolation::weights();
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Volume discretisation.
Registry of regIOobjects.
const fvMesh & mesh() const
Return mesh reference.
A class for managing temporary objects.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Interpolate the cell values to faces.
virtual ~weightedFlux()
Destructor.
const surfaceScalarField & oDelta() const
Return the distance between face and owner cell.
const surfaceScalarField & nDelta() const
Return the distance between face and neighbour cell.
weightedFlux(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
Construct from faceFlux and Istream.
TypeName("weightedFlux")
Runtime type information.
weightedFlux(const fvMesh &mesh, Istream &is)
Construct from Istream.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
void clearOut()
Clear all fields.
A class for handling words, derived from Foam::string.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.