Opm::WellStateFullyImplicitBlackoil Class Reference

#include <WellStateFullyImplicitBlackoil.hpp>

Inheritance diagram for Opm::WellStateFullyImplicitBlackoil:
Inheritance graph

Public Types

typedef BaseType::WellMapType WellMapType
 

Public Member Functions

template<class State , class PrevState >
void init (const Wells *wells, const State &state, const PrevState &prevState)
 
std::vector< double > & perfPhaseRates ()
 One rate per phase and well connection. More...
 
const std::vector< double > & perfPhaseRates () const
 
std::vector< int > & currentControls ()
 One current control per well. More...
 
const std::vector< int > & currentControls () const
 

Detailed Description

The state of a set of wells, tailored for use by the fully implicit blackoil simulator.

Member Typedef Documentation

Member Function Documentation

std::vector<int>& Opm::WellStateFullyImplicitBlackoil::currentControls ( )
inline

One current control per well.

Referenced by init(), Opm::operator<<(), and Opm::operator>>().

const std::vector<int>& Opm::WellStateFullyImplicitBlackoil::currentControls ( ) const
inline
template<class State , class PrevState >
void Opm::WellStateFullyImplicitBlackoil::init ( const Wells *  wells,
const State &  state,
const PrevState &  prevState 
)
inline

Allocate and initialize if wells is non-null. Also tries to give useful initial values to the bhp(), wellRates() and perfPhaseRates() fields, depending on controls

References Opm::detail::bhp(), currentControls(), and perfPhaseRates().

std::vector<double>& Opm::WellStateFullyImplicitBlackoil::perfPhaseRates ( )
inline

One rate per phase and well connection.

Referenced by init(), Opm::operator<<(), and Opm::operator>>().

const std::vector<double>& Opm::WellStateFullyImplicitBlackoil::perfPhaseRates ( ) const
inline

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