mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add missing header files
This commit is contained in:
parent
097f951557
commit
ef62ea7a7d
@ -141,7 +141,7 @@ std::vector<char *> ReservoirCouplingMaster::getSlaveArgv(
|
|||||||
slave_argv[i] = const_cast<char*>(data_file.c_str());
|
slave_argv[i] = const_cast<char*>(data_file.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
slave_argv[argc] = "--slave=true";
|
slave_argv[argc] = const_cast<char *>("--slave=true");
|
||||||
slave_argv[argc+1] = nullptr;
|
slave_argv[argc+1] = nullptr;
|
||||||
return slave_argv;
|
return slave_argv;
|
||||||
}
|
}
|
||||||
|
@ -212,6 +212,7 @@ public:
|
|||||||
// For now, we require that SLAVES and GRUPMAST are defined at the first
|
// For now, we require that SLAVES and GRUPMAST are defined at the first
|
||||||
// schedule step, so it is enough to check the first step. See the
|
// schedule step, so it is enough to check the first step. See the
|
||||||
// keyword handlers in opm-common for more information.
|
// keyword handlers in opm-common for more information.
|
||||||
|
if (!this->schedule()[0].rescoup.empty()) {
|
||||||
auto master_mode = this->schedule()[0].rescoup().masterMode();
|
auto master_mode = this->schedule()[0].rescoup().masterMode();
|
||||||
if (master_mode) {
|
if (master_mode) {
|
||||||
this->reservoirCouplingMaster_ =
|
this->reservoirCouplingMaster_ =
|
||||||
@ -222,6 +223,7 @@ public:
|
|||||||
this->reservoirCouplingMaster_->spawnSlaveProcesses(argc, argv);
|
this->reservoirCouplingMaster_->spawnSlaveProcesses(argc, argv);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
simulator_.setEpisodeIndex(-1);
|
simulator_.setEpisodeIndex(-1);
|
||||||
|
|
||||||
// Create timers and file for writing timing info.
|
// Create timers and file for writing timing info.
|
||||||
|
Loading…
Reference in New Issue
Block a user