mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding a function setGuideRatesWithPotentials() to WellCollection
it only handles the calculation based on wellPotentials though. Or it should also give each well a value for wells does not specify a guide rates? which will be some value same for all the wells?
This commit is contained in:
@@ -146,6 +146,12 @@ namespace Opm
|
||||
// The strategy may need to be adjusted when more complicated multi-layered group control situation applied, not sure about thatyet.
|
||||
bool groupTargetConverged(const std::vector<double>& well_rates) const;
|
||||
|
||||
|
||||
/// Setting the guide rates with well potentials
|
||||
void setGuideRatesWithPotentials(const Wells* wells,
|
||||
const PhaseUsage& phase_usage,
|
||||
const std::vector<double>& well_potentials) const;
|
||||
|
||||
private:
|
||||
// To account for the possibility of a forest
|
||||
std::vector<std::shared_ptr<WellsGroupInterface> > roots_;
|
||||
|
||||
Reference in New Issue
Block a user