checking whehter need to update before updateWellTargets.
This commit is contained in:
parent
f9f5bacee4
commit
55eec0b2ed
@ -290,6 +290,10 @@ namespace Opm
|
||||
|
||||
void WellCollection::updateWellTargets(const std::vector<double> well_rates)
|
||||
{
|
||||
if ( !needUpdateWellTargets() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: currently, we only handle the level of the well groups for the moment, i.e. the level just above wells
|
||||
// We believe the relations between groups are similar to the relations between different wells inside the same group.
|
||||
// While there will be somre more complication invloved for sure.
|
||||
|
Loading…
Reference in New Issue
Block a user