mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
addressing a few comments.
This commit is contained in:
@@ -137,14 +137,11 @@ namespace Opm
|
||||
WellNode* getNode(size_t i) const;
|
||||
|
||||
/// Updating the well targets based on the well rates.
|
||||
void updateWellTargets(const std::vector<double> well_rates);
|
||||
void updateWellTargets(const std::vector<double>& well_rates);
|
||||
|
||||
/// When we have VREP group, we need to update the targets based on the updated production voidage rates for each iteration.
|
||||
bool havingVREPGroups() const;
|
||||
|
||||
/// Setting the VREP group flag when creating the well collection.
|
||||
void setHavingVREPGroups(const bool vrep);
|
||||
|
||||
private:
|
||||
// To account for the possibility of a forest
|
||||
std::vector<std::shared_ptr<WellsGroupInterface> > roots_;
|
||||
@@ -152,7 +149,7 @@ namespace Opm
|
||||
// This will be used to traverse the bottom nodes.
|
||||
std::vector<WellNode*> leaf_nodes_;
|
||||
|
||||
bool having_vrep_groups_;
|
||||
bool having_vrep_groups_ = false;
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user