mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-11 09:55:34 -06:00
adding updateWellInjectionTargets updateWellProductionTargets
For WellsGroup. At least for the current moment, the updation of the well targets for injectors and producers should be handled in a seprate way.
This commit is contained in:
parent
df745bafef
commit
3551ccac0a
@ -209,7 +209,7 @@ namespace Opm
|
||||
any_should_update_node = true;
|
||||
}
|
||||
|
||||
if (leaf_nodes_[i]->individualControl()) {
|
||||
if (!leaf_nodes_[i]->individualControl()) {
|
||||
any_group_control_node = true;
|
||||
}
|
||||
}
|
||||
@ -228,7 +228,7 @@ namespace Opm
|
||||
any_should_update_node = true;
|
||||
}
|
||||
|
||||
if (leaf_nodes_[i]->individualControl()) {
|
||||
if (!leaf_nodes_[i]->individualControl()) {
|
||||
any_group_control_node = true;
|
||||
}
|
||||
}
|
||||
|
@ -325,7 +325,10 @@ namespace Opm
|
||||
const std::vector<double>& well_surfacerates_phase);
|
||||
|
||||
template <class WellState>
|
||||
void updateWellTargets(const WellState& well_state);
|
||||
void updateWellProductionTargets(const WellState& well_state);
|
||||
|
||||
template <class WellState>
|
||||
void updateWellInjectionTargets(const WellState& well_state);
|
||||
|
||||
private:
|
||||
std::vector<std::shared_ptr<WellsGroupInterface> > children_;
|
||||
|
Loading…
Reference in New Issue
Block a user