Add ParallelWellInfo member to SingleWellState

This commit is contained in:
Joakim Hove
2021-09-27 10:00:37 +02:00
parent 56afec81b4
commit cf340644b2
5 changed files with 18 additions and 15 deletions

View File

@@ -26,12 +26,15 @@
#include <opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Events.hpp>
#include <opm/simulators/wells/PerfData.hpp>
#include <opm/simulators/wells/ParallelWellInfo.hpp>
namespace Opm {
class SingleWellState {
public:
SingleWellState(bool is_producer, std::size_t num_perf, std::size_t num_phases, double temp);
SingleWellState(const ParallelWellInfo* pinfo, bool is_producer, std::size_t num_perf, std::size_t num_phases, double temp);
const ParallelWellInfo* parallel_info;
Well::Status status{Well::Status::OPEN};
bool producer;