mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-07 15:03:01 -06:00
Improved error message
This commit is contained in:
parent
ba165838cd
commit
461694677a
@ -2575,10 +2575,10 @@ private:
|
|||||||
" vaporized oil is enabled");
|
" vaporized oil is enabled");
|
||||||
if (enableBrine && !has_salt)
|
if (enableBrine && !has_salt)
|
||||||
throw std::runtime_error("The ECL input file requires the SALT keyword to be present if"
|
throw std::runtime_error("The ECL input file requires the SALT keyword to be present if"
|
||||||
" brine is enabled");
|
" brine is enabled and the model is initialized explicitly");
|
||||||
if (enableSaltPrecipitation && !has_saltp)
|
if (enableSaltPrecipitation && !has_saltp)
|
||||||
throw std::runtime_error("The ECL input file requires the SALTP keyword to be present if"
|
throw std::runtime_error("The ECL input file requires the SALTP keyword to be present if"
|
||||||
" salt precipitation is enabled");
|
" salt precipitation is enabled and the model is initialized explicitly");
|
||||||
|
|
||||||
size_t numDof = this->model().numGridDof();
|
size_t numDof = this->model().numGridDof();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user