WellState.hpp: remove unnecessary Well.hpp include

forward WellStatus
This commit is contained in:
Arne Morten Kvarving 2023-01-18 11:08:53 +01:00
parent 7b2b18045e
commit df181f2200
2 changed files with 3 additions and 3 deletions

View File

@ -774,7 +774,7 @@ void WellState::shutWell(int well_index)
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);
ws.updateStatus(status);

View File

@ -34,7 +34,6 @@
#include <opm/output/data/Wells.hpp>
#include <opm/input/eclipse/Schedule/Events.hpp>
#include <opm/input/eclipse/Schedule/Well/Well.hpp>
#include <dune/common/version.hh>
#include <dune/common/parallel/mpihelper.hh>
@ -51,6 +50,7 @@ namespace Opm
class ParallelWellInfo;
class Schedule;
enum class WellStatus;
/// The state of a set of wells, tailored for use by the fully
/// implicit blackoil simulator.
@ -211,7 +211,7 @@ public:
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 shutWell(int well_index);