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

@@ -397,7 +397,7 @@ namespace Opm {
template<typename TypeTag>
void
StandardWellsDense<TypeTag>::
apply(const BVector& x, BVector& Ax)
apply(const BVector& x, BVector& Ax) const
{
if ( ! localWellsActive() ) {
return;
@@ -420,7 +420,7 @@ namespace Opm {
template<typename TypeTag>
void
StandardWellsDense<TypeTag>::
applyScaleAdd(const Scalar alpha, const BVector& x, BVector& Ax)
applyScaleAdd(const Scalar alpha, const BVector& x, BVector& Ax) const
{
if ( ! localWellsActive() ) {
return;