Opm::GasLiftSingleWellGeneric::LimitedRates Struct Reference

#include <GasLiftSingleWellGeneric.hpp>

Inheritance diagram for Opm::GasLiftSingleWellGeneric::LimitedRates:
Inheritance graph

Public Types

enum class  LimitType { well , group , none }
 

Public Member Functions

 LimitedRates (double oil_, double gas_, double water_, bool oil_is_limited_, bool gas_is_limited_, bool water_is_limited_, bool bhp_is_limited_, std::optional< Rate > oil_limiting_target_, std::optional< Rate > water_limiting_target_)
 
 LimitedRates (const BasicRates &rates, bool oil_is_limited_, bool gas_is_limited_, bool water_is_limited_)
 
bool limited () const
 
double operator[] (Rate rate_type) const
 

Public Attributes

LimitType limit_type
 
bool oil_is_limited
 
bool gas_is_limited
 
bool water_is_limited
 
std::optional< Rateoil_limiting_target
 
std::optional< Ratewater_limiting_target
 
double oil
 
double gas
 
double water
 
bool bhp_is_limited
 

Member Enumeration Documentation

◆ LimitType

Enumerator
well 
group 
none 

Constructor & Destructor Documentation

◆ LimitedRates() [1/2]

Opm::GasLiftSingleWellGeneric::LimitedRates::LimitedRates ( double  oil_,
double  gas_,
double  water_,
bool  oil_is_limited_,
bool  gas_is_limited_,
bool  water_is_limited_,
bool  bhp_is_limited_,
std::optional< Rate oil_limiting_target_,
std::optional< Rate water_limiting_target_ 
)
inline

◆ LimitedRates() [2/2]

Opm::GasLiftSingleWellGeneric::LimitedRates::LimitedRates ( const BasicRates rates,
bool  oil_is_limited_,
bool  gas_is_limited_,
bool  water_is_limited_ 
)
inline

Member Function Documentation

◆ limited()

bool Opm::GasLiftSingleWellGeneric::LimitedRates::limited ( ) const
inline

◆ operator[]()

Member Data Documentation

◆ bhp_is_limited

bool Opm::GasLiftSingleWellGeneric::BasicRates::bhp_is_limited
inherited

◆ gas

double Opm::GasLiftSingleWellGeneric::BasicRates::gas
inherited

◆ gas_is_limited

bool Opm::GasLiftSingleWellGeneric::LimitedRates::gas_is_limited

Referenced by limited().

◆ limit_type

LimitType Opm::GasLiftSingleWellGeneric::LimitedRates::limit_type

◆ oil

double Opm::GasLiftSingleWellGeneric::BasicRates::oil
inherited

◆ oil_is_limited

bool Opm::GasLiftSingleWellGeneric::LimitedRates::oil_is_limited

Referenced by limited().

◆ oil_limiting_target

std::optional<Rate> Opm::GasLiftSingleWellGeneric::LimitedRates::oil_limiting_target

◆ water

double Opm::GasLiftSingleWellGeneric::BasicRates::water
inherited

◆ water_is_limited

bool Opm::GasLiftSingleWellGeneric::LimitedRates::water_is_limited

Referenced by limited().

◆ water_limiting_target

std::optional<Rate> Opm::GasLiftSingleWellGeneric::LimitedRates::water_limiting_target

The documentation for this struct was generated from the following file: