Opm::data::CurrentControl Struct Reference

#include <Wells.hpp>

Public Member Functions

bool operator== (const CurrentControl &rhs) const
 
template<class MessageBufferType >
void write (MessageBufferType &buffer) const
 
template<class MessageBufferType >
void read (MessageBufferType &buffer)
 

Public Attributes

bool isProducer {true}
 
::Opm::Well::ProducerCMode prod
 
::Opm::Well::InjectorCMode inj
 

Member Function Documentation

◆ operator==()

bool Opm::data::CurrentControl::operator== ( const CurrentControl rhs) const
inline

References inj, isProducer, and prod.

◆ read()

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

References buffer, inj, isProducer, and prod.

Referenced by Opm::data::Well::read().

◆ write()

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

References buffer, inj, isProducer, and prod.

Referenced by Opm::data::Well::write().

Member Data Documentation

◆ inj

::Opm::Well::InjectorCMode Opm::data::CurrentControl::inj

◆ isProducer

bool Opm::data::CurrentControl::isProducer {true}

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

◆ prod

::Opm::Well::ProducerCMode Opm::data::CurrentControl::prod

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