From ebc793fbf25f182fe972b54b188d2aead4be614a Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@math.fu-berlin.de> Date: Thu, 7 Sep 2017 10:27:40 +0200 Subject: [PATCH] Make verbosity protected and add getter --- dune/solvers/common/numproc.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dune/solvers/common/numproc.hh b/dune/solvers/common/numproc.hh index ab38666..98dea25 100644 --- a/dune/solvers/common/numproc.hh +++ b/dune/solvers/common/numproc.hh @@ -25,6 +25,10 @@ class SolverError : public Dune::Exception {}; /** \brief Set the verbosity level */ void setVerbosity(VerbosityMode verbosity) {verbosity_ = verbosity;} + /** \brief Get the verbosity level */ + const VerbosityMode& getVerbosity() const {return verbosity_;} + + protected: /** \brief Controls the amount of screen output of a numproc */ VerbosityMode verbosity_; -- GitLab