#include <ScheduleTypes.hpp>

Public Member Functions

 WellType (int ecl_wtype, int welspecs_phase)
 
 WellType (bool producer, Phase welspecs_phase)
 
 WellType (Phase welspecs_phase)
 
 WellType ()=default
 
bool injector () const
 
bool producer () const
 
bool update (InjectorType injector_type)
 
bool update (bool producer)
 
int ecl_wtype () const
 
int ecl_phase () const
 
Phase preferred_phase () const
 
InjectorType injector_type () const
 
bool operator== (const WellType &other) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static WellType serializeObject ()
 
static bool oil_injector (int ecl_wtype)
 
static bool gas_injector (int ecl_wtype)
 
static bool water_injector (int ecl_wtype)
 
static bool producer (int ecl_wtype)
 

Constructor & Destructor Documentation

◆ WellType() [1/4]

Opm::WellType::WellType ( int  ecl_wtype,
int  welspecs_phase 
)

◆ WellType() [2/4]

Opm::WellType::WellType ( bool  producer,
Phase  welspecs_phase 
)

◆ WellType() [3/4]

Opm::WellType::WellType ( Phase  welspecs_phase)
explicit

◆ WellType() [4/4]

Opm::WellType::WellType ( )
default

Member Function Documentation

◆ ecl_phase()

int Opm::WellType::ecl_phase ( ) const

◆ ecl_wtype()

int Opm::WellType::ecl_wtype ( ) const

◆ gas_injector()

static bool Opm::WellType::gas_injector ( int  ecl_wtype)
static

◆ injector()

bool Opm::WellType::injector ( ) const

◆ injector_type()

InjectorType Opm::WellType::injector_type ( ) const

◆ oil_injector()

static bool Opm::WellType::oil_injector ( int  ecl_wtype)
static

◆ operator==()

bool Opm::WellType::operator== ( const WellType other) const

◆ preferred_phase()

Phase Opm::WellType::preferred_phase ( ) const

◆ producer() [1/2]

bool Opm::WellType::producer ( ) const

◆ producer() [2/2]

static bool Opm::WellType::producer ( int  ecl_wtype)
static

◆ serializeObject()

static WellType Opm::WellType::serializeObject ( )
static

◆ serializeOp()

template<class Serializer >
void Opm::WellType::serializeOp ( Serializer serializer)
inline

Referenced by Opm::Well::serializeOp().

◆ update() [1/2]

bool Opm::WellType::update ( bool  producer)

◆ update() [2/2]

bool Opm::WellType::update ( InjectorType  injector_type)

◆ water_injector()

static bool Opm::WellType::water_injector ( int  ecl_wtype)
static

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