Opm::WellStateMultiSegment Class Reference

The state of a set of multi-sgemnet wells. More...

#include <WellStateMultiSegment.hpp>

Inheritance diagram for Opm::WellStateMultiSegment:
Opm::WellStateFullyImplicitBlackoil

List of all members.

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

Detailed Description

The state of a set of multi-sgemnet wells.


Member Function Documentation

template<class ReservoirState , class PrevWellState >
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


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

Generated on 26 Mar 2018 by  doxygen 1.6.1