Merge pull request #4861 from hnil/fixed_msw_addwellcontricutions

fixed add-well-contributions for multisegement wells
This commit is contained in:
Atgeirr Flø Rasmussen
2023-09-13 11:40:40 +02:00
committed by GitHub

View File

@@ -266,8 +266,8 @@ template<class SparseMatrixAdapter>
void MultisegmentWellEquations<Scalar,numWellEq,numEq>::
extract(SparseMatrixAdapter& jacobian) const
{
const auto invDuneD = mswellhelpers::invertWithUMFPack<BVectorWell>(numWellEq,
numEq,
const auto invDuneD = mswellhelpers::invertWithUMFPack<BVectorWell>(duneD_.M(),
numWellEq,
*duneDSolver_);
// We need to change matrix A as follows