20#ifndef OPM_RESERVOIR_COUPLING_SPAWN_SLAVES_HPP
21#define OPM_RESERVOIR_COUPLING_SPAWN_SLAVES_HPP
27#include <opm/input/eclipse/Schedule/ResCoup/ReservoirCouplingInfo.hpp>
28#include <opm/input/eclipse/Schedule/Schedule.hpp>
29#include <opm/common/OpmLog/OpmLog.hpp>
44 const ReservoirCoupling::CouplingInfo &rescoup
50 void createMasterGroupNameOrder_();
51 void createMasterGroupToSlaveNameMap_();
52 std::pair<std::vector<char>, std::size_t>
53 getMasterGroupNamesForSlave_(
const std::string &slave_name)
const;
54 std::vector<char *> getSlaveArgv_(
55 const std::filesystem::path &data_file,
56 const std::string &slave_name,
57 std::string &log_filename)
const;
58 void prepareTimeStepping_();
59 void receiveActivationDateFromSlaves_();
60 void receiveSimulationStartDateFromSlaves_();
61 void sendMasterGroupNamesToSlaves_();
62 void sendSlaveNamesToSlaves_();
63 void spawnSlaveProcesses_();
66 const ReservoirCoupling::CouplingInfo &rescoup_;
Definition: ReservoirCoupling.hpp:35
Definition: ReservoirCouplingMaster.hpp:35
Definition: ReservoirCouplingSpawnSlaves.hpp:38
ReservoirCouplingSpawnSlaves(ReservoirCouplingMaster &master, const ReservoirCoupling::CouplingInfo &rescoup)
Dune::Communication< MPIComm > Communication
Definition: ParallelCommunication.hpp:30
MessageTag
Definition: ReservoirCoupling.hpp:47
Definition: blackoilboundaryratevector.hh:39