Opm::data::SegmentPressures Class Reference

#include <Wells.hpp>

Public Types

enum class  Value : std::size_t {
  Pressure , PDrop , PDropHydrostatic , PDropAccel ,
  PDropFriction
}
 

Public Member Functions

double & operator[] (const Value i)
 
double operator[] (const Value i) const
 
bool operator== (const SegmentPressures &segpres2) const
 
template<class MessageBufferType >
void write (MessageBufferType &buffer) const
 
template<class MessageBufferType >
void read (MessageBufferType &buffer)
 

Member Enumeration Documentation

◆ Value

enum class Opm::data::SegmentPressures::Value : std::size_t
strong
Enumerator
Pressure 
PDrop 
PDropHydrostatic 
PDropAccel 
PDropFriction 

Member Function Documentation

◆ operator==()

bool Opm::data::SegmentPressures::operator== ( const SegmentPressures segpres2) const
inline

◆ operator[]() [1/2]

double & Opm::data::SegmentPressures::operator[] ( const Value  i)
inline

◆ operator[]() [2/2]

double Opm::data::SegmentPressures::operator[] ( const Value  i) const
inline

◆ read()

template<class MessageBufferType >
void Opm::data::SegmentPressures::read ( MessageBufferType &  buffer)
inline

◆ write()

template<class MessageBufferType >
void Opm::data::SegmentPressures::write ( MessageBufferType &  buffer) const
inline

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