The state of a set of multi-sgemnet wells. More...
#include <WellStateMultiSegment.hpp>
Classes | |
struct | SegmentedMapentryType |
Public Types | |
typedef WellStateFullyImplicitBlackoil | Base |
typedef std::map< std::string, SegmentedMapentryType > | SegmentedWellMapType |
Public Member Functions | |
template<class ReservoirState , class PrevWellState > | |
void | init (const MultisegmentWells &ms_wells, const ReservoirState &state, const PrevWellState &prevState, const Wells *legacy_wells_ptr) |
Allocate and initialize if wells is non-null. | |
std::vector< double > & | segPress () |
const std::vector< double > & | segPress () const |
std::vector< double > & | segPhaseRates () |
const std::vector< double > & | segPhaseRates () const |
const std::vector< int > & | topSegmentLoc () const |
const SegmentedWellMapType & | segmentedWellMap () const |
SegmentedWellMapType & | segmentedWellMap () |
int | numSegments () const |
int | numPerforations () const |
The state of a set of multi-sgemnet wells.
void Opm::WellStateMultiSegment::init | ( | const MultisegmentWells & | ms_wells, | |
const ReservoirState & | state, | |||
const PrevWellState & | prevState, | |||
const Wells * | legacy_wells_ptr | |||
) | [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