Opm::data::Well Struct Reference

#include <Wells.hpp>

Public Member Functions

bool flowing () const noexcept
 
template<class MessageBufferType >
void write (MessageBufferType &buffer) const
 
template<class MessageBufferType >
void read (MessageBufferType &buffer)
 
const Connectionfind_connection (Connection::global_index connection_grid_index) const
 
Connectionfind_connection (Connection::global_index connection_grid_index)
 
bool operator== (const Well &well2) const
 

Public Attributes

Rates rates
 
double bhp
 
double thp
 
double temperature
 
int control
 
std::vector< Connectionconnections
 
std::unordered_map< std::size_t, Segmentsegments
 
CurrentControl current_control
 

Member Function Documentation

◆ find_connection() [1/2]

Connection * Opm::data::Well::find_connection ( Connection::global_index  connection_grid_index)
inline

◆ find_connection() [2/2]

const Connection * Opm::data::Well::find_connection ( Connection::global_index  connection_grid_index) const
inline

◆ flowing()

bool Opm::data::Well::flowing ( ) const
inlinenoexcept

◆ operator==()

bool Opm::data::Well::operator== ( const Well well2) const
inline

◆ read()

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

◆ write()

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

Member Data Documentation

◆ bhp

double Opm::data::Well::bhp

Referenced by operator==(), read(), and write().

◆ connections

std::vector< Connection > Opm::data::Well::connections

Referenced by operator==(), read(), and write().

◆ control

int Opm::data::Well::control

Referenced by operator==(), read(), and write().

◆ current_control

CurrentControl Opm::data::Well::current_control

Referenced by operator==(), read(), and write().

◆ rates

Rates Opm::data::Well::rates

Referenced by flowing(), operator==(), read(), and write().

◆ segments

std::unordered_map<std::size_t, Segment> Opm::data::Well::segments

Referenced by operator==(), read(), and write().

◆ temperature

double Opm::data::Well::temperature

Referenced by operator==(), read(), and write().

◆ thp

double Opm::data::Well::thp

Referenced by operator==(), read(), and write().


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