mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Modify error message.
This commit is contained in:
parent
d4bb9c0611
commit
88011cca2e
@ -617,7 +617,7 @@ namespace Opm
|
|||||||
State& state)
|
State& state)
|
||||||
{
|
{
|
||||||
if (props.numPhases() != 3) {
|
if (props.numPhases() != 3) {
|
||||||
OPM_THROW(std::runtime_error, "initBlackoilSurfvol() can for now only be used with 3 phases.");
|
OPM_THROW(std::runtime_error, "initBlackoilSurfvol() is only supported in three-phase simulations.");
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::vector<double>& rs = state.gasoilratio();
|
const std::vector<double>& rs = state.gasoilratio();
|
||||||
|
Loading…
Reference in New Issue
Block a user