Add name member to SingleWellState

This commit is contained in:
Joakim Hove
2021-10-30 16:48:42 +02:00
parent 03cf7b0327
commit 807ac101d8
4 changed files with 9 additions and 7 deletions

View File

@@ -33,8 +33,9 @@ namespace Opm {
class SingleWellState {
public:
SingleWellState(const ParallelWellInfo& pinfo, bool is_producer, std::size_t num_perf, std::size_t num_phases, double temp);
SingleWellState(const std::string& name, const ParallelWellInfo& pinfo, bool is_producer, std::size_t num_perf, std::size_t num_phases, double temp);
std::string name;
std::reference_wrapper<const ParallelWellInfo> parallel_info;
Well::Status status{Well::Status::OPEN};