From 6fe10a3e234b180daeec1ec5968b41a0cdeb054f Mon Sep 17 00:00:00 2001 From: Paul Egberts Date: Wed, 11 May 2022 11:50:54 +0200 Subject: [PATCH] add throw for case msw is true and vapwat is true --- opm/simulators/wells/MultisegmentWell_impl.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opm/simulators/wells/MultisegmentWell_impl.hpp b/opm/simulators/wells/MultisegmentWell_impl.hpp index e7c7bfc06..e75fba6c5 100644 --- a/opm/simulators/wells/MultisegmentWell_impl.hpp +++ b/opm/simulators/wells/MultisegmentWell_impl.hpp @@ -71,6 +71,10 @@ namespace Opm if constexpr (Base::has_brine) { OPM_THROW(std::runtime_error, "brine is not supported by multisegment well yet"); } + + if constexpr (Base::has_watVapor) { + OPM_THROW(std::runtime_error, "water evaporation is not supported by multisegment well yet"); + } }