|
ReservoirCouplingMasterReportStep.hpp
Go to the documentation of this file.
35// Avoid including the complete definition of ReservoirCouplingMaster here to avoid circular dependency.
115 std::size_t numSlaveGroups(unsigned int index) const { return this->master_.numSlaveGroups(index); }
Definition: ReservoirCoupling.hpp:36 Definition: ReservoirCouplingMaster.hpp:38 Manages master-side reservoir coupling operations for a single report step. Definition: ReservoirCouplingMasterReportStep.hpp:59 ReservoirCouplingMasterReportStep(ReservoirCouplingMaster< Scalar > &master) Construct a report step manager for the master process. const std::vector< std::string > & getMasterGroupNamesForSlave(std::size_t slave_idx) const Get the names of master groups associated with a specific slave. Definition: ReservoirCouplingMasterReportStep.hpp:79 MPI_Comm getSlaveComm(int index) const Get the MPI communicator for a specific slave process. Definition: ReservoirCouplingMasterReportStep.hpp:99 void receiveProductionDataFromSlaves() Receive production data from all active slave processes. const Parallel::Communication & comm() const Get the MPI communicator for master-slave communication. Definition: ReservoirCouplingMasterReportStep.hpp:74 std::size_t getMasterGroupCanonicalIdx(const std::string &slave_name, const std::string &master_group_name) const Get the canonical index for a master group. const std::map< std::string, std::string > & getMasterGroupToSlaveNameMap() const Get the mapping from master group names to slave names. Definition: ReservoirCouplingMasterReportStep.hpp:85 void maybeReceiveGroupInfoFromSlaves() Receive group information from slaves if needed. void setReportStepIdx(int report_step_idx) Set the current report step index. ReservoirCoupling::Logger & logger() const Get the logger for reservoir coupling operations. Definition: ReservoirCouplingMasterReportStep.hpp:123 const Schedule & schedule() const Get the simulation schedule. Definition: ReservoirCouplingMasterReportStep.hpp:148 bool slaveIsActivated(int index) const Check if a specific slave process has been activated. Definition: ReservoirCouplingMasterReportStep.hpp:168 const Potentials & getSlaveGroupPotentials(const std::string &master_group_name) const Get the production potentials for a slave group. void sendGroupInfoToSlaves(int report_step_idx) Send group control information to all slaves for a specific report step. void receiveInjectionDataFromSlaves() Receive injection data from all active slave processes. std::size_t numSlaves() const Get the total number of active slave processes. Definition: ReservoirCouplingMasterReportStep.hpp:119 std::size_t numSlaveGroups(unsigned int index) const Get the number of slave groups for a specific slave process. Definition: ReservoirCouplingMasterReportStep.hpp:115 const std::string & slaveName(int index) const Get the name of a specific slave process. Definition: ReservoirCouplingMasterReportStep.hpp:173 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilbioeffectsmodules.hh:43 Definition: ReservoirCoupling.hpp:160 Definition: ReservoirCoupling.hpp:198 Definition: ReservoirCoupling.hpp:184 |