22#ifndef OPM_MULTISEGMENTWELL_GENERIC_HEADER_INCLUDED
23#define OPM_MULTISEGMENTWELL_GENERIC_HEADER_INCLUDED
35template<
class Scalar>
class WellInterfaceGeneric;
38template<
class Scalar>
class WellState;
40template <
typename Scalar>
49 int segmentNumberToIndex(
const int segment_number)
const;
58 void scaleSegmentRatesWithWellRates(
const std::vector<std::vector<int>>&
segment_inlets,
71 bool accelerationalPressureLossConsidered()
const;
72 bool frictionalPressureLossConsidered()
const;
74 Scalar getSegmentDp(
const int seg,
76 const std::vector<Scalar>&
seg_dp)
const;
Definition MultisegmentWellGeneric.hpp:42
int numberOfSegments() const
number of segments for this well
Definition MultisegmentWellGeneric.cpp:116
void detectOscillations(const std::vector< Scalar > &measure_history, bool &oscillate, bool &stagnate) const
Detect oscillation or stagnation based on the residual measure history.
Definition MultisegmentWellGeneric.cpp:140
Definition WellInterfaceGeneric.hpp:52
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:62
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242