My Project
Opm::Segment Class Reference

Public Types

enum class  SegmentType { REGULAR , SICD , AICD , VALVE }
 

Public Member Functions

 Segment (const Segment &src, double new_depth, double new_length, double new_volume)
 
 Segment (const Segment &src, double new_depth, double new_length)
 
 Segment (const Segment &src, double new_volume)
 
 Segment (int segment_number_in, int branch_in, int outlet_segment_in, double length_in, double depth_in, double internal_diameter_in, double roughness_in, double cross_area_in, double volume_in, bool data_ready_in)
 
 Segment (const RestartIO::RstSegment &rst_segment)
 
int segmentNumber () const
 
int branchNumber () const
 
int outletSegment () const
 
double perfLength () const
 
double totalLength () const
 
double depth () const
 
double internalDiameter () const
 
double roughness () const
 
double crossArea () const
 
double volume () const
 
bool dataReady () const
 
SegmentType segmentType () const
 
int ecl_type_id () const
 
const std::vector< int > & inletSegments () const
 
bool operator== (const Segment &) const
 
bool operator!= (const Segment &) const
 
const SICDspiralICD () const
 
const AutoICDautoICD () const
 
const Valvevalve () const
 
void updatePerfLength (double perf_length)
 
void updateSpiralICD (const SICD &spiral_icd)
 
void updateAutoICD (const AutoICD &aicd)
 
void updateValve (const Valve &valve, const double segment_length)
 
void updateValve (const Valve &valve)
 
void addInletSegment (const int segment_number)
 
bool isRegular () const
 
bool isSpiralICD () const
 
bool isAICD () const
 
bool isValve () const
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Static Public Member Functions

static Segment serializeObject ()
 
static double invalidValue ()
 
static SegmentType type_from_int (int ecl_id)
 

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