mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix error message for rs/rsw =1
This commit is contained in:
parent
a73f4078ef
commit
57c1e52019
@ -195,7 +195,9 @@ calcCoeff( const int pvtRegionIdx,
|
|||||||
// Currently we only support either gas in water or gas in oil
|
// Currently we only support either gas in water or gas in oil
|
||||||
// not both
|
// not both
|
||||||
if (detR != 1 && detRw != 1) {
|
if (detR != 1 && detRw != 1) {
|
||||||
std::string msg = "only support " + std::to_string(detR) + " " + std::to_string(detR);
|
std::string msg = "We currently support either gas in water or gas in oil, not both."
|
||||||
|
"i.e. detR = " + std::to_string(detR) + " and detRw " + std::to_string(detRw) +
|
||||||
|
"can not both be different from 1";
|
||||||
throw std::range_error(msg);
|
throw std::range_error(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user