parameter order change of addWellContributionToMassBalanceEq().

To follow the corresponding change in opm-autodiff.
This commit is contained in:
Kai Bao 2015-06-22 12:48:22 +02:00
parent 9ed6ea1b31
commit 78775cd33e
2 changed files with 8 additions and 7 deletions

View File

@ -207,9 +207,9 @@ namespace Opm {
assembleMassBalanceEq(const SolutionState& state); assembleMassBalanceEq(const SolutionState& state);
void void
addWellContributionToMassBalanceEq(const SolutionState& state, addWellContributionToMassBalanceEq(const std::vector<ADB>& cq_s,
const WellState& xw, const SolutionState& state,
const std::vector<ADB>& cq_s); WellState& xw);
void void
computeMassFlux(const int actph , computeMassFlux(const int actph ,

View File

@ -279,11 +279,12 @@ namespace Opm {
template <class Grid> template <class Grid>
void BlackoilPolymerModel<Grid>::addWellContributionToMassBalanceEq(const SolutionState& state, void BlackoilPolymerModel<Grid>::addWellContributionToMassBalanceEq(const std::vector<ADB>& cq_s,
const WellState& xw, const SolutionState& state,
const std::vector<ADB>& cq_s) WellState& xw)
{ {
Base::addWellContributionToMassBalanceEq(state, xw, cq_s); Base::addWellContributionToMassBalanceEq(cq_s, state, xw);
// Add well contributions to polymer mass balance equation // Add well contributions to polymer mass balance equation
if (has_polymer_) { if (has_polymer_) {