22#ifndef OPM_MULTISEGMENTWELL_GENERIC_HEADER_INCLUDED
23#define OPM_MULTISEGMENTWELL_GENERIC_HEADER_INCLUDED
32template<
class Scalar>
class WellInterfaceGeneric;
35template<
class Scalar>
class WellState;
37template <
typename Scalar>
46 int segmentNumberToIndex(
const int segment_number)
const;
55 void scaleSegmentRatesWithWellRates(
const std::vector<std::vector<int>>&
segment_inlets,
67 bool accelerationalPressureLossConsidered()
const;
68 bool frictionalPressureLossConsidered()
const;
70 Scalar getSegmentDp(
const int seg,
72 const std::vector<Scalar>&
seg_dp)
const;
Definition DeferredLogger.hpp:57
Definition MultisegmentWellGeneric.hpp:39
int numberOfSegments() const
number of segments for this well
Definition MultisegmentWellGeneric.cpp:123
bool update_relaxation_factor(const std::vector< Scalar > &measure_history, Scalar &relaxation_factor, bool ®ularize, DeferredLogger &deferred_logger) const
Detect oscillation or stagnation based on the residual measure history.
Definition MultisegmentWellGeneric.cpp:147
Definition WellInterfaceGeneric.hpp:53
The state of a set of wells, tailored for use by the fully implicit blackoil simulator.
Definition WellState.hpp:66
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