]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Default SolverControl to not print to deallog.
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 11 Jul 2024 13:48:08 +0000 (07:48 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 27 Jan 2025 20:30:21 +0000 (13:30 -0700)
include/deal.II/lac/solver_control.h

index d93bb5d44c7d50683608a0fffd8499b8169f9b56..61a88a9c4b1616313d19c7f0c091b2bf6d6485c3 100644 (file)
@@ -145,12 +145,12 @@ public:
    * checked and the number of the iteration step) shall be printed to @p
    * deallog stream.  Default is: do not print. Similarly, @p log_result
    * specifies the whether the final result is logged to @p deallog. Default
-   * is yes.
+   * is: do not print.
    */
   explicit SolverControl(const unsigned int n           = 100,
                          const double       tol         = 1.e-10,
                          const bool         log_history = false,
-                         const bool         log_result  = true);
+                         const bool         log_result  = false);
 
   /**
    * Virtual destructor is needed as there are virtual functions in this
@@ -432,7 +432,7 @@ public:
                             const double       tolerance   = 1.e-10,
                             const double       reduce      = 1.e-2,
                             const bool         log_history = false,
-                            const bool         log_result  = true);
+                            const bool         log_result  = false);
 
   /**
    * Initialize with a SolverControl object. The result will emulate
@@ -518,7 +518,7 @@ public:
   explicit IterationNumberControl(const unsigned int maxiter     = 100,
                                   const double       tolerance   = 1e-12,
                                   const bool         log_history = false,
-                                  const bool         log_result  = true);
+                                  const bool         log_result  = false);
 
   /**
    * Initialize with a SolverControl object. The result will emulate

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.