]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an unused variable.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 12 Sep 2017 00:45:48 +0000 (18:45 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 13 Sep 2017 15:33:28 +0000 (09:33 -0600)
include/deal.II/lac/solver_richardson.h

index 3423d730009221267b06a2f59139ab0e5c8a46e4..37f7b95a7ac925e9d8230e660de1c48c71b1d534 100644 (file)
@@ -165,14 +165,6 @@ protected:
    * Control parameters.
    */
   AdditionalData additional_data;
-
-  /**
-   * Within the iteration loop, the norm of the residual is stored in this
-   * variable. The function @p criterion uses this variable to compute the
-   * convergence value, which in this class is the norm of the residual vector
-   * and thus the square root of the @p res2 value.
-   */
-  typename VectorType::value_type res;
 };
 
 /*@}*/
@@ -211,8 +203,7 @@ SolverRichardson<VectorType>::SolverRichardson(SolverControl        &cn,
   Solver<VectorType> (cn),
   Vr(nullptr),
   Vd(nullptr),
-  additional_data(data),
-  res(numbers::signaling_nan<double>())
+  additional_data(data)
 {}
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.