Merge pull request #1207 from GitPaean/improve_WellModelMatrixAdapter

making wellMod_ in WellModelMatrixAdapter is actually a well model
This commit is contained in:
Atgeirr Flø Rasmussen
2017-06-09 10:46:13 +02:00
committed by GitHub
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;