My Project
Loading...
Searching...
No Matches
Opm::Connection Class Reference

Public Types

enum class  State { OPEN = 1 , SHUT = 2 , AUTO = 3 }
 
enum class  Direction { X = 1 , Y = 2 , Z = 3 }
 
enum class  Order { DEPTH , INPUT , TRACK }
 
enum class  CTFKind { DeckValue , Defaulted }
 

Public Member Functions

 Connection (int i, int j, int k, std::size_t global_index, int complnum, double depth, State state, double CF, double Kh, double rw, double r0, double re, double connection_length, double skin_factor, const int satTableId, const Direction direction, const CTFKind ctf_kind, const std::size_t sort_value, const bool defaultSatTabId)
 
 Connection (const RestartIO::RstConnection &rst_connection, const ScheduleGrid &grid, const FieldPropsManager &fp)
 
bool attachedToSegment () const
 
bool sameCoordinate (const int i, const int j, const int k) const
 
int getI () const
 
int getJ () const
 
int getK () const
 
std::size_t global_index () const
 
State state () const
 
Direction dir () const
 
double depth () const
 
int satTableId () const
 
int complnum () const
 
int segment () const
 
double CF () const
 
double wpimult () const
 
double Kh () const
 
double rw () const
 
double r0 () const
 
double re () const
 
double connectionLength () const
 
double skinFactor () const
 
CTFKind kind () const
 
const InjMultinjmult () const
 
bool activeInjMult () const
 
void setInjMult (const InjMult &inj_mult)
 
void setFilterCake (const FilterCake &filter_cake)
 
const FilterCakegetFilterCake () const
 
bool filterCakeActive () const
 
double getFilterCakeRadius () const
 
double getFilterCakeArea () const
 
void setState (State state)
 
void setComplnum (int compnum)
 
void setSkinFactor (double skin_factor)
 
void setCF (double CF)
 
void scaleWellPi (double wellPi)
 
bool prepareWellPIScaling ()
 
bool applyWellPIScaling (const double scaleFactor)
 
void updateSegmentRST (int segment_number_arg, double center_depth_arg)
 
void updateSegment (int segment_number_arg, double center_depth_arg, std::size_t compseg_insert_index, const std::pair< double, double > &perf_range)
 
std::size_t sort_value () const
 
const bool & getDefaultSatTabId () const
 
void setDefaultSatTabId (bool id)
 
const std::optional< std::pair< double, double > > & perf_range () const
 
std::string str () const
 
bool ctfAssignedFromInput () const
 
bool operator== (const Connection &) const
 
bool operator!= (const Connection &) const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static const std::string State2String (State enumValue)
 
static State StateFromString (const std::string &stringValue)
 
static std::string Direction2String (const Direction enumValue)
 
static Direction DirectionFromString (const std::string &stringValue)
 
static const std::string Order2String (Order enumValue)
 
static Order OrderFromString (const std::string &comporderStringValue)
 
static Connection serializationTestObject ()
 

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