From: hartmann Date: Thu, 8 Mar 2001 17:26:01 +0000 (+0000) Subject: New log_history function for read-only access to _log_history. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87b71bd8cc5686c798efa522f465bf49ec4f08db;p=dealii-svn.git New log_history function for read-only access to _log_history. git-svn-id: https://svn.dealii.org/trunk@4175 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/solver_control.h b/deal.II/lac/include/lac/solver_control.h index dc6b0b33d8..648d8fef70 100644 --- a/deal.II/lac/include/lac/solver_control.h +++ b/deal.II/lac/include/lac/solver_control.h @@ -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)