mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-03 12:47:42 -06:00
Removed debug message and fix tolerance parameter checks
This commit is contained in:
1 parent
6ecb37e19a
commit
c621f5254d
2 files changed
+2
-8
No files matched your search
@@ -522,7 +522,7 @@ updateSolution(const BVector& dx)
|
||||
OPM_TIMEBLOCK(updateSolution);
|
||||
// Prepare to store solution update for convergence check
|
||||
if (this->param_.tolerance_max_dp_ > 0.0 || this->param_.tolerance_max_ds_ > 0.0
|
||||
|| this->param_.tolerance_max_drs_ > 0.0 || this->param_.tolerance_max_drv_) {
|
||||
|| this->param_.tolerance_max_drs_ > 0.0 || this->param_.tolerance_max_drv_ > 0.0) {
|
||||
prepareStoringSolutionUpdate();
|
||||
}
|
||||
|
||||
@@ -544,7 +544,7 @@ updateSolution(const BVector& dx)
|
||||
|
||||
// Store solution update
|
||||
if (this->param_.tolerance_max_dp_ > 0.0 || this->param_.tolerance_max_ds_ > 0.0
|
||||
|| this->param_.tolerance_max_drs_ > 0.0 || this->param_.tolerance_max_drv_) {
|
||||
|| this->param_.tolerance_max_drs_ > 0.0 || this->param_.tolerance_max_drv_ > 0.0) {
|
||||
storeSolutionUpdate(dx);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -365,12 +365,6 @@ public:
|
||||
|
||||
// Terminal warnings
|
||||
if (terminalOutput_) {
|
||||
// TUNINGDP values
|
||||
OpmLog::debug(
|
||||
fmt::format("TUNINGDP values: TRGDDP: {:.2e}, TRGDDS: {:.2e}, TRGDDRS: {:.2e}, TRGDDRV: {:.2e}",
|
||||
tuning_dp.TRGDDP, tuning_dp.TRGDDS, tuning_dp.TRGDDRS, tuning_dp.TRGDDRV)
|
||||
);
|
||||
|
||||
// Warnings unsupported items
|
||||
if (tuning_dp.TRGLCV_has_value) {
|
||||
OpmLog::warning("TUNINGDP item 1 (TRGLCV) is not supported.");
|
||||
|
||||
Reference in new issue
Block a user