diff --git a/src/timestepping.hh b/src/timestepping.hh index 1a2db4610a06624829e03bbb1cec19ced47b7a2c..3146d10cc9d140eeae962188776857d70f7ce418 100644 --- a/src/timestepping.hh +++ b/src/timestepping.hh @@ -27,15 +27,15 @@ class ImplicitEuler Dune::BitSetVector<dim> const &_dirichletNodes, FunctionType const &_dirichletFunction); - void virtual nextTimeStep(); + void virtual nextTimeStep() override; void virtual setup(VectorType const &, double, double, VectorType &, - VectorType &, MatrixType &); - void virtual postProcess(VectorType const &); - void virtual extractDisplacement(VectorType &) const; - void virtual extractVelocity(VectorType &) const; + VectorType &, MatrixType &) override; + void virtual postProcess(VectorType const &) override; + void virtual extractDisplacement(VectorType &) const override; + void virtual extractVelocity(VectorType &) const override; - virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> * - clone(); + virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone() + override; private: MatrixType const &A; @@ -62,15 +62,15 @@ class Newmark Dune::BitSetVector<dim> const &_dirichletNodes, FunctionType const &_dirichletFunction); - void virtual nextTimeStep(); + void virtual nextTimeStep() override; void virtual setup(VectorType const &, double, double, VectorType &, - VectorType &, MatrixType &); - void virtual postProcess(VectorType const &); - void virtual extractDisplacement(VectorType &) const; - void virtual extractVelocity(VectorType &) const; + VectorType &, MatrixType &) override; + void virtual postProcess(VectorType const &) override; + void virtual extractDisplacement(VectorType &) const override; + void virtual extractVelocity(VectorType &) const override; - virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> * - clone(); + virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone() + override; private: MatrixType const &A; @@ -99,15 +99,15 @@ class EulerPair Dune::BitSetVector<dim> const &_dirichletNodes, FunctionType const &_dirichletFunction); - void virtual nextTimeStep(); + void virtual nextTimeStep() override; void virtual setup(VectorType const &, double, double, VectorType &, - VectorType &, MatrixType &); - void virtual postProcess(VectorType const &); - void virtual extractDisplacement(VectorType &) const; - void virtual extractVelocity(VectorType &) const; + VectorType &, MatrixType &) override; + void virtual postProcess(VectorType const &) override; + void virtual extractDisplacement(VectorType &) const override; + void virtual extractVelocity(VectorType &) const override; - virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> * - clone(); + virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone() + override; private: MatrixType const &A;