diff --git a/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp b/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp index a69df50bb..1ce3f963c 100644 --- a/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp +++ b/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp @@ -227,9 +227,10 @@ namespace Opm { assembleMassBalanceEq(const SolutionState& state); void - addWellContributionToMassBalanceEq(const SolutionState& state, - const WellState& xw, - const std::vector& cq_s); + addWellContributionToMassBalanceEq(const std::vector& cq_s, + const SolutionState& state, + WellState& xw); + void computeMassFlux(const int actph , const V& transi, diff --git a/opm/polymer/fullyimplicit/BlackoilPolymerModel_impl.hpp b/opm/polymer/fullyimplicit/BlackoilPolymerModel_impl.hpp index 19bb9be38..e4e2480b1 100644 --- a/opm/polymer/fullyimplicit/BlackoilPolymerModel_impl.hpp +++ b/opm/polymer/fullyimplicit/BlackoilPolymerModel_impl.hpp @@ -337,11 +337,12 @@ namespace Opm { template - void BlackoilPolymerModel::addWellContributionToMassBalanceEq(const SolutionState& state, - const WellState& xw, - const std::vector& cq_s) + void BlackoilPolymerModel::addWellContributionToMassBalanceEq(const std::vector& cq_s, + const SolutionState& state, + WellState& xw) + { - Base::addWellContributionToMassBalanceEq(state, xw, cq_s); + Base::addWellContributionToMassBalanceEq(cq_s, state, xw); // Add well contributions to polymer mass balance equation if (has_polymer_) {