18 params.
addClassDescription(
"Linear interpolation that uses the geometric weighting on FaceInfo.");
29 const Real elem_value,
30 const Real neighbor_value)
const
32 const Real gc = face.
gC();
33 return gc * elem_value + (1.0 - gc) * neighbor_value;
40 const VectorValue<Real> * ,
41 const VectorValue<Real> * ,
45 const Real gc = face.
gC();
54 const VectorValue<Real> *,
55 const VectorValue<Real> *,
58 return interpolate(face, elem_value, neighbor_value);
registerMooseObject("MooseApp", FVGeometricAverage)
Simple linear interpolation that uses the geometric weighting stored on FaceInfo.
FVGeometricAverage(const InputParameters ¶ms)
AdvectedSystemContribution advectedInterpolate(const FaceInfo &face, Real, Real, const VectorValue< Real > *, const VectorValue< Real > *, Real) const override
Compute the matrix weights for the advected face value.
Real advectedInterpolateValue(const FaceInfo &face, Real elem_value, Real neighbor_value, const VectorValue< Real > *, const VectorValue< Real > *, Real) const override
Compute the advected face value.
static InputParameters validParams()
Real interpolate(const FaceInfo &face, Real elem_value, Real neighbor_value) const override
Face interpolation operation for this method.
Registered base class for linear FV interpolation objects.
static InputParameters validParams()
This data structure is used to store geometric and variable related metadata about each cell face in ...
Real gC() const
Return the geometric weighting factor.
Matrix/RHS contribution for an advected face interpolation.
std::pair< Real, Real > weights_matrix