From: Denis Davydov Date: Mon, 24 Nov 2014 10:49:50 +0000 (+0100) Subject: renamed residual_norm to relative_error X-Git-Tag: v8.2.0-rc1~35^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2e94082e324d97acc0e908e37118a7f0f8d35c6;p=dealii.git renamed residual_norm to relative_error --- 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);