#include <WellTestConfig.hpp>

Classes

struct  WTESTWell
 

Public Types

enum  Reason {
  PHYSICAL = 1 , ECONOMIC = 2 , GROUP = 4 , THP_DESIGN =8 ,
  COMPLETION =16
}
 

Public Member Functions

 WellTestConfig ()
 
void add_well (const std::string &well, Reason reason, double test_interval, int num_test, double startup_time, int current_step)
 
void add_well (const std::string &well, const std::string &reasons, double test_interval, int num_test, double startup_time, int current_step)
 
void drop_well (const std::string &well)
 
bool has (const std::string &well) const
 
bool has (const std::string &well, Reason reason) const
 
const WTESTWellget (const std::string &well, Reason reason) const
 
size_t size () const
 
bool operator== (const WellTestConfig &data) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static WellTestConfig serializeObject ()
 
static std::string reasonToString (const Reason reason)
 

Member Enumeration Documentation

◆ Reason

Enumerator
PHYSICAL 
ECONOMIC 
GROUP 
THP_DESIGN 
COMPLETION 

Constructor & Destructor Documentation

◆ WellTestConfig()

Opm::WellTestConfig::WellTestConfig ( )

Member Function Documentation

◆ add_well() [1/2]

void Opm::WellTestConfig::add_well ( const std::string well,
const std::string reasons,
double  test_interval,
int  num_test,
double  startup_time,
int  current_step 
)

◆ add_well() [2/2]

void Opm::WellTestConfig::add_well ( const std::string well,
Reason  reason,
double  test_interval,
int  num_test,
double  startup_time,
int  current_step 
)

◆ drop_well()

void Opm::WellTestConfig::drop_well ( const std::string well)

◆ get()

const WTESTWell & Opm::WellTestConfig::get ( const std::string well,
Reason  reason 
) const

◆ has() [1/2]

bool Opm::WellTestConfig::has ( const std::string well) const

◆ has() [2/2]

bool Opm::WellTestConfig::has ( const std::string well,
Reason  reason 
) const

◆ operator==()

bool Opm::WellTestConfig::operator== ( const WellTestConfig data) const

◆ reasonToString()

static std::string Opm::WellTestConfig::reasonToString ( const Reason  reason)
static

◆ serializeObject()

static WellTestConfig Opm::WellTestConfig::serializeObject ( )
static

◆ serializeOp()

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

◆ size()

size_t Opm::WellTestConfig::size ( ) const

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