mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix default alq injector
This commit is contained in:
parent
3dc13c234c
commit
be2b021167
@ -410,6 +410,10 @@ bool WellInterfaceGeneric::thpLimitViolatedButNotSwitched() const
|
|||||||
|
|
||||||
double WellInterfaceGeneric::getALQ(const WellState& well_state) const
|
double WellInterfaceGeneric::getALQ(const WellState& well_state) const
|
||||||
{
|
{
|
||||||
|
// no alq for injectors.
|
||||||
|
if (isInjector())
|
||||||
|
return 0.0;
|
||||||
|
|
||||||
return well_state.getALQ(name());
|
return well_state.getALQ(name());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user