Skip to content
Snippets Groups Projects
Commit b99d2717 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

AMGStep: use `override` keyword; use `= default` for default constructor

parent 6e7d7634
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ class AMGStep ...@@ -34,7 +34,7 @@ class AMGStep
public: public:
/** \brief Default constructor */ /** \brief Default constructor */
AMGStep () {} AMGStep () = default;
/** \brief Constructor which initializes and sets up an algebraic hierarchy /** \brief Constructor which initializes and sets up an algebraic hierarchy
\param smootherArgs Arguments for the smoother. See the dune-istl documentation for details \param smootherArgs Arguments for the smoother. See the dune-istl documentation for details
...@@ -69,10 +69,10 @@ public: ...@@ -69,10 +69,10 @@ public:
/** \brief Sets up an algebraic hierarchy /** \brief Sets up an algebraic hierarchy
*/ */
virtual void preprocess(); void preprocess() override;
/** \brief Perform one iteration */ /** \brief Perform one iteration */
virtual void iterate(); void iterate() override;
/** \brief Arguments for the smoother. See the dune-istl documentation for details */ /** \brief Arguments for the smoother. See the dune-istl documentation for details */
SmootherArgs smootherArgs_; SmootherArgs smootherArgs_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment