|
ReservoirCouplingMasterReportStep.hpp
Go to the documentation of this file.
35// Avoid including the complete definition of ReservoirCouplingMaster here to avoid circular dependency.
107 Scalar getMasterGroupInjectionSurfaceRate(const std::string &group_name, ReservoirCoupling::Phase phase) const;
113 Scalar getMasterGroupInjectionReservoirRate(const std::string &group_name, ReservoirCoupling::Phase phase) const;
119 Scalar getMasterGroupProductionSurfaceRate(const std::string &group_name, ReservoirCoupling::Phase phase) const;
131 Scalar getMasterGroupProductionReservoirRate(const std::string &group_name, ReservoirCoupling::Phase phase) const;
141 std::size_t numSlaveGroups(unsigned int index) const { return this->master_.numSlaveGroups(index); }
Definition: ReservoirCoupling.hpp:38 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:81 MPI_Comm getSlaveComm(int index) const Get the MPI communicator for a specific slave process. Definition: ReservoirCouplingMasterReportStep.hpp:101 void receiveProductionDataFromSlaves() Receive production data from all active slave processes. Scalar getMasterGroupInjectionSurfaceRate(const std::string &group_name, ReservoirCoupling::Phase phase) const Get the injection surface rate for a master group. const Parallel::Communication & comm() const Get the MPI communicator for master-slave communication. Definition: ReservoirCouplingMasterReportStep.hpp:76 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:87 void sendProductionTargetsToSlave(std::size_t slave_idx, const std::vector< ProductionGroupTarget > &production_targets) const void setReportStepIdx(int report_step_idx) Set the current report step index. Scalar getMasterGroupProductionSurfaceRate(const std::string &group_name, ReservoirCoupling::Phase phase) const Get the production surface rate for a master group. ReservoirCoupling::Logger & logger() const Get the logger for reservoir coupling operations. Definition: ReservoirCouplingMasterReportStep.hpp:149 Scalar getMasterGroupProductionReservoirRate(const std::string &group_name, ReservoirCoupling::Phase phase) const Get the production reservoir rate for a master group. const Schedule & schedule() const Get the simulation schedule. Definition: ReservoirCouplingMasterReportStep.hpp:174 void sendNumGroupTargetsToSlave(std::size_t slave_idx, std::size_t num_injection_targets, std::size_t num_production_targets) const bool slaveIsActivated(int index) const Check if a specific slave process has been activated. Definition: ReservoirCouplingMasterReportStep.hpp:196 const Potentials & getSlaveGroupPotentials(const std::string &master_group_name) const Get the production potentials for a slave group. 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:145 void sendInjectionTargetsToSlave(std::size_t slave_idx, const std::vector< InjectionGroupTarget > &injection_targets) const Scalar getMasterGroupInjectionReservoirRate(const std::string &group_name, ReservoirCoupling::Phase phase) const Get the injection reservoir rate for a master group. std::size_t numSlaveGroups(unsigned int index) const Get the number of slave groups for a specific slave process. Definition: ReservoirCouplingMasterReportStep.hpp:141 const std::string & slaveName(int index) const Get the name of a specific slave process. Definition: ReservoirCouplingMasterReportStep.hpp:201 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Phase Phase indices for reservoir coupling, we currently only support black-oil phases (oil,... Definition: ReservoirCoupling.hpp:147 Definition: blackoilbioeffectsmodules.hh:43 Definition: ReservoirCoupling.hpp:211 Definition: ReservoirCoupling.hpp:166 Definition: ReservoirCoupling.hpp:221 Definition: ReservoirCoupling.hpp:205 Definition: ReservoirCoupling.hpp:190 |