Merge pull request #1431 from GitPaean/silencing_warning_from_opm_common_pr_348

adding POLYMW to the injectorType determination
This commit is contained in:
Atgeirr Flø Rasmussen
2018-03-10 13:19:37 +01:00
committed by GitHub

View File

@@ -1483,6 +1483,7 @@ namespace Opm
case Phase::SOLVENT: OPM_THROW(std::invalid_argument, "Solvent injector is not supported.");
case Phase::POLYMER: OPM_THROW(std::invalid_argument, "Polymer injector is not supported.");
case Phase::ENERGY: OPM_THROW(std::invalid_argument, "Energy injector is not supported.");
case Phase::POLYMW: OPM_THROW(std::invalid_argument, "PolyMW injector is not supported.");
}
OPM_THROW(std::logic_error, "Invalid state." );
}