mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Throw if solvent phase injected.
This commit is contained in:
parent
e5bb786df2
commit
f19c90bba7
@ -1353,6 +1353,7 @@ namespace Opm
|
||||
case Phase::OIL: return InjectionSpecification::OIL;
|
||||
case Phase::WATER: return InjectionSpecification::WATER;
|
||||
case Phase::GAS: return InjectionSpecification::GAS;
|
||||
case Phase::SOLVENT: OPM_THROW(std::invalid_argument, "Solvent injector is not supported.");
|
||||
}
|
||||
OPM_THROW(std::logic_error, "Invalid state." );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user