mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-28 22:14:24 -06:00
parameter order change of addWellContributionToMassBalanceEq().
To follow the corresponding change in opm-autodiff.
This commit is contained in:
parent
9ed6ea1b31
commit
78775cd33e
@ -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 ,
|
||||||
|
@ -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_) {
|
||||||
|
Loading…
Reference in New Issue
Block a user