mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
WellState.hpp: remove unnecessary Well.hpp include
forward WellStatus
This commit is contained in:
parent
7b2b18045e
commit
df181f2200
@ -774,7 +774,7 @@ void WellState::shutWell(int well_index)
|
|||||||
ws.shut();
|
ws.shut();
|
||||||
}
|
}
|
||||||
|
|
||||||
void WellState::updateStatus(int well_index, Well::Status status)
|
void WellState::updateStatus(int well_index, WellStatus status)
|
||||||
{
|
{
|
||||||
auto& ws = this->well(well_index);
|
auto& ws = this->well(well_index);
|
||||||
ws.updateStatus(status);
|
ws.updateStatus(status);
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
#include <opm/output/data/Wells.hpp>
|
#include <opm/output/data/Wells.hpp>
|
||||||
|
|
||||||
#include <opm/input/eclipse/Schedule/Events.hpp>
|
#include <opm/input/eclipse/Schedule/Events.hpp>
|
||||||
#include <opm/input/eclipse/Schedule/Well/Well.hpp>
|
|
||||||
|
|
||||||
#include <dune/common/version.hh>
|
#include <dune/common/version.hh>
|
||||||
#include <dune/common/parallel/mpihelper.hh>
|
#include <dune/common/parallel/mpihelper.hh>
|
||||||
@ -51,6 +50,7 @@ namespace Opm
|
|||||||
|
|
||||||
class ParallelWellInfo;
|
class ParallelWellInfo;
|
||||||
class Schedule;
|
class Schedule;
|
||||||
|
enum class WellStatus;
|
||||||
|
|
||||||
/// The state of a set of wells, tailored for use by the fully
|
/// The state of a set of wells, tailored for use by the fully
|
||||||
/// implicit blackoil simulator.
|
/// implicit blackoil simulator.
|
||||||
@ -211,7 +211,7 @@ public:
|
|||||||
|
|
||||||
bool wellIsOwned(const std::string& wellName) const;
|
bool wellIsOwned(const std::string& wellName) const;
|
||||||
|
|
||||||
void updateStatus(int well_index, Well::Status status);
|
void updateStatus(int well_index, WellStatus status);
|
||||||
|
|
||||||
void openWell(int well_index);
|
void openWell(int well_index);
|
||||||
void shutWell(int well_index);
|
void shutWell(int well_index);
|
||||||
|
Loading…
Reference in New Issue
Block a user