mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1135 from nairr/terminal_output_mod
Minor terminal output modifications
This commit is contained in:
@@ -1821,7 +1821,7 @@ typedef Eigen::Array<double,
|
||||
|| (idx < np && std::isnan(well_flux_residual[idx]))) {
|
||||
const auto msg = std::string("NaN residual for phase ") + materialName(idx);
|
||||
if (terminal_output_) {
|
||||
OpmLog::problem(msg);
|
||||
OpmLog::bug(msg);
|
||||
}
|
||||
OPM_THROW_NOLOG(Opm::NumericalProblem, msg);
|
||||
}
|
||||
@@ -1900,7 +1900,7 @@ typedef Eigen::Array<double,
|
||||
if (std::isnan(well_flux_residual[idx])) {
|
||||
const auto msg = std::string("NaN residual for phase ") + materialName(idx);
|
||||
if (terminal_output_) {
|
||||
OpmLog::problem(msg);
|
||||
OpmLog::bug(msg);
|
||||
}
|
||||
OPM_THROW_NOLOG(Opm::NumericalProblem, msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user