Extract update of guide rate model into separate function
This commit is contained in:
@@ -67,10 +67,10 @@ public:
|
||||
double getA() const;
|
||||
double getB() const;
|
||||
double getC() const;
|
||||
double getD() const;
|
||||
double getD() const;
|
||||
double getE() const;
|
||||
double getF() const;
|
||||
|
||||
|
||||
static Target convert_target(Group::GuideRateTarget group_target);
|
||||
static Target convert_target(Well::GuideRateTarget well_target);
|
||||
static double pot(Target target, double oil_pot, double gas_pot, double wat_pot);
|
||||
|
||||
@@ -387,6 +387,7 @@ namespace Opm
|
||||
|
||||
DynamicState<std::shared_ptr<RPTConfig>> rpt_config;
|
||||
void updateNetwork(std::shared_ptr<Network::ExtNetwork> network, std::size_t report_step);
|
||||
void updateGuideRateModel(const GuideRateModel& new_model, std::size_t report_step);
|
||||
|
||||
GTNode groupTree(const std::string& root_node, std::size_t report_step, std::size_t level, const std::optional<std::string>& parent_name) const;
|
||||
void updateGroup(std::shared_ptr<Group> group, std::size_t reportStep);
|
||||
|
||||
Reference in New Issue
Block a user