mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-04 13:36:57 -06:00
Improved error message
This commit is contained in:
parent
ba165838cd
commit
461694677a
@ -2575,10 +2575,10 @@ private:
|
||||
" vaporized oil is enabled");
|
||||
if (enableBrine && !has_salt)
|
||||
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)
|
||||
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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user