considering FOAM in the switch

This commit is contained in:
Kai Bao
2019-06-26 13:21:03 +02:00
parent 24fe1c8fba
commit c2d472cd96

View File

@@ -1485,6 +1485,7 @@ namespace Opm
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.");
case Phase::FOAM: OPM_THROW(std::invalid_argument, "Foam injector is not supported.");
}
OPM_THROW(std::logic_error, "Invalid state." );
}