#include <RFTConfig.hpp>

Public Types

enum class  RFT {
  YES = 1 , REPT = 2 , TIMESTEP = 3 , FOPN = 4 ,
  NO = 5
}
 
enum class  PLT { YES = 1 , REPT = 2 , TIMESTEP = 3 , NO = 4 }
 
template<typename Value >
using ConfigMap = std::unordered_map< std::string, DynamicState< std::pair< Value, std::size_t > > >
 
using WellOpenTimeMap = std::unordered_map< std::string, std::size_t >
 

Public Member Functions

 RFTConfig ()
 
 RFTConfig (const TimeMap &time_map)
 
bool rft (const std::string &well, std::size_t report_step) const
 
bool plt (const std::string &well, std::size_t report_step) const
 
bool getWellOpenRFT (const std::string &well_name, std::size_t report_step) const
 
void setWellOpenRFT (std::size_t report_step)
 
void setWellOpenRFT (const std::string &well_name)
 
bool active (std::size_t report_step) const
 
std::size_t firstRFTOutput () const
 
void updateRFT (const std::string &well, std::size_t report_step, RFT value)
 
void updatePLT (const std::string &well, std::size_t report_step, PLT value)
 
void addWellOpen (const std::string &well, std::size_t report_step)
 
const TimeMaptimeMap () const
 
bool operator== (const RFTConfig &data) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static std::string RFT2String (RFT enumValue)
 
static RFT RFTFromString (const std::string &stringValue)
 
static std::string PLT2String (PLT enumValue)
 
static PLT PLTFromString (const std::string &stringValue)
 
static RFTConfig serializeObject ()
 

Member Typedef Documentation

◆ ConfigMap

template<typename Value >
using Opm::RFTConfig::ConfigMap = std::unordered_map< std::string, DynamicState<std::pair<Value, std::size_t> > >

◆ WellOpenTimeMap

using Opm::RFTConfig::WellOpenTimeMap = std::unordered_map<std::string, std::size_t>

Member Enumeration Documentation

◆ PLT

enum class Opm::RFTConfig::PLT
strong
Enumerator
YES 
REPT 
TIMESTEP 
NO 

◆ RFT

enum class Opm::RFTConfig::RFT
strong
Enumerator
YES 
REPT 
TIMESTEP 
FOPN 
NO 

Constructor & Destructor Documentation

◆ RFTConfig() [1/2]

Opm::RFTConfig::RFTConfig ( )

◆ RFTConfig() [2/2]

Opm::RFTConfig::RFTConfig ( const TimeMap time_map)
explicit

Member Function Documentation

◆ active()

bool Opm::RFTConfig::active ( std::size_t  report_step) const

◆ addWellOpen()

void Opm::RFTConfig::addWellOpen ( const std::string well,
std::size_t  report_step 
)

◆ firstRFTOutput()

std::size_t Opm::RFTConfig::firstRFTOutput ( ) const
inline

◆ getWellOpenRFT()

bool Opm::RFTConfig::getWellOpenRFT ( const std::string well_name,
std::size_t  report_step 
) const

◆ operator==()

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

◆ plt()

bool Opm::RFTConfig::plt ( const std::string well,
std::size_t  report_step 
) const

◆ PLT2String()

static std::string Opm::RFTConfig::PLT2String ( PLT  enumValue)
static

◆ PLTFromString()

static PLT Opm::RFTConfig::PLTFromString ( const std::string stringValue)
static

◆ rft()

bool Opm::RFTConfig::rft ( const std::string well,
std::size_t  report_step 
) const

◆ RFT2String()

static std::string Opm::RFTConfig::RFT2String ( RFT  enumValue)
static

◆ RFTFromString()

static RFT Opm::RFTConfig::RFTFromString ( const std::string stringValue)
static

◆ serializeObject()

static RFTConfig Opm::RFTConfig::serializeObject ( )
static

◆ serializeOp()

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

◆ setWellOpenRFT() [1/2]

void Opm::RFTConfig::setWellOpenRFT ( const std::string well_name)

◆ setWellOpenRFT() [2/2]

void Opm::RFTConfig::setWellOpenRFT ( std::size_t  report_step)

◆ timeMap()

const TimeMap & Opm::RFTConfig::timeMap ( ) const

◆ updatePLT()

void Opm::RFTConfig::updatePLT ( const std::string well,
std::size_t  report_step,
PLT  value 
)

◆ updateRFT()

void Opm::RFTConfig::updateRFT ( const std::string well,
std::size_t  report_step,
RFT  value 
)

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