|
opm-simulators
|
Receives and processes group data from slave processes in reservoir coupling. More...
#include <RescoupReceiveSlaveGroupData.hpp>
Public Types | |
| using | SlaveGroupProductionData = ReservoirCoupling::SlaveGroupProductionData<Scalar> |
| using | SlaveGroupInjectionData = ReservoirCoupling::SlaveGroupInjectionData<Scalar> |
| using | Potentials = ReservoirCoupling::Potentials<Scalar> |
| using | ProductionRates = ReservoirCoupling::ProductionRates<Scalar> |
| using | GroupStateHelperType = GroupStateHelper<Scalar, IndexTraits> |
Public Member Functions | |
| RescoupReceiveSlaveGroupData (GroupStateHelperType &groupStateHelper) | |
| Construct a receiver for slave group data. | |
| void | receiveSlaveGroupData () |
| Receive and process group data from all active slave processes. | |
Receives and processes group data from slave processes in reservoir coupling.
This class handles the reception of production and injection data from slave processes and integrates it into the master process's group state. It is responsible for:
The class acts as a bridge between the MPI communication layer (ReservoirCouplingMaster) and the well/group management system (GroupStateHelper), ensuring that slave group data is properly incorporated into the master's group control logic.
| Scalar | Floating-point type for rate and potential values (typically double or float) |
| IndexTraits | Type traits for phase indexing |
| Opm::RescoupReceiveSlaveGroupData< Scalar, IndexTraits >::RescoupReceiveSlaveGroupData | ( | GroupStateHelperType & | groupStateHelper | ) |
Construct a receiver for slave group data.
| groupStateHelper | Reference to the GroupStateHelper for accessing group state and schedule |
| void Opm::RescoupReceiveSlaveGroupData< Scalar, IndexTraits >::receiveSlaveGroupData | ( | ) |
Receive and process group data from all active slave processes.
This method orchestrates the reception of both production and injection data from all active slave processes via the ReservoirCouplingMaster. The received data is then processed and integrated into the master's group state, making it available for group control calculations.
The method performs the following operations: