]> https://gitweb.dealii.org/ - dealii.git/commitdiff
New log_history function for read-only access to _log_history.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 8 Mar 2001 17:26:01 +0000 (17:26 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 8 Mar 2001 17:26:01 +0000 (17:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@4175 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/solver_control.h

index dc6b0b33d8b0b38ad36e2c748327dca17230f860..648d8fef703c32ce5032e788455af132be8be668 100644 (file)
@@ -209,6 +209,11 @@ class SolverControl : public Subscriptor
                                      * steps.
                                      */
     void log_history (const bool);
+
+                                    /**
+                                     * Returns the log_history flag.
+                                     */
+    bool log_history () const;
     
                                     /**
                                      * Set logging frequency.
@@ -439,6 +444,13 @@ SolverControl::log_history (bool newval)
 }
 
 
+inline bool
+SolverControl::log_history () const
+{
+  return _log_history;
+}
+
+
 
 inline void
 SolverControl::log_result (bool newval)

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.