mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
MultisegmentWellGeneric.hpp: forward WellSegments
This commit is contained in:
parent
1bf36dfc08
commit
0c91d6f6c1
@ -22,8 +22,6 @@
|
|||||||
#ifndef OPM_MULTISEGMENTWELL_GENERIC_HEADER_INCLUDED
|
#ifndef OPM_MULTISEGMENTWELL_GENERIC_HEADER_INCLUDED
|
||||||
#define OPM_MULTISEGMENTWELL_GENERIC_HEADER_INCLUDED
|
#define OPM_MULTISEGMENTWELL_GENERIC_HEADER_INCLUDED
|
||||||
|
|
||||||
#include <opm/input/eclipse/Schedule/MSW/WellSegments.hpp>
|
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@ -35,6 +33,8 @@ namespace Opm
|
|||||||
class DeferredLogger;
|
class DeferredLogger;
|
||||||
class SummaryState;
|
class SummaryState;
|
||||||
class WellInterfaceGeneric;
|
class WellInterfaceGeneric;
|
||||||
|
enum class WellSegmentCompPressureDrop;
|
||||||
|
class WellSegments;
|
||||||
class WellState;
|
class WellState;
|
||||||
|
|
||||||
template <typename Scalar>
|
template <typename Scalar>
|
||||||
@ -61,7 +61,7 @@ protected:
|
|||||||
void scaleSegmentPressuresWithBhp(WellState& well_state) const;
|
void scaleSegmentPressuresWithBhp(WellState& well_state) const;
|
||||||
|
|
||||||
// components of the pressure drop to be included
|
// components of the pressure drop to be included
|
||||||
WellSegments::CompPressureDrop compPressureDrop() const;
|
WellSegmentCompPressureDrop compPressureDrop() const;
|
||||||
|
|
||||||
/// Detect oscillation or stagnation based on the residual measure history
|
/// Detect oscillation or stagnation based on the residual measure history
|
||||||
void detectOscillations(const std::vector<double>& measure_history,
|
void detectOscillations(const std::vector<double>& measure_history,
|
||||||
|
Loading…
Reference in New Issue
Block a user