]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Implement default initializer for EigenvalueInformation 9784/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 31 Mar 2020 17:49:26 +0000 (13:49 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 31 Mar 2020 17:49:26 +0000 (13:49 -0400)
include/deal.II/lac/precondition.h

index f2261ddc52c06abb07f92b153a863fab31f00bde..9659ca120d3bcfbe456df91d20bd7ed8450dd885 100644 (file)
@@ -1187,6 +1187,15 @@ public:
      * AdditionalData::degree or estimated as described there).
      */
     unsigned int degree;
+    /**
+     * Constructor initializing with invalid values.
+     */
+    EigenvalueInformation()
+      : min_eigenvalue_estimate{std::numeric_limits<double>::max()}
+      , max_eigenvalue_estimate{std::numeric_limits<double>::lowest()}
+      , cg_iterations{0}
+      , degree{0}
+    {}
   };
 
   /**

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.