The state of a set of wells.
More...
#include <WellState.hpp>
The state of a set of wells.
◆ mapentry_t
◆ WellMapType
◆ ~WellState()
virtual Opm::WellState::~WellState |
( |
| ) |
|
|
inlinevirtual |
◆ WellState() [1/2]
Opm::WellState::WellState |
( |
| ) |
|
|
default |
◆ WellState() [2/2]
Opm::WellState::WellState |
( |
const WellState & |
rhs | ) |
|
|
inline |
◆ bhp() [1/2]
std::vector< double > & Opm::WellState::bhp |
( |
| ) |
|
|
inline |
◆ bhp() [2/2]
const std::vector< double > & Opm::WellState::bhp |
( |
| ) |
const |
|
inline |
◆ getRestartBhpOffset()
size_t Opm::WellState::getRestartBhpOffset |
( |
| ) |
const |
|
inline |
◆ getRestartPerfPressOffset()
size_t Opm::WellState::getRestartPerfPressOffset |
( |
| ) |
const |
|
inline |
◆ getRestartPerfRatesOffset()
size_t Opm::WellState::getRestartPerfRatesOffset |
( |
| ) |
const |
|
inline |
◆ getRestartTemperatureOffset()
size_t Opm::WellState::getRestartTemperatureOffset |
( |
| ) |
const |
|
inline |
◆ getRestartWellRatesOffset()
size_t Opm::WellState::getRestartWellRatesOffset |
( |
| ) |
const |
|
inline |
◆ init() [1/2]
template<class State >
void Opm::WellState::init |
( |
const Wells * |
wells, |
|
|
const State & |
state |
|
) |
| |
|
inline |
◆ init() [2/2]
void Opm::WellState::init |
( |
const Wells * |
wells, |
|
|
const std::vector< double > & |
cellPressures |
|
) |
| |
|
inline |
Allocate and initialize if wells is non-null. Also tries to give useful initial values to the bhp() and wellRates() fields, depending on controls. The perfRates() field is filled with zero, and perfPress() with -1e100.
References BHP, clone_wells(), Wells::ctrls, INJECTOR, Wells::name, Wells::number_of_phases, Wells::number_of_wells, PRODUCER, SURFACE_RATE, THP, Wells::type, Wells::well_cells, Wells::well_connpos, well_controls_get_current_distr(), well_controls_get_current_target(), well_controls_get_current_type(), well_controls_get_num(), well_controls_iget_target(), well_controls_iget_type(), well_controls_well_is_stopped(), and wells_.
◆ numPhases()
int Opm::WellState::numPhases |
( |
| ) |
const |
|
inline |
◆ numWells()
int Opm::WellState::numWells |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ perfPress() [1/2]
std::vector< double > & Opm::WellState::perfPress |
( |
| ) |
|
|
inline |
One pressure per well connection.
Referenced by report().
◆ perfPress() [2/2]
const std::vector< double > & Opm::WellState::perfPress |
( |
| ) |
const |
|
inline |
◆ perfRates() [1/2]
std::vector< double > & Opm::WellState::perfRates |
( |
| ) |
|
|
inline |
One rate per well connection.
Referenced by report().
◆ perfRates() [2/2]
const std::vector< double > & Opm::WellState::perfRates |
( |
| ) |
const |
|
inline |
◆ report()
virtual data::Wells Opm::WellState::report |
( |
const PhaseUsage & |
pu | ) |
const |
|
inlinevirtual |
References Opm::BlackoilPhases::Aqua, bhp(), Opm::Details::PhasePressure::gas(), Opm::BlackoilPhases::Liquid, Opm::PhaseUsage::num_phases, Opm::Details::PhasePressure::oil(), perfPress(), perfRates(), Opm::PhaseUsage::phase_pos, Opm::PhaseUsage::phase_used, temperature(), thp(), Opm::BlackoilPhases::Vapour, wellRates(), and wells_.
◆ temperature() [1/2]
std::vector< double > & Opm::WellState::temperature |
( |
| ) |
|
|
inline |
One temperature per well.
Referenced by report().
◆ temperature() [2/2]
const std::vector< double > & Opm::WellState::temperature |
( |
| ) |
const |
|
inline |
◆ thp() [1/2]
std::vector< double > & Opm::WellState::thp |
( |
| ) |
|
|
inline |
One thp pressure per well.
Referenced by report().
◆ thp() [2/2]
const std::vector< double > & Opm::WellState::thp |
( |
| ) |
const |
|
inline |
◆ wellMap() [1/2]
◆ wellMap() [2/2]
◆ wellRates() [1/2]
std::vector< double > & Opm::WellState::wellRates |
( |
| ) |
|
|
inline |
◆ wellRates() [2/2]
const std::vector< double > & Opm::WellState::wellRates |
( |
| ) |
const |
|
inline |
◆ wells_
std::unique_ptr< Wells, wdel > Opm::WellState::wells_ |
|
protected |
The documentation for this class was generated from the following file:
|