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>
38template <
class Scalar>
45 const ReservoirCoupling::CouplingInfo &rescoup
51 void createMasterGroupNameOrder_();
52 void createMasterGroupToSlaveNameMap_();
53 void createSlaveNameToMasterGroupsMap_();
54 std::pair<std::vector<char>, std::size_t>
55 getMasterGroupNamesForSlave_(std::size_t slave_idx)
const;
56 std::vector<char *> getSlaveArgv_(
57 const std::filesystem::path &data_file,
58 const std::string &slave_name,
59 std::string &log_filename)
const;
60 void receiveActivationDateFromSlaves_();
61 void receiveSimulationStartDateFromSlaves_();
62 void sendMasterGroupNamesToSlaves_();
63 void sendSlaveNamesToSlaves_();
64 void spawnSlaveProcesses_();
67 const ReservoirCoupling::CouplingInfo &rescoup_;
Definition: ReservoirCoupling.hpp:36
Definition: ReservoirCouplingMaster.hpp:38
Definition: ReservoirCouplingSpawnSlaves.hpp:39
ReservoirCouplingSpawnSlaves(ReservoirCouplingMaster< Scalar > &master, const ReservoirCoupling::CouplingInfo &rescoup)
Dune::Communication< MPIComm > Communication
Definition: ParallelCommunication.hpp:30
MessageTag
Definition: ReservoirCoupling.hpp:121
Definition: blackoilbioeffectsmodules.hh:43