final revert

This commit is contained in:
Stein Krogstad 2023-10-26 17:45:02 +02:00
parent 94c0b49cf7
commit 2470b20d13
2 changed files with 8 additions and 0 deletions

View File

@ -177,6 +177,11 @@ void StandardWellEquations<Scalar,numEq>::solve(BVectorWell& dx_well) const
invDuneD_.mv(resWell_, dx_well);
}
template<class Scalar, int numEq>
void StandardWellEquations<Scalar,numEq>::solve(BVectorWell& rhs_well, BVectorWell& x_well) const
{
invDuneD_.mv(rhs_well, x_well);
}
template<class Scalar, int numEq>
void StandardWellEquations<Scalar,numEq>::

View File

@ -89,6 +89,9 @@ public:
//! \brief Apply inverted D matrix to residual and store in vector.
void solve(BVectorWell& dx_well) const;
//! \brief Apply inverted D matrix to rhs and store in vector.
void solve(BVectorWell& rhs_well, BVectorWell& x_well) const;
//! \brief Invert D matrix.
void invert();