mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Moved water phase check outside loop
This commit is contained in:
@@ -80,7 +80,8 @@ public:
|
||||
protected:
|
||||
bool co2store_or_h2store_() const
|
||||
{
|
||||
return ebos_simulator_.vanguard().eclState().runspec().co2Storage() || ebos_simulator_.vanguard().eclState().runspec().h2Storage();
|
||||
const auto& rspec = ebos_simulator_.vanguard().eclState().runspec();
|
||||
return rspec.co2Storage() || rspec.h2Storage();
|
||||
}
|
||||
|
||||
int phaseIdx_() const
|
||||
|
||||
Reference in New Issue
Block a user