added: MultisegmentWellEquations::apply(x,Ax)

this applies the equation system to a vector.
use the new method in the well implementation.
This commit is contained in:
Arne Morten Kvarving
2022-11-11 21:41:24 +01:00
parent 8fe6b3968e
commit f2acbccc1a
3 changed files with 24 additions and 13 deletions

View File

@@ -74,7 +74,9 @@ public:
//! \brief Set all coefficients to 0.
void clear();
// TODO, the following should go to a class for computing purpose
//! \brief Apply linear operator to vector.
void apply(const BVector& x, BVector& Ax) const;
// two off-diagonal matrices
OffDiagMatWell duneB_;
OffDiagMatWell duneC_;