mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-04 13:36:57 -06:00
GroupEconomicLimitsChecker::closeWellsRecursive: pass group as const ref
This commit is contained in:
parent
825b4b6677
commit
d9cd6b51c3
@ -334,7 +334,7 @@ addPrintMessage(const std::string &msg, const double value, const double limit,
|
||||
|
||||
bool
|
||||
GroupEconomicLimitsChecker::
|
||||
closeWellsRecursive(Group group, int level)
|
||||
closeWellsRecursive(const Group& group, int level)
|
||||
{
|
||||
bool wells_closed = false;
|
||||
|
||||
|
@ -64,7 +64,7 @@ class WellTestState;
|
||||
private:
|
||||
void displayDebugMessage(const std::string &msg) const;
|
||||
void addPrintMessage(const std::string &msg, const double value, const double limit, const UnitSystem::measure measure);
|
||||
bool closeWellsRecursive(Group group, int level=0);
|
||||
bool closeWellsRecursive(const Group& group, int level = 0);
|
||||
void throwNotImplementedError(const std::string &error) const;
|
||||
const BlackoilWellModelGeneric &well_model_;
|
||||
const Group &group_;
|
||||
|
Loading…
Reference in New Issue
Block a user