added: MultisegmentWellEquations::residual()

this returns a const reference to the residual vector.
use this in MultisegmentWellEval
This commit is contained in:
Arne Morten Kvarving
2022-11-18 12:59:16 +01:00
parent 4545761374
commit 2d154b50bb
2 changed files with 11 additions and 5 deletions

View File

@@ -110,6 +110,12 @@ public:
const int seg_pressure_var_ind,
const WellState& well_state) const;
//! \brief Returns a const reference to the residual.
const BVectorWell& residual() const
{
return resWell_;
}
// two off-diagonal matrices
OffDiagMatWell duneB_;
OffDiagMatWell duneC_;