cusparseSolver can now apply wellcontributions separately, so --matrix-add-wellcontributions=true is not required anymore

This commit is contained in:
T.D. (Tongdong) Qiu
2020-03-13 14:21:59 +01:00
parent 5b457cbbd6
commit 581cbc6a3e
12 changed files with 763 additions and 77 deletions

View File

@@ -192,6 +192,9 @@ namespace Opm {
// subtract B*inv(D)*C * x from A*x
void apply(const BVector& x, BVector& Ax) const;
// accumulate the contributions of all Wells in the WellContributions object
void getWellContributions(WellContributions& x) const;
// apply well model with scaling of alpha
void applyScaleAdd(const Scalar alpha, const BVector& x, BVector& Ax) const;