Internalize a global WHISTCTL setting in the Schedule object

This commit is contained in:
Joakim Hove
2019-05-02 15:08:44 +02:00
parent 7dba7a50cf
commit 0f3dabc3aa
7 changed files with 149 additions and 51 deletions

View File

@@ -179,6 +179,7 @@ namespace Opm
DynamicState<std::shared_ptr<WellTestConfig>> wtest_config;
DynamicState<std::shared_ptr<WListManager>> wlist_manager;
DynamicState<std::shared_ptr<UDQInput>> udq_config;
DynamicState<WellProducer::ControlModeEnum> global_whistctl_mode;
RFTConfig rft_config;
Actions m_actions;

View File

@@ -52,6 +52,7 @@ namespace Opm {
public:
Well(const std::string& name, const size_t& seqIndex, int headI,
int headJ, double refDepth, double drainageRadius, Phase preferredPhase,
WellProducer::ControlModeEnum whist_ctl,
const TimeMap& timeMap, size_t creationTimeStep,
WellCompletion::CompletionOrderEnum completionOrdering = WellCompletion::TRACK,
bool allowCrossFlow = true, bool automaticShutIn = true);