mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 08:54:53 -05:00
Add missing header files
This commit is contained in:
1 parent
d4855b08e1
commit
7dfc25048c
1 file changed
+10
-8
@@ -218,14 +218,16 @@ public:
|
||||
// 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
|
||||
// keyword handlers in opm-common for more information.
|
||||
auto master_mode = this->schedule()[0].rescoup().masterMode();
|
||||
if (master_mode) {
|
||||
this->reservoirCouplingMaster_ =
|
||||
std::make_unique<ReservoirCouplingMaster>(
|
||||
FlowGenericVanguard::comm(),
|
||||
this->schedule()
|
||||
);
|
||||
this->reservoirCouplingMaster_->spawnSlaveProcesses(argc, argv);
|
||||
if (!this->schedule()[0].rescoup.empty()) {
|
||||
auto master_mode = this->schedule()[0].rescoup().masterMode();
|
||||
if (master_mode) {
|
||||
this->reservoirCouplingMaster_ =
|
||||
std::make_unique<ReservoirCouplingMaster>(
|
||||
FlowGenericVanguard::comm(),
|
||||
this->schedule()
|
||||
);
|
||||
this->reservoirCouplingMaster_->spawnSlaveProcesses(argc, argv);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user