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
d4855b08e1
commit
7dfc25048c
@ -218,14 +218,16 @@ 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.
|
||||||
auto master_mode = this->schedule()[0].rescoup().masterMode();
|
if (!this->schedule()[0].rescoup.empty()) {
|
||||||
if (master_mode) {
|
auto master_mode = this->schedule()[0].rescoup().masterMode();
|
||||||
this->reservoirCouplingMaster_ =
|
if (master_mode) {
|
||||||
std::make_unique<ReservoirCouplingMaster>(
|
this->reservoirCouplingMaster_ =
|
||||||
FlowGenericVanguard::comm(),
|
std::make_unique<ReservoirCouplingMaster>(
|
||||||
this->schedule()
|
FlowGenericVanguard::comm(),
|
||||||
);
|
this->schedule()
|
||||||
this->reservoirCouplingMaster_->spawnSlaveProcesses(argc, argv);
|
);
|
||||||
|
this->reservoirCouplingMaster_->spawnSlaveProcesses(argc, argv);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user