mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
Use ScheduleState to manage network properties
This commit is contained in:
parent
c5ae6b7b9a
commit
5b129a3304
@ -1358,7 +1358,7 @@ namespace Opm {
|
||||
{
|
||||
// Get the network and return if inactive.
|
||||
const int reportStepIdx = ebosSimulator_.episodeIndex();
|
||||
const auto& network = schedule().network(reportStepIdx);
|
||||
const auto& network = schedule()[reportStepIdx].network();
|
||||
if (!network.active()) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user