mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
considering FOAM in the switch
This commit is contained in:
@@ -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." );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user