From f2e94082e324d97acc0e908e37118a7f0f8d35c6 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Mon, 24 Nov 2014 11:49:50 +0100 Subject: [PATCH] renamed residual_norm to relative_error --- source/lac/slepc_solver.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/lac/slepc_solver.cc b/source/lac/slepc_solver.cc index 0aea6ad118..47a55e3352 100644 --- a/source/lac/slepc_solver.cc +++ b/source/lac/slepc_solver.cc @@ -198,7 +198,7 @@ namespace SLEPcWrappers AssertThrow (ierr == 0, ExcSLEPcError(ierr)); PetscInt n_iterations = 0; - PetscReal residual_norm = 1.e300; + PetscReal relative_error = 1.e300; // @todo Investigate elaborating on some of this to act on the // complete eigenspectrum @@ -213,13 +213,13 @@ namespace SLEPcWrappers { // EPSGetErrorEstimate is consistent with the residual norm // used during the solution process. - ierr = EPSGetErrorEstimate (solver_data->eps, 0, &residual_norm); + ierr = EPSGetErrorEstimate (solver_data->eps, 0, &relative_error); AssertThrow (ierr == 0, ExcSLEPcError(ierr)); } // check the solver state const SolverControl::State state - = solver_control.check (n_iterations, residual_norm); + = solver_control.check (n_iterations, relative_error); // get the solver state according to SLEPc get_solver_state (state); -- 2.39.5