add throw for case msw is true and vapwat is true

This commit is contained in:
Paul Egberts 2022-05-11 11:50:54 +02:00
parent 5a23084846
commit 6fe10a3e23

View File

@ -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");
}
}