mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add GPMaint::State member to GroupState
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include <opm/core/props/BlackoilPhases.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Group/Group.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Runspec.hpp>
|
||||
#include <opm/parser/eclipse/EclipseState/Schedule/Group/GPMaint.hpp>
|
||||
#include <opm/simulators/wells/WellContainer.hpp>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
@@ -75,6 +77,8 @@ public:
|
||||
std::size_t collect(double * data) const;
|
||||
std::size_t distribute(const double * data);
|
||||
|
||||
GPMaint::State& gpmaint(const std::string& gname);
|
||||
|
||||
|
||||
template<class Comm>
|
||||
void communicate_rates(const Comm& comm)
|
||||
@@ -165,6 +169,7 @@ private:
|
||||
|
||||
|
||||
std::map<std::pair<Phase, std::string>, Group::InjectionCMode> injection_controls;
|
||||
WellContainer<GPMaint::State> gpmaint_state;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user