Merge pull request #1928 from hakonhagland/liftopt_4
Add get method for LIFTOPT item 4.
This commit is contained in:
commit
fb93e08ef0
@ -221,6 +221,7 @@ public:
|
||||
void min_eco_gradient(double min_eco_gradient);
|
||||
void min_wait(double min_wait);
|
||||
void all_newton(double all_newton);
|
||||
bool all_newton() const;
|
||||
void add_group(const Group& group);
|
||||
void add_well(const Well& well);
|
||||
bool active() const;
|
||||
|
@ -51,6 +51,10 @@ void GasLiftOpt::all_newton(double all_newton) {
|
||||
this->m_all_newton = all_newton;
|
||||
}
|
||||
|
||||
bool GasLiftOpt::all_newton() const {
|
||||
return this->m_all_newton;
|
||||
}
|
||||
|
||||
const GasLiftOpt::Group& GasLiftOpt::group(const std::string& gname) const {
|
||||
const auto iter = this->m_groups.find(gname);
|
||||
if (iter == this->m_groups.end())
|
||||
|
Loading…
Reference in New Issue
Block a user