MultisegmentWellGeneric.hpp: forward WellSegments

This commit is contained in:
Arne Morten Kvarving 2023-01-12 14:26:00 +01:00
parent 1bf36dfc08
commit 0c91d6f6c1

View File

@ -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,