mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
MSWellHelpers: simplify interfaces
- avoid passing the matrix, only pass the solver. possible since setting up the solver is not done in here any more. - avoid passing shared_ptr's
This commit is contained in:
@@ -400,7 +400,7 @@ recoverSolutionWell(const BVector& x, BVectorWell& xw) const
|
||||
// resWell = resWell - B * x
|
||||
linSys_.duneB_.mmv(x, resWell);
|
||||
// xw = D^-1 * resWell
|
||||
xw = mswellhelpers::applyUMFPack(linSys_.duneD_, linSys_.duneDSolver_, resWell);
|
||||
xw = mswellhelpers::applyUMFPack(*linSys_.duneDSolver_, resWell);
|
||||
}
|
||||
|
||||
template<typename FluidSystem, typename Indices, typename Scalar>
|
||||
|
||||
Reference in New Issue
Block a user