making wellMod_ in WellModelMatrixAdapter is actually a well model

instead of the BlackoilModelEbos, which reduces some confusion and also
removes a few unnecessary wrapping functions.
This commit is contained in:
Kai Bao
2017-06-07 14:23:43 +02:00
parent e5732ea0a7
commit 908b2bdf81
3 changed files with 12 additions and 25 deletions

View File

@@ -160,10 +160,10 @@ enum WellVariablePositions {
void apply( BVector& r) const;
// subtract B*inv(D)*C * x from A*x
void apply(const BVector& x, BVector& Ax);
void apply(const BVector& x, BVector& Ax) const;
// apply well model with scaling of alpha
void applyScaleAdd(const Scalar alpha, const BVector& x, BVector& Ax);
void applyScaleAdd(const Scalar alpha, const BVector& x, BVector& Ax) const;
// xw = inv(D)*(rw - C*x)
void recoverVariable(const BVector& x, BVector& xw) const;