mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixing the compilation error due to rebasing.
This commit is contained in:
parent
d2d9bd8a80
commit
0ebd25f66a
@ -378,6 +378,11 @@ namespace Opm {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
template <class Grid>
|
template <class Grid>
|
||||||
void
|
void
|
||||||
BlackoilSolventModel<Grid>::
|
BlackoilSolventModel<Grid>::
|
||||||
@ -410,7 +415,7 @@ namespace Opm {
|
|||||||
varstart += dss.size();
|
varstart += dss.size();
|
||||||
|
|
||||||
// Extract well parts np phase rates + bhp
|
// Extract well parts np phase rates + bhp
|
||||||
const V dwells = subset(dx, Span(Base::numWellVars(), 1, varstart));
|
const V dwells = subset(dx, Span(wellModel().numWellVars(), 1, varstart));
|
||||||
varstart += dwells.size();
|
varstart += dwells.size();
|
||||||
|
|
||||||
assert(varstart == dx.size());
|
assert(varstart == dx.size());
|
||||||
@ -616,10 +621,7 @@ namespace Opm {
|
|||||||
std::copy(&rv[0], &rv[0] + nc, reservoir_state.rv().begin());
|
std::copy(&rv[0], &rv[0] + nc, reservoir_state.rv().begin());
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: gravity should be stored as a member
|
wellModel().updateWellState(dwells, dpMaxRel(), well_state);
|
||||||
// const double gravity = detail::getGravity(geo_.gravity(), UgGridHelpers::dimensions(grid_));
|
|
||||||
// asImpl().stdWells().updateWellState(dwells, gravity, dpMaxRel(), fluid_.phaseUsage(), active_, vfp_properties_, well_state);
|
|
||||||
Base::updateWellState(dwells,well_state);
|
|
||||||
|
|
||||||
// Update phase conditions used for property calculations.
|
// Update phase conditions used for property calculations.
|
||||||
updatePhaseCondFromPrimalVariable(reservoir_state);
|
updatePhaseCondFromPrimalVariable(reservoir_state);
|
||||||
|
Loading…
Reference in New Issue
Block a user