mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Adjust to upstream changes
Change from std::vector<int> to std::vector<HydroCarbonState> for the hydroCarbonState
This commit is contained in:
parent
01c782dbf3
commit
5757ef8ad0
@ -1428,7 +1428,7 @@ namespace detail {
|
||||
auto watOnly = sw > (1 - epsilon);
|
||||
|
||||
// phase translation sg <-> rs
|
||||
std::vector<int>& hydroCarbonState = reservoir_state.hydroCarbonState();
|
||||
std::vector<HydroCarbonState>& hydroCarbonState = reservoir_state.hydroCarbonState();
|
||||
std::fill(hydroCarbonState.begin(), hydroCarbonState.end(), HydroCarbonState::GasAndOil);
|
||||
|
||||
if (has_disgas_) {
|
||||
|
Loading…
Reference in New Issue
Block a user