Skip to content
Snippets Groups Projects
Commit 8dd58d72 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Add methods to check the status of the verbosity mode

parent 355d4fcd
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,15 @@ class SolverError : public Dune::Exception {};
/** \brief Get the verbosity level */
const VerbosityMode& getVerbosity() const {return verbosity_;}
/** \brief Check if verbosity is quiet. */
bool isQuiet() const { return verbosity_ == QUIET; }
/** \brief Check if verbosity is reduced. */
bool isReduced() const { return verbosity_ == REDUCED; }
/** \brief Check if verbosity is full. */
bool isFull() const { return verbosity_ == FULL; }
protected:
/** \brief Controls the amount of screen output of a numproc */
VerbosityMode verbosity_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment