Skip to content
Snippets Groups Projects
Commit e1b8ba93 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Use override

parent c778d002
No related branches found
No related tags found
No related merge requests found
...@@ -27,15 +27,15 @@ class ImplicitEuler ...@@ -27,15 +27,15 @@ class ImplicitEuler
Dune::BitSetVector<dim> const &_dirichletNodes, Dune::BitSetVector<dim> const &_dirichletNodes,
FunctionType const &_dirichletFunction); FunctionType const &_dirichletFunction);
void virtual nextTimeStep(); void virtual nextTimeStep() override;
void virtual setup(VectorType const &, double, double, VectorType &, void virtual setup(VectorType const &, double, double, VectorType &,
VectorType &, MatrixType &); VectorType &, MatrixType &) override;
void virtual postProcess(VectorType const &); void virtual postProcess(VectorType const &) override;
void virtual extractDisplacement(VectorType &) const; void virtual extractDisplacement(VectorType &) const override;
void virtual extractVelocity(VectorType &) const; void virtual extractVelocity(VectorType &) const override;
virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> * virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone()
clone(); override;
private: private:
MatrixType const &A; MatrixType const &A;
...@@ -62,15 +62,15 @@ class Newmark ...@@ -62,15 +62,15 @@ class Newmark
Dune::BitSetVector<dim> const &_dirichletNodes, Dune::BitSetVector<dim> const &_dirichletNodes,
FunctionType const &_dirichletFunction); FunctionType const &_dirichletFunction);
void virtual nextTimeStep(); void virtual nextTimeStep() override;
void virtual setup(VectorType const &, double, double, VectorType &, void virtual setup(VectorType const &, double, double, VectorType &,
VectorType &, MatrixType &); VectorType &, MatrixType &) override;
void virtual postProcess(VectorType const &); void virtual postProcess(VectorType const &) override;
void virtual extractDisplacement(VectorType &) const; void virtual extractDisplacement(VectorType &) const override;
void virtual extractVelocity(VectorType &) const; void virtual extractVelocity(VectorType &) const override;
virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> * virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone()
clone(); override;
private: private:
MatrixType const &A; MatrixType const &A;
...@@ -99,15 +99,15 @@ class EulerPair ...@@ -99,15 +99,15 @@ class EulerPair
Dune::BitSetVector<dim> const &_dirichletNodes, Dune::BitSetVector<dim> const &_dirichletNodes,
FunctionType const &_dirichletFunction); FunctionType const &_dirichletFunction);
void virtual nextTimeStep(); void virtual nextTimeStep() override;
void virtual setup(VectorType const &, double, double, VectorType &, void virtual setup(VectorType const &, double, double, VectorType &,
VectorType &, MatrixType &); VectorType &, MatrixType &) override;
void virtual postProcess(VectorType const &); void virtual postProcess(VectorType const &) override;
void virtual extractDisplacement(VectorType &) const; void virtual extractDisplacement(VectorType &) const override;
void virtual extractVelocity(VectorType &) const; void virtual extractVelocity(VectorType &) const override;
virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> * virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> *clone()
clone(); override;
private: private:
MatrixType const &A; MatrixType const &A;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment