From 914f5c82b73e409d1158b85e3f3b7f872a1560ed Mon Sep 17 00:00:00 2001 From: guido Date: Wed, 17 Jul 2002 11:16:19 +0000 Subject: [PATCH] missing access to log_result flag git-svn-id: https://svn.dealii.org/trunk@6255 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/solver_control.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/include/lac/solver_control.h b/deal.II/lac/include/lac/solver_control.h index 1f4c0b8e7d..2059ae3177 100644 --- a/deal.II/lac/include/lac/solver_control.h +++ b/deal.II/lac/include/lac/solver_control.h @@ -264,7 +264,7 @@ class SolverControl : public Subscriptor void log_history (const bool); /** - * Returns the log_history flag. + * Returns the @p{log_history} flag. */ bool log_history () const; @@ -278,6 +278,11 @@ class SolverControl : public Subscriptor */ void log_result (const bool); + /** + * Returns the @p{log_result} flag. + */ + bool log_result () const; + protected: /** * Maximum number of steps. @@ -524,6 +529,14 @@ SolverControl::log_result (const bool newval) +inline bool +SolverControl::log_result () const +{ + return m_log_result; +} + + + inline double ReductionControl::reduction () const { -- 2.39.5