using Base = LinearOperatorExtra <X, Y>
using field_type = typename Base::field_type
using PressureMatrix = typename Base::PressureMatrix
WellModelAsLinearOperator (const WellModel &wm)
void apply (const X &x, Y &y) const override
apply operator to x: The input vector is consistent and the output must also be consistent on the interior+border partition.
void applyscaleadd (field_type alpha, const X &x, Y &y) const override
apply operator to x, scale and add:
Dune::SolverCategory::Category category () const override
Category for operator.
void addWellPressureEquations (PressureMatrix &jacobian, const X &weights, const bool use_well_weights) const override
void addWellPressureEquationsStruct (PressureMatrix &jacobian) const override
int getNumberOfExtraEquations () const override
const WellModel & wellMod_
◆ addWellPressureEquations()
template<class WellModel , class X , class Y >
void Opm::WellModelAsLinearOperator < WellModel, X, Y >::addWellPressureEquations
(
PressureMatrix & jacobian ,
const X & weights ,
const bool use_well_weights ) const
inline override virtual
◆ addWellPressureEquationsStruct()
template<class WellModel , class X , class Y >
◆ category()
template<class WellModel , class X , class Y >
Category for operator.
This is somewhat tricky, I consider this operator sequential since (unlike WellModelMatrixAdapter ) it does not do any projections etc. but only forwards the calls to the sequential well model.
◆ getNumberOfExtraEquations()
template<class WellModel , class X , class Y >
The documentation for this class was generated from the following file: