]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make sure to use override where appropriate
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 9 May 2018 14:58:09 +0000 (16:58 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 9 May 2018 20:10:41 +0000 (22:10 +0200)
183 files changed:
bundled/muparser_v2_2_4/include/muParser.h
bundled/muparser_v2_2_4/include/muParserBase.h
bundled/muparser_v2_2_4/include/muParserInt.h
examples/step-12/step-12.cc
examples/step-13/step-13.cc
examples/step-14/step-14.cc
examples/step-15/step-15.cc
examples/step-16/step-16.cc
examples/step-17/step-17.cc
examples/step-18/step-18.cc
examples/step-20/step-20.cc
examples/step-21/step-21.cc
examples/step-22/step-22.cc
examples/step-23/step-23.cc
examples/step-24/step-24.cc
examples/step-25/step-25.cc
examples/step-26/step-26.cc
examples/step-27/step-27.cc
examples/step-29/step-29.cc
examples/step-30/step-30.cc
examples/step-31/step-31.cc
examples/step-32/step-32.cc
examples/step-33/step-33.cc
examples/step-35/step-35.cc
examples/step-37/step-37.cc
examples/step-38/step-38.cc
examples/step-39/step-39.cc
examples/step-4/step-4.cc
examples/step-41/step-41.cc
examples/step-42/step-42.cc
examples/step-43/step-43.cc
examples/step-45/step-45.cc
examples/step-46/step-46.cc
examples/step-47/step-47.cc
examples/step-48/step-48.cc
examples/step-50/step-50.cc
examples/step-51/step-51.cc
examples/step-55/step-55.cc
examples/step-56/step-56.cc
examples/step-57/step-57.cc
examples/step-7/step-7.cc
examples/step-9/step-9.cc
include/deal.II/algorithms/newton.h
include/deal.II/algorithms/operator.h
include/deal.II/algorithms/theta_timestepping.h
include/deal.II/base/aligned_vector.h
include/deal.II/base/auto_derivative_function.h
include/deal.II/base/data_out_base.h
include/deal.II/base/exceptions.h
include/deal.II/base/flow_function.h
include/deal.II/base/function.h
include/deal.II/base/function_bessel.h
include/deal.II/base/function_cspline.h
include/deal.II/base/function_derivative.h
include/deal.II/base/function_lib.h
include/deal.II/base/function_parser.h
include/deal.II/base/function_spherical.h
include/deal.II/base/logstream.h
include/deal.II/base/parameter_acceptor.h
include/deal.II/base/parameter_handler.h
include/deal.II/base/parsed_function.h
include/deal.II/base/partitioner.h
include/deal.II/base/patterns.h
include/deal.II/base/quadrature.h
include/deal.II/base/quadrature_point_data.h
include/deal.II/base/table.h
include/deal.II/base/tensor_function.h
include/deal.II/base/thread_management.h
include/deal.II/base/time_stepping.h
include/deal.II/base/work_stream.h
include/deal.II/distributed/shared_tria.h
include/deal.II/distributed/tria.h
include/deal.II/distributed/tria_base.h
include/deal.II/dofs/dof_handler.h
include/deal.II/dofs/dof_handler_policy.h
include/deal.II/fe/fe.h
include/deal.II/fe/fe_abf.h
include/deal.II/fe/fe_bdm.h
include/deal.II/fe/fe_bernstein.h
include/deal.II/fe/fe_dg_vector.h
include/deal.II/fe/fe_dgp.h
include/deal.II/fe/fe_dgp_monomial.h
include/deal.II/fe/fe_dgp_nonparametric.h
include/deal.II/fe/fe_dgq.h
include/deal.II/fe/fe_enriched.h
include/deal.II/fe/fe_face.h
include/deal.II/fe/fe_nedelec.h
include/deal.II/fe/fe_nedelec_sz.h
include/deal.II/fe/fe_p1nc.h
include/deal.II/fe/fe_poly.h
include/deal.II/fe/fe_poly_face.h
include/deal.II/fe/fe_poly_tensor.h
include/deal.II/fe/fe_q.h
include/deal.II/fe/fe_q_base.h
include/deal.II/fe/fe_q_bubbles.h
include/deal.II/fe/fe_q_dg0.h
include/deal.II/fe/fe_q_hierarchical.h
include/deal.II/fe/fe_q_iso_q1.h
include/deal.II/fe/fe_rannacher_turek.h
include/deal.II/fe/fe_raviart_thomas.h
include/deal.II/fe/fe_system.h
include/deal.II/fe/fe_tools.h
include/deal.II/fe/fe_trace.h
include/deal.II/fe/fe_values.h
include/deal.II/grid/grid_tools_cache.h
include/deal.II/grid/manifold.h
include/deal.II/grid/persistent_tria.h
include/deal.II/grid/tria.h
include/deal.II/hp/dof_handler.h
include/deal.II/lac/block_matrix_base.h
include/deal.II/lac/block_sparse_matrix.h
include/deal.II/lac/block_sparsity_pattern.h
include/deal.II/lac/block_vector.h
include/deal.II/lac/chunk_sparse_matrix.h
include/deal.II/lac/chunk_sparsity_pattern.h
include/deal.II/lac/exceptions.h
include/deal.II/lac/matrix_out.h
include/deal.II/lac/petsc_full_matrix.h
include/deal.II/lac/petsc_matrix_base.h
include/deal.II/lac/petsc_matrix_free.h
include/deal.II/lac/petsc_parallel_block_sparse_matrix.h
include/deal.II/lac/petsc_parallel_block_vector.h
include/deal.II/lac/petsc_parallel_sparse_matrix.h
include/deal.II/lac/petsc_parallel_vector.h
include/deal.II/lac/petsc_solver.h
include/deal.II/lac/petsc_sparse_matrix.h
include/deal.II/lac/petsc_vector_base.h
include/deal.II/lac/pointer_matrix.h
include/deal.II/lac/precondition.h
include/deal.II/lac/precondition_block.h
include/deal.II/lac/precondition_selector.h
include/deal.II/lac/read_write_vector.h
include/deal.II/lac/scalapack.h
include/deal.II/lac/solver_bicgstab.h
include/deal.II/lac/solver_cg.h
include/deal.II/lac/solver_control.h
include/deal.II/lac/solver_minres.h
include/deal.II/lac/solver_richardson.h
include/deal.II/lac/solver_selector.h
include/deal.II/lac/sparse_decomposition.h
include/deal.II/lac/sparse_direct.h
include/deal.II/lac/sparse_ilu.h
include/deal.II/lac/sparse_matrix.h
include/deal.II/lac/sparse_matrix_ez.h
include/deal.II/lac/sparse_mic.h
include/deal.II/lac/sparsity_pattern.h
include/deal.II/lac/swappable_vector.h
include/deal.II/lac/trilinos_block_sparse_matrix.h
include/deal.II/lac/trilinos_epetra_communication_pattern.h
include/deal.II/lac/trilinos_parallel_block_vector.h
include/deal.II/lac/trilinos_precondition.h
include/deal.II/lac/trilinos_sparse_matrix.h
include/deal.II/lac/trilinos_sparsity_pattern.h
include/deal.II/lac/trilinos_vector.h
include/deal.II/lac/vector.h
include/deal.II/lac/vector_memory.h
include/deal.II/lac/vector_view.h
include/deal.II/matrix_free/matrix_free.h
include/deal.II/matrix_free/operators.h
include/deal.II/meshworker/local_integrator.h
include/deal.II/meshworker/vector_selector.h
include/deal.II/multigrid/mg_base.h
include/deal.II/multigrid/mg_coarse.h
include/deal.II/multigrid/mg_matrix.h
include/deal.II/multigrid/mg_smoother.h
include/deal.II/multigrid/mg_transfer.h
include/deal.II/multigrid/mg_transfer_block.h
include/deal.II/multigrid/mg_transfer_component.h
include/deal.II/multigrid/mg_transfer_matrix_free.h
include/deal.II/numerics/data_out_dof_data.h
include/deal.II/numerics/data_out_dof_data.templates.h
include/deal.II/numerics/data_out_stack.h
include/deal.II/numerics/data_postprocessor.h
include/deal.II/numerics/dof_output_operator.h
include/deal.II/numerics/dof_output_operator.templates.h
include/deal.II/numerics/fe_field_function.h
include/deal.II/numerics/time_dependent.h
include/deal.II/particles/particle_handler.h
source/base/logstream.cc
source/fe/fe_values.cc
source/fe/fe_values.decl.2.inst.in
source/lac/trilinos_solver.cc
source/matrix_free/task_info.cc

index 39fe137fe7386dc793aef31bff94296cfe6b6e12..a1caec4c8b50c96f903098130028159d7c0d8df8 100644 (file)
@@ -54,11 +54,11 @@ namespace mu
 \r
     Parser();\r
 \r
-    virtual void InitCharSets();\r
-    virtual void InitFun();\r
-    virtual void InitConst();\r
-    virtual void InitOprt();\r
-    virtual void OnDetectVar(string_type *pExpr, int &nStart, int &nEnd);\r
+    virtual void InitCharSets() override;\r
+    virtual void InitFun() override;\r
+    virtual void InitConst() override;\r
+    virtual void InitOprt() override;\r
+    virtual void OnDetectVar(string_type *pExpr, int &nStart, int &nEnd) override;\r
 \r
     value_type Diff(value_type *a_Var, \r
                     value_type a_fPos, \r
index 685f59fbd95065a316ee4cb4bb2a88d6dfd006d9..871724be84fcefd045ffaabfbd8668df259684c3 100644 (file)
@@ -209,17 +209,17 @@ private:
       \r
     protected:\r
       \r
-      virtual char_type do_decimal_point() const\r
+      virtual char_type do_decimal_point() const override\r
       {\r
         return m_cDecPoint;\r
       }\r
 \r
-      virtual char_type do_thousands_sep() const\r
+      virtual char_type do_thousands_sep() const override\r
       {\r
         return m_cThousandsSep;\r
       }\r
 \r
-      virtual std::string do_grouping() const \r
+      virtual std::string do_grouping() const override\r
       { \r
                // fix for issue 4: https://code.google.com/p/muparser/issues/detail?id=4\r
                // courtesy of Jens Bartsch\r
index 136de339714588c26d48430d9e17778d367d0a26..61e77400073313912cb63d42c11566650975289d 100644 (file)
@@ -128,10 +128,10 @@ private:
 public:\r
     ParserInt();\r
 \r
-    virtual void InitFun();\r
-    virtual void InitOprt();\r
-    virtual void InitConst();\r
-    virtual void InitCharSets();\r
+    virtual void InitFun() override;\r
+    virtual void InitOprt() override;\r
+    virtual void InitConst() override;\r
+    virtual void InitCharSets() override;\r
 };\r
 \r
 } // namespace mu\r
index 85a08cfd344f0d0ead5f7f1ae7007a65a7576a90..9b96dba32a5fcb256ca974c7462bde56de34aa8f 100644 (file)
@@ -91,7 +91,7 @@ namespace Step12
     BoundaryValues () {}
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double> &values,
-                             const unsigned int component=0) const;
+                             const unsigned int component=0) const override;
   };
 
   // Given the flow direction, the inflow boundary of the unit square
index 91a982ff8fe551361d8e0b62395f45fe1df44dd7..5cee0efad73f8852dd797a6e66d3137c2b4cfb36 100644 (file)
@@ -181,7 +181,7 @@ namespace Step13
                             TableHandler       &results_table);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double>  &solution) const override;
 
       DeclException1 (ExcEvaluationPointNotFound,
                       Point<dim>,
@@ -374,7 +374,7 @@ namespace Step13
                       const DataOutBase::OutputFormat  output_format);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double>  &solution) const override;
     private:
       const std::string               output_name_base;
       const DataOutBase::OutputFormat output_format;
@@ -585,19 +585,19 @@ namespace Step13
               const Quadrature<dim>    &quadrature,
               const Function<dim>      &boundary_values);
       virtual
-      ~Solver ();
+      ~Solver () override;
 
       virtual
       void
-      solve_problem ();
+      solve_problem () override;
 
       virtual
       void
-      postprocess (const Evaluation::EvaluationBase<dim> &postprocessor) const;
+      postprocess (const Evaluation::EvaluationBase<dim> &postprocessor) const override;
 
       virtual
       unsigned int
-      n_dofs () const;
+      n_dofs () const override;
 
       // In the protected section of this class, we first have a number of
       // member variables, of which the use should be clear from the previous
@@ -1103,7 +1103,7 @@ namespace Step13
                     const Function<dim>      &boundary_values);
     protected:
       const SmartPointer<const Function<dim> > rhs_function;
-      virtual void assemble_rhs (Vector<double> &rhs) const;
+      virtual void assemble_rhs (Vector<double> &rhs) const override;
     };
 
 
@@ -1196,7 +1196,7 @@ namespace Step13
                         const Function<dim>      &rhs_function,
                         const Function<dim>      &boundary_values);
 
-      virtual void refine_grid ();
+      virtual void refine_grid () override;
     };
 
 
@@ -1245,7 +1245,7 @@ namespace Step13
                        const Function<dim>      &rhs_function,
                        const Function<dim>      &boundary_values);
 
-      virtual void refine_grid ();
+      virtual void refine_grid () override;
     };
 
 
@@ -1313,7 +1313,7 @@ namespace Step13
     Solution () : Function<dim> () {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component) const;
+                          const unsigned int  component) const override;
   };
 
 
@@ -1338,7 +1338,7 @@ namespace Step13
     RightHandSide () : Function<dim> () {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component) const;
+                          const unsigned int  component) const override;
   };
 
 
index 22d440515b7fc863e4728119c438e446579e37bc..5cf552f3903cef36ea80fff07419b45d34cc1e60 100644 (file)
@@ -109,7 +109,7 @@ namespace Step14
       PointValueEvaluation (const Point<dim>   &evaluation_point);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double>  &solution) const override;
 
       DeclException1 (ExcEvaluationPointNotFound,
                       Point<dim>,
@@ -324,7 +324,7 @@ namespace Step14
       GridOutput (const std::string &output_name_base);
 
       virtual void operator () (const DoFHandler<dim> &dof_handler,
-                                const Vector<double>  &solution) const;
+                                const Vector<double>  &solution) const override;
     private:
       const std::string output_name_base;
     };
@@ -426,19 +426,19 @@ namespace Step14
               const Quadrature<dim-1>  &face_quadrature,
               const Function<dim>      &boundary_values);
       virtual
-      ~Solver ();
+      ~Solver () override;
 
       virtual
       void
-      solve_problem ();
+      solve_problem () override;
 
       virtual
       void
-      postprocess (const Evaluation::EvaluationBase<dim> &postprocessor) const;
+      postprocess (const Evaluation::EvaluationBase<dim> &postprocessor) const override;
 
       virtual
       unsigned int
-      n_dofs () const;
+      n_dofs () const override;
 
     protected:
       const SmartPointer<const FiniteElement<dim> >  fe;
@@ -763,11 +763,11 @@ namespace Step14
                     const Function<dim>      &boundary_values);
 
       virtual
-      void output_solution () const;
+      void output_solution () const override;
 
     protected:
       const SmartPointer<const Function<dim> > rhs_function;
-      virtual void assemble_rhs (Vector<double> &rhs) const;
+      virtual void assemble_rhs (Vector<double> &rhs) const override;
     };
 
 
@@ -862,7 +862,7 @@ namespace Step14
                         const Function<dim>      &rhs_function,
                         const Function<dim>      &boundary_values);
 
-      virtual void refine_grid ();
+      virtual void refine_grid () override;
     };
 
 
@@ -904,7 +904,7 @@ namespace Step14
                        const Function<dim>      &rhs_function,
                        const Function<dim>      &boundary_values);
 
-      virtual void refine_grid ();
+      virtual void refine_grid () override;
     };
 
 
@@ -968,7 +968,7 @@ namespace Step14
                                const Function<dim>      &boundary_values,
                                const Function<dim>      &weighting_function);
 
-      virtual void refine_grid ();
+      virtual void refine_grid () override;
 
     private:
       const SmartPointer<const Function<dim> > weighting_function;
@@ -1133,14 +1133,14 @@ namespace Step14
     struct SetUp : public SetUpBase<dim>
     {
       virtual
-      const Function<dim>   &get_boundary_values () const;
+      const Function<dim>   &get_boundary_values () const override;
 
       virtual
-      const Function<dim>   &get_right_hand_side () const;
+      const Function<dim>   &get_right_hand_side () const override;
 
 
       virtual
-      void create_coarse_grid (Triangulation<dim> &coarse_grid) const;
+      void create_coarse_grid (Triangulation<dim> &coarse_grid) const override;
 
     private:
       static const typename Traits::BoundaryValues boundary_values;
@@ -1514,7 +1514,7 @@ namespace Step14
       virtual
       void
       assemble_rhs (const DoFHandler<dim> &dof_handler,
-                    Vector<double>        &rhs) const;
+                    Vector<double>        &rhs) const override;
 
       DeclException1 (ExcEvaluationPointNotFound,
                       Point<dim>,
@@ -1746,7 +1746,7 @@ namespace Step14
 
     protected:
       const SmartPointer<const DualFunctional::DualFunctionalBase<dim> > dual_functional;
-      virtual void assemble_rhs (Vector<double> &rhs) const;
+      virtual void assemble_rhs (Vector<double> &rhs) const override;
 
       static const Functions::ZeroFunction<dim> boundary_values;
     };
@@ -1806,21 +1806,21 @@ namespace Step14
 
       virtual
       void
-      solve_problem ();
+      solve_problem () override;
 
       virtual
       void
-      postprocess (const Evaluation::EvaluationBase<dim> &postprocessor) const;
+      postprocess (const Evaluation::EvaluationBase<dim> &postprocessor) const override;
 
       virtual
       unsigned int
-      n_dofs () const;
+      n_dofs () const override;
 
-      virtual void refine_grid ();
+      virtual void refine_grid () override;
 
       virtual
       void
-      output_solution () const;
+      output_solution () const override;
 
     private:
       // In the private section, we have two functions that are used to call
index cb0fdb98b2daf7c670e3e3b1259ca0b3b8af4154..ff55ef096d88b3bbb062763020241536a3afeaa2 100644 (file)
@@ -143,7 +143,7 @@ namespace Step15
     BoundaryValues () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
index e435ef1124e9d4d39699abdddcc32a892610a1b1..c27867f6c204581c1928b2ba6bf08d41a90e8f7c 100644 (file)
@@ -107,7 +107,7 @@ namespace Step16
   {
   public:
     LaplaceIntegrator();
-    virtual void cell(MeshWorker::DoFInfo<dim> &dinfo, MeshWorker::IntegrationInfo<dim> &info) const;
+    virtual void cell(MeshWorker::DoFInfo<dim> &dinfo, MeshWorker::IntegrationInfo<dim> &info) const override;
   };
 
 
index 5a5a2ecac2373846d2fa959ed9c77d08f55fb371..50f5d23769da4b87c1d4d8e984779e27d07acbaf 100644 (file)
@@ -189,10 +189,10 @@ namespace Step17
     RightHandSide ();
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &values) const;
+                               Vector<double>   &values) const override;
 
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> >   &value_list) const;
+                                    std::vector<Vector<double> >   &value_list) const override;
   };
 
 
index 6c097f45f3a391164bd0e146b700a845af534e55..d95bdaa8665beab4087afa8f700323f5330d1379 100644 (file)
@@ -565,12 +565,12 @@ namespace Step18
     virtual
     void
     vector_value (const Point<dim> &p,
-                  Vector<double>   &values) const;
+                  Vector<double>   &values) const override;
 
     virtual
     void
     vector_value_list (const std::vector<Point<dim> > &points,
-                       std::vector<Vector<double> >   &value_list) const;
+                       std::vector<Vector<double> >   &value_list) const override;
   };
 
 
@@ -653,12 +653,12 @@ namespace Step18
     virtual
     void
     vector_value (const Point<dim> &p,
-                  Vector<double>   &values) const;
+                  Vector<double>   &values) const override;
 
     virtual
     void
     vector_value_list (const std::vector<Point<dim> > &points,
-                       std::vector<Vector<double> >   &value_list) const;
+                       std::vector<Vector<double> >   &value_list) const override;
 
   private:
     const double velocity;
index f27bd453fd7872c03bc3a84922b4d9a15465a227..85dc4aa5a2b47ff0114548eedd93ece2b46dacfb 100644 (file)
@@ -128,7 +128,7 @@ namespace Step20
     RightHandSide () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -140,7 +140,7 @@ namespace Step20
     PressureBoundaryValues () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -151,7 +151,7 @@ namespace Step20
     ExactSolution () : Function<dim>(dim+1) {}
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
   };
 
 
@@ -229,7 +229,7 @@ namespace Step20
     KInverse () : TensorFunction<2,dim>() {}
 
     virtual void value_list (const std::vector<Point<dim> > &points,
-                             std::vector<Tensor<2,dim> >    &values) const;
+                             std::vector<Tensor<2,dim> >    &values) const override;
   };
 
 
index 9c3d46b2ab875d8dbd7ce5b2bd60830012c5954f..f68fbc7d530c3b420a2434375a5319f16d16a15a 100644 (file)
@@ -143,7 +143,7 @@ namespace Step21
     PressureRightHandSide () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -168,7 +168,7 @@ namespace Step21
     PressureBoundaryValues () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -195,7 +195,7 @@ namespace Step21
     SaturationBoundaryValues () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -233,10 +233,10 @@ namespace Step21
     InitialValues () : Function<dim>(dim+2) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
 
   };
 
@@ -362,7 +362,7 @@ namespace Step21
       {}
 
       virtual void value_list (const std::vector<Point<dim> > &points,
-                               std::vector<Tensor<2,dim> >    &values) const;
+                               std::vector<Tensor<2,dim> >    &values) const override;
 
     private:
       static std::vector<Point<dim> > centers;
index 53efefffababaac1d877ac4f097eca9293874bed..62e9d7c97f6f72f9934ac7a522a8e075a94edc7a 100644 (file)
@@ -183,10 +183,10 @@ namespace Step22
     BoundaryValues () : Function<dim>(dim+1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
   };
 
 
@@ -224,10 +224,10 @@ namespace Step22
     RightHandSide () : Function<dim>(dim+1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
 
   };
 
index 8362d54c94ceec3bf693bf3fe4444187fe68aab0..dd2b38865f93549788040ad0e80645ccfc0f6f58 100644 (file)
@@ -166,7 +166,7 @@ namespace Step23
     InitialValuesU () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -177,7 +177,7 @@ namespace Step23
     InitialValuesV () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -213,7 +213,7 @@ namespace Step23
     RightHandSide () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -238,7 +238,7 @@ namespace Step23
     BoundaryValuesU () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -251,7 +251,7 @@ namespace Step23
     BoundaryValuesV () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
index 497cd74b250d25be43d3ff41d8ca5aacc7481694..eb23ece6960e8df11c5397b648a29eda010c603b 100644 (file)
@@ -145,7 +145,7 @@ namespace Step24
     {}
 
     virtual double value (const Point<dim> &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
   private:
     struct Source
index 1f9462df7adf553caee179cc89e6c4779a4decd0..4416a31b5296ed7e946ada90530bee07c2472013 100644 (file)
@@ -156,7 +156,7 @@ namespace Step25
     ExactSolution (const unsigned int n_components = 1,
                    const double time = 0.) : Function<dim>(n_components, time) {}
     virtual double value (const Point<dim> &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
   };
 
   template <int dim>
@@ -227,7 +227,7 @@ namespace Step25
     {}
 
     virtual double value (const Point<dim> &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
   };
 
   template <int dim>
index c5dbd996e0f1a600b31d76aa3612fa308c5b1006..cd5a7024e7a21cf4f6e6aedb2dffb414a3cfebf3 100644 (file)
@@ -133,7 +133,7 @@ namespace Step26
     {}
 
     virtual double value (const Point<dim> &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
 
   private:
     const double period;
@@ -177,7 +177,7 @@ namespace Step26
   {
   public:
     virtual double value (const Point<dim>  &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
   };
 
 
index 3dd1d5f9681280a0168df2f22d4a2b9e1fb25ce7..ddd6e0a61064edd0b0749d7b8ffafe7d715fde9f 100644 (file)
@@ -139,7 +139,7 @@ namespace Step27
     RightHandSide () : Function<dim> () {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component) const;
+                          const unsigned int  component) const override;
   };
 
 
index 9cc11cda531c9ae71154475230b8aee1053bf8fc..7307bda3d8f1a64b11196f054a323be1dc31d8dc 100644 (file)
@@ -102,10 +102,10 @@ namespace Step29
     DirichletBoundaryValues() : Function<dim> (2) {};
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &values) const;
+                               Vector<double>   &values) const override;
 
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> >   &value_list) const;
+                                    std::vector<Vector<double> >   &value_list) const override;
   };
 
 
@@ -302,7 +302,7 @@ namespace Step29
     void
     evaluate_vector_field
     (const DataPostprocessorInputs::Vector<dim> &inputs,
-     std::vector<Vector<double> >               &computed_quantities) const;
+     std::vector<Vector<double> >               &computed_quantities) const override;
   };
 
   // In the constructor, we need to call the constructor of the base class
index b82663e6c9de4d7c321ee85aa25ad0db9731149f..25fc3b1e40b0b20971d2cb7ae7362b8cb8ab42ca 100644 (file)
@@ -62,7 +62,7 @@ namespace Step30
   public:
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double> &values,
-                             const unsigned int component=0) const;
+                             const unsigned int component=0) const override;
   };
 
 
@@ -72,7 +72,7 @@ namespace Step30
   public:
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double> &values,
-                             const unsigned int component=0) const;
+                             const unsigned int component=0) const override;
   };
 
 
index 0097099d8a376ad4dddb23257d97192852391977..2b0965bb01089220638edb09a938ae8a09f0930e 100644 (file)
@@ -133,10 +133,10 @@ namespace Step31
       TemperatureInitialValues () : Function<dim>(1) {}
 
       virtual double value (const Point<dim>   &p,
-                            const unsigned int  component = 0) const;
+                            const unsigned int  component = 0) const override;
 
       virtual void vector_value (const Point<dim> &p,
-                                 Vector<double>   &value) const;
+                                 Vector<double>   &value) const override;
     };
 
 
@@ -166,10 +166,10 @@ namespace Step31
       TemperatureRightHandSide () : Function<dim>(1) {}
 
       virtual double value (const Point<dim>   &p,
-                            const unsigned int  component = 0) const;
+                            const unsigned int  component = 0) const override;
 
       virtual void vector_value (const Point<dim> &p,
-                                 Vector<double>   &value) const;
+                                 Vector<double>   &value) const override;
     };
 
 
index 9018bb525cd9415ec95b28afb5723e06dfbe7273..1c84be07803fa0187067c497d07952db90d13266 100644 (file)
@@ -154,10 +154,10 @@ namespace Step32
       TemperatureInitialValues () : Function<dim>(1) {}
 
       virtual double value (const Point<dim>   &p,
-                            const unsigned int  component = 0) const;
+                            const unsigned int  component = 0) const override;
 
       virtual void vector_value (const Point<dim> &p,
-                                 Vector<double>   &value) const;
+                                 Vector<double>   &value) const override;
     };
 
 
@@ -3155,15 +3155,15 @@ namespace Step32
     void
     evaluate_vector_field
     (const DataPostprocessorInputs::Vector<dim> &inputs,
-     std::vector<Vector<double> >               &computed_quantities) const;
+     std::vector<Vector<double> >               &computed_quantities) const override;
 
-    virtual std::vector<std::string> get_names () const;
+    virtual std::vector<std::string> get_names () const override;
 
     virtual
     std::vector<DataComponentInterpretation::DataComponentInterpretation>
-    get_data_component_interpretation () const;
+    get_data_component_interpretation () const override;
 
-    virtual UpdateFlags get_needed_update_flags () const;
+    virtual UpdateFlags get_needed_update_flags () const override;
 
   private:
     const unsigned int partition;
index d608e947684ea027bfd68ce1627ee43f2cdbe724..59499ec6ba5702dc3c7f86c60fce41dfb89eb102 100644 (file)
@@ -539,15 +539,15 @@ namespace Step33
       void
       evaluate_vector_field
       (const DataPostprocessorInputs::Vector<dim> &inputs,
-       std::vector<Vector<double> >               &computed_quantities) const;
+       std::vector<Vector<double> >               &computed_quantities) const override;
 
-      virtual std::vector<std::string> get_names () const;
+      virtual std::vector<std::string> get_names () const override;
 
       virtual
       std::vector<DataComponentInterpretation::DataComponentInterpretation>
-      get_data_component_interpretation () const;
+      get_data_component_interpretation () const override;
 
-      virtual UpdateFlags get_needed_update_flags () const;
+      virtual UpdateFlags get_needed_update_flags () const override;
 
     private:
       const bool do_schlieren_plot;
index 755bbcb377982a429e56e9b528b8a320a069724a..731608c0c774ef8a2cc4844b7b73b6921462a02a 100644 (file)
@@ -312,11 +312,11 @@ namespace Step35
       Velocity (const double initial_time = 0.0);
 
       virtual double value (const Point<dim> &p,
-                            const unsigned int component = 0) const;
+                            const unsigned int component = 0) const override;
 
       virtual void value_list (const std::vector< Point<dim> > &points,
                                std::vector<double> &values,
-                               const unsigned int component = 0) const;
+                               const unsigned int component = 0) const override;
     };
 
 
@@ -363,11 +363,11 @@ namespace Step35
       Pressure (const double initial_time = 0.0);
 
       virtual double value (const Point<dim> &p,
-                            const unsigned int component = 0) const;
+                            const unsigned int component = 0) const override;
 
       virtual void value_list (const std::vector< Point<dim> > &points,
                                std::vector<double> &values,
-                               const unsigned int component = 0) const;
+                               const unsigned int component = 0) const override;
     };
 
     template <int dim>
index 421e29a2aeb40b9c6119b7de2c36d759def5138b..728dcd32c2e83607f319483c7b8b003005f00cf5 100644 (file)
@@ -93,7 +93,7 @@ namespace Step37
     Coefficient ()  : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     template <typename number>
     number value (const Point<dim,number> &p,
@@ -101,7 +101,7 @@ namespace Step37
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
   };
 
 
@@ -246,15 +246,15 @@ namespace Step37
 
     LaplaceOperator ();
 
-    void clear();
+    void clear() override;
 
     void evaluate_coefficient(const Coefficient<dim> &coefficient_function);
 
-    virtual void compute_diagonal();
+    virtual void compute_diagonal() override;
 
   private:
     virtual void apply_add(LinearAlgebra::distributed::Vector<number> &dst,
-                           const LinearAlgebra::distributed::Vector<number> &src) const;
+                           const LinearAlgebra::distributed::Vector<number> &src) const override;
 
     void local_apply (const MatrixFree<dim,number>                     &data,
                       LinearAlgebra::distributed::Vector<number>       &dst,
index a26305bdd2c490587db68777f3f24e8ba9fe0d1e..0026008ba6d7fa5113703c8fcbf4afd7c203e1b6 100644 (file)
@@ -142,10 +142,10 @@ namespace Step38
     Solution () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
   };
 
@@ -207,7 +207,7 @@ namespace Step38
     RightHandSide () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
   template <>
index 81a84479f96d4b6d1105fe14cbab528f7a1c7197..a911f0acb13f5cbcb124f4d8608ab56952bb35b9 100644 (file)
@@ -96,13 +96,13 @@ namespace Step39
   {
   public:
     void cell(MeshWorker::DoFInfo<dim> &dinfo,
-              typename MeshWorker::IntegrationInfo<dim> &info) const;
+              typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void boundary(MeshWorker::DoFInfo<dim> &dinfo,
-                  typename MeshWorker::IntegrationInfo<dim> &info) const;
+                  typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void face(MeshWorker::DoFInfo<dim> &dinfo1,
               MeshWorker::DoFInfo<dim> &dinfo2,
               typename MeshWorker::IntegrationInfo<dim> &info1,
-              typename MeshWorker::IntegrationInfo<dim> &info2) const;
+              typename MeshWorker::IntegrationInfo<dim> &info2) const override;
   };
 
 
@@ -158,12 +158,12 @@ namespace Step39
   class RHSIntegrator : public MeshWorker::LocalIntegrator<dim>
   {
   public:
-    void cell(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const;
-    void boundary(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const;
+    void cell(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const override;
+    void boundary(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void face(MeshWorker::DoFInfo<dim> &dinfo1,
               MeshWorker::DoFInfo<dim> &dinfo2,
               typename MeshWorker::IntegrationInfo<dim> &info1,
-              typename MeshWorker::IntegrationInfo<dim> &info2) const;
+              typename MeshWorker::IntegrationInfo<dim> &info2) const override;
   };
 
 
@@ -207,12 +207,12 @@ namespace Step39
   class Estimator : public MeshWorker::LocalIntegrator<dim>
   {
   public:
-    void cell(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const;
-    void boundary(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const;
+    void cell(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const override;
+    void boundary(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void face(MeshWorker::DoFInfo<dim> &dinfo1,
               MeshWorker::DoFInfo<dim> &dinfo2,
               typename MeshWorker::IntegrationInfo<dim> &info1,
-              typename MeshWorker::IntegrationInfo<dim> &info2) const;
+              typename MeshWorker::IntegrationInfo<dim> &info2) const override;
   };
 
 
@@ -303,12 +303,12 @@ namespace Step39
   class ErrorIntegrator : public MeshWorker::LocalIntegrator<dim>
   {
   public:
-    void cell(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const;
-    void boundary(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const;
+    void cell(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const override;
+    void boundary(MeshWorker::DoFInfo<dim> &dinfo, typename MeshWorker::IntegrationInfo<dim> &info) const override;
     void face(MeshWorker::DoFInfo<dim> &dinfo1,
               MeshWorker::DoFInfo<dim> &dinfo2,
               typename MeshWorker::IntegrationInfo<dim> &info1,
-              typename MeshWorker::IntegrationInfo<dim> &info2) const;
+              typename MeshWorker::IntegrationInfo<dim> &info2) const override;
   };
 
   // Here we have the integration on cells. There is currently no good
index 3e758dfabdd1917b723acffe76402a9304a90105..542ca232332f950dda08caab1f94f2bc07e3ab96 100644 (file)
@@ -137,7 +137,7 @@ public:
   RightHandSide () : Function<dim>() {}
 
   virtual double value (const Point<dim>   &p,
-                        const unsigned int  component = 0) const;
+                        const unsigned int  component = 0) const override;
 };
 
 
@@ -149,7 +149,7 @@ public:
   BoundaryValues () : Function<dim>() {}
 
   virtual double value (const Point<dim>   &p,
-                        const unsigned int  component = 0) const;
+                        const unsigned int  component = 0) const override;
 };
 
 
@@ -183,7 +183,7 @@ double RightHandSide<dim>::value (const Point<dim> &p,
   for (unsigned int i=0; i<dim; ++i)
     return_value += 4.0 * std::pow(p(i), 4.0);
 
-  return return_value;
+  return 1.;//return_value;
 }
 
 
index 7b40fff7d101c87735e27b62b105b31b7e937734..dc1c914b7403d615f0d6938d03e4a193c3aa4956 100644 (file)
@@ -123,7 +123,7 @@ namespace Step41
     RightHandSide () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
   template <int dim>
@@ -145,7 +145,7 @@ namespace Step41
     BoundaryValues () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
   template <int dim>
@@ -169,7 +169,7 @@ namespace Step41
     Obstacle () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
   template <int dim>
index c30f6c91e24f0d0e5fa4c97bc906629bd53d631d..dcde515dd2eaadb8361bef29c72f02604a51ed1f 100644 (file)
@@ -283,11 +283,11 @@ namespace Step42
 
       virtual
       double value (const Point<dim> &p,
-                    const unsigned int component = 0) const;
+                    const unsigned int component = 0) const override;
 
       virtual
       void vector_value (const Point<dim> &p,
-                         Vector<double> &values) const;
+                         Vector<double> &values) const override;
     };
 
     template <int dim>
@@ -323,11 +323,11 @@ namespace Step42
       BoundaryValues ();
 
       virtual double value (const Point<dim> &p,
-                            const unsigned int component = 0) const;
+                            const unsigned int component = 0) const override;
 
       virtual
       void vector_value (const Point<dim> &p,
-                         Vector<double> &values) const;
+                         Vector<double> &values) const override;
     };
 
 
@@ -375,11 +375,11 @@ namespace Step42
 
       virtual
       double value (const Point<dim> &p,
-                    const unsigned int component = 0) const;
+                    const unsigned int component = 0) const override;
 
       virtual
       void vector_value (const Point<dim> &p,
-                         Vector<double> &values) const;
+                         Vector<double> &values) const override;
 
     private:
       const double z_surface;
@@ -563,11 +563,11 @@ namespace Step42
 
       virtual
       double value (const Point<dim> &p,
-                    const unsigned int component = 0) const;
+                    const unsigned int component = 0) const override;
 
       virtual
       void vector_value (const Point<dim> &p,
-                         Vector<double> &values) const;
+                         Vector<double> &values) const override;
 
     private:
       const BitmapFile<dim> input_obstacle;
index 43785e623c7ae9dbd86334025e5cc955b4aab4a6..7de2592398492fe31f3c8df0fd106925b59068d7 100644 (file)
@@ -89,7 +89,7 @@ namespace Step43
     PressureRightHandSide () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -110,7 +110,7 @@ namespace Step43
     PressureBoundaryValues () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -130,7 +130,7 @@ namespace Step43
     SaturationBoundaryValues () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -154,10 +154,10 @@ namespace Step43
     SaturationInitialValues () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
   };
 
 
@@ -239,7 +239,7 @@ namespace Step43
       {}
 
       virtual void value_list (const std::vector<Point<dim> > &points,
-                               std::vector<Tensor<2,dim> >    &values) const;
+                               std::vector<Tensor<2,dim> >    &values) const override;
 
     private:
       static std::vector<Point<dim> > centers;
index 1b708bde6b76f8909fe006d04554c3c602ad0229..40b760166ecc658c07481777dce5afab24692c83 100644 (file)
@@ -112,10 +112,10 @@ namespace Step45
     BoundaryValues () : Function<dim>(dim+1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
   };
 
 
@@ -149,10 +149,10 @@ namespace Step45
     RightHandSide () : Function<dim>(dim+1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
 
   };
 
index a789658a4e553aa028385eff737dc7b0e4c2fd7d..b9ddfe57c8936d5d70fd385f607e34da81c00032 100644 (file)
@@ -162,10 +162,10 @@ namespace Step46
     StokesBoundaryValues () : Function<dim>(dim+1+dim) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
   };
 
 
@@ -210,10 +210,10 @@ namespace Step46
     RightHandSide () : Function<dim>(dim+1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
 
   };
 
index 5e431f88bcf2e056cb6990d42c33ac4e0345b468..b5b98249fd0d3d5f781482b1d5380ce341562d7a 100644 (file)
@@ -121,11 +121,11 @@ namespace Step47
     Coefficient () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
   };
 
 
@@ -907,15 +907,15 @@ namespace Step47
     void
     evaluate_vector_field
     (const dealii::DataPostprocessorInputs::Vector<dim> &inputs,
-     std::vector<Vector<double> >                       &computed_quantities) const;
+     std::vector<Vector<double> >                       &computed_quantities) const override;
 
-    virtual std::vector<std::string> get_names () const;
+    virtual std::vector<std::string> get_names () const override;
 
     virtual
     std::vector<DataComponentInterpretation::DataComponentInterpretation>
-    get_data_component_interpretation () const;
+    get_data_component_interpretation () const override;
 
-    virtual UpdateFlags get_needed_update_flags () const;
+    virtual UpdateFlags get_needed_update_flags () const override;
   };
 
 
index 56e6d13d65626cca0ee52d5b7de47580d02ad412..1c4a9da66d79ccc2de6425b0623126b06afa71d8 100644 (file)
@@ -250,7 +250,7 @@ namespace Step48
     ExactSolution (const unsigned int n_components = 1,
                    const double time = 0.) : Function<dim>(n_components, time) {}
     virtual double value (const Point<dim> &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
   };
 
   template <int dim>
index 5d1b2ca59179d0c1a4dda448873e495695d3ca3c..48276bfcc16f6ed9476ac882a574c891cec4874c 100644 (file)
@@ -160,11 +160,11 @@ namespace Step50
     Coefficient () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
   };
 
 
index 2352760087540281d2616c2880f051af7ddb7d6f..c0657afef521fdff228aa3f7545cb60fde1afd78 100644 (file)
@@ -141,10 +141,10 @@ namespace Step51
     Solution () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
   };
 
 
@@ -201,7 +201,7 @@ namespace Step51
     SolutionAndGradient () : Function<dim>(dim) {}
 
     virtual void vector_value (const Point<dim>   &p,
-                               Vector<double>     &v) const;
+                               Vector<double>     &v) const override;
   };
 
   template <int dim>
@@ -227,7 +227,7 @@ namespace Step51
   public:
     ConvectionVelocity() : TensorFunction<1,dim>() {}
 
-    virtual Tensor<1,dim> value (const Point<dim> &p) const;
+    virtual Tensor<1,dim> value (const Point<dim> &p) const override;
   };
 
 
@@ -272,7 +272,7 @@ namespace Step51
     RightHandSide () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
   private:
     const ConvectionVelocity<dim> convection_velocity;
index 364d056f7abbd32a7c4004a14adc55f6ebb377ca..ed2d680a2527a04e7e51dffea30fa01eab4f7f5a 100644 (file)
@@ -201,7 +201,7 @@ namespace Step55
     RightHandSide () : Function<dim>(dim+1) {}
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
 
   };
 
@@ -229,7 +229,7 @@ namespace Step55
     ExactSolution () : Function<dim>(dim+1) {}
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &value) const;
+                               Vector<double>   &value) const override;
   };
 
   template <int dim>
index 43a49d2d79e595e82c5a0aa123119fe3c9f99873..7e788853c4465c2a48c3c61a6820fe385b6f0bb9 100644 (file)
@@ -102,9 +102,9 @@ namespace Step56
   public:
     Solution () : Function<dim>(dim+1) {}
     virtual double value (const Point<dim> &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
     virtual Tensor<1,dim> gradient (const Point<dim> &p,
-                                    const unsigned int component = 0) const;
+                                    const unsigned int component = 0) const override;
   };
 
   template <>
@@ -233,7 +233,7 @@ namespace Step56
     RightHandSide () : Function<dim>(dim+1) {}
 
     virtual double value (const Point<dim> &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
   };
 
   template <>
index 6fc2bf06da16cfb6761d05438cd4db0064167520..3888166081a4a98c4826f0d6aa6e5d1e1daea569 100644 (file)
@@ -153,10 +153,10 @@ namespace Step57
   public:
     BoundaryValues() : Function<dim>(dim+1) {}
     virtual double value(const Point<dim> &p,
-                         const unsigned int component) const;
+                         const unsigned int component) const override;
 
     virtual void   vector_value(const Point <dim>    &p,
-                                Vector<double> &values) const;
+                                Vector<double> &values) const override;
   };
 
   template <int dim>
index e12e35ad4eeff7e5c1a21e98b71c3e23d5f7766b..a3ee7d5f2cdacb502ffc5ce0badba6dc5940862c 100644 (file)
@@ -191,10 +191,10 @@ namespace Step7
     Solution () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
   };
 
 
@@ -290,7 +290,7 @@ namespace Step7
     RightHandSide () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
index 56e999e78e5a6a635763bc9a3d07ca0fdda64e84..6f8902c90e0f92909ee339f55d83b9b246bdca48 100644 (file)
@@ -197,10 +197,10 @@ namespace Step9
   public:
     AdvectionField () : TensorFunction<1,dim> () {}
 
-    virtual Tensor<1,dim> value (const Point<dim> &p) const;
+    virtual Tensor<1,dim> value (const Point<dim> &p) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
-                             std::vector<Tensor<1,dim> >    &values) const;
+                             std::vector<Tensor<1,dim> >    &values) const override;
 
     // In previous examples, we have used assertions that throw exceptions in
     // several places. However, we have never seen how such exceptions are
@@ -290,11 +290,11 @@ namespace Step9
     RightHandSide () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
   private:
     static const Point<dim> center_point;
@@ -361,11 +361,11 @@ namespace Step9
     BoundaryValues () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
   };
 
 
index 3e78da667c757d75ee017ab5642b6714cec9c672..a80a7af97b842156c41a9b27d2e5e2fea4ac59fb 100644 (file)
@@ -94,9 +94,9 @@ namespace Algorithms
      * are not used by Newton, but will be handed down to the objects
      * #residual and #inverse_derivative.
      */
-    virtual void operator() (AnyData &out, const AnyData &in);
+    virtual void operator() (AnyData &out, const AnyData &in) override;
 
-    virtual void notify(const Event &);
+    virtual void notify(const Event &) override;
 
     /**
      * Set the maximal residual reduction allowed without triggering
index 685fea8f3005e5de09780b9eb1c19d1dfc6f2441..ae189cc5e2010b567ae0b01381310b00a5e0c2aa 100644 (file)
@@ -73,7 +73,7 @@ namespace Algorithms
     /**
      * The virtual destructor.
      */
-    virtual ~OperatorBase() = default;
+    virtual ~OperatorBase() override = default;
 
     /**
      * The actual operation, which is implemented in a derived class.
@@ -121,7 +121,7 @@ namespace Algorithms
     /**
      * Empty virtual destructor.
      */
-    virtual ~OutputOperator() = default;
+    virtual ~OutputOperator() override = default;
 
     /**
      * Set the stream @p os to which data is written. If no stream is selected
index b710651177040148ed12cdc644f66658adceac4a..56d930cb309c6de9045194a4538788c06c28049d 100644 (file)
@@ -209,12 +209,12 @@ namespace Algorithms
      * instance, which contains the initial value when the operator is called.
      * It contains the final value when the operator returns.
      */
-    virtual void operator() (AnyData &out, const AnyData &in);
+    virtual void operator() (AnyData &out, const AnyData &in) override;
 
     /**
      * Register an event triggered by an outer iteration.
      */
-    virtual void notify(const Event &);
+    virtual void notify(const Event &) override;
 
     /**
      * Define an operator which will output the result in each step. Note that
index eb9c00955af6e3d2973f39667e36727e8f95c73f..779ec812eb874cc47ee3ff9636675cccf64e9d72 100644 (file)
@@ -376,7 +376,7 @@ namespace internal
      * the constructor on a subrange given by two integers.
      */
     virtual void apply_to_subrange (const std::size_t begin,
-                                    const std::size_t end) const
+                                    const std::size_t end) const override
     {
       if (end == begin)
         return;
@@ -439,7 +439,7 @@ namespace internal
      * the constructor on a subrange given by two integers.
      */
     virtual void apply_to_subrange (const std::size_t begin,
-                                    const std::size_t end) const
+                                    const std::size_t end) const override
     {
       if (end == begin)
         return;
@@ -522,7 +522,7 @@ namespace internal
      * This sets elements on a subrange given by two integers.
      */
     virtual void apply_to_subrange (const std::size_t begin,
-                                    const std::size_t end) const
+                                    const std::size_t end) const override
     {
       // for classes with trivial assignment of zero can use memset. cast
       // element to (void*) to silence compiler warning for virtual
@@ -600,7 +600,7 @@ namespace internal
      * This initializes elements on a subrange given by two integers.
      */
     virtual void apply_to_subrange (const std::size_t begin,
-                                    const std::size_t end) const
+                                    const std::size_t end) const override
     {
       // for classes with trivial assignment of zero can use memset. cast
       // element to (void*) to silence compiler warning for virtual
index dde380750c9d07e46866c51b299126ff19f8d2de..d19caa6fae05b0a95a07917eff71ccbbc0c7adda 100644 (file)
@@ -132,7 +132,7 @@ public:
   /**
    * Virtual destructor; absolutely necessary in this case.
    */
-  virtual ~AutoDerivativeFunction () = default;
+  virtual ~AutoDerivativeFunction () override = default;
 
   /**
    * Choose the difference formula. See the enum #DifferenceFormula for
@@ -158,7 +158,7 @@ public:
    * #DifferenceFormula.
    */
   virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                  const unsigned int  component = 0) const;
+                                  const unsigned int  component = 0) const override;
 
   /**
    * Return the gradient of all components of the function at the given point.
@@ -167,7 +167,7 @@ public:
    * #DifferenceFormula.
    */
   virtual void vector_gradient (const Point<dim>            &p,
-                                std::vector<Tensor<1,dim> > &gradients) const;
+                                std::vector<Tensor<1,dim> > &gradients) const override;
 
   /**
    * Set <tt>gradients</tt> to the gradients of the specified component of the
@@ -180,7 +180,7 @@ public:
    */
   virtual void gradient_list (const std::vector<Point<dim> > &points,
                               std::vector<Tensor<1,dim> >    &gradients,
-                              const unsigned int              component = 0) const;
+                              const unsigned int              component = 0) const override;
 
   /**
    * Set <tt>gradients</tt> to the gradients of the function at the
@@ -195,7 +195,7 @@ public:
    * #DifferenceFormula.
    */
   virtual void vector_gradient_list (const std::vector<Point<dim> > &points,
-                                     std::vector<std::vector<Tensor<1,dim> > > &gradients) const;
+                                     std::vector<std::vector<Tensor<1,dim> > > &gradients) const override;
 
   /**
    * Return a #DifferenceFormula of the order <tt>ord</tt> at minimum.
index 382992af25336e059099c989a918779bb20835b5..fbbeece8aa5d5a90fb552e307cbd374a7e03a6f0 100644 (file)
@@ -2936,7 +2936,7 @@ protected:
    * read() function.
    */
   virtual const std::vector<dealii::DataOutBase::Patch<dim,spacedim> > &
-  get_patches () const;
+  get_patches () const override;
 
   /**
    * Abstract virtual function through which the names of data sets are
@@ -2944,7 +2944,7 @@ protected:
    *
    * Return the names of the variables as read the last time we read a file.
    */
-  virtual std::vector<std::string> get_dataset_names () const;
+  virtual std::vector<std::string> get_dataset_names () const override;
 
   /**
    * This functions returns information about how the individual components of
@@ -2966,7 +2966,7 @@ protected:
    */
   virtual
   std::vector<std::tuple<unsigned int, unsigned int, std::string> >
-  get_vector_data_ranges () const;
+  get_vector_data_ranges () const override;
 
 private:
   /**
index 5c0fd05fad12a78200601dfcacb15dca357bdb6b..183e580a549ceaefd10b7abd8924237fae16287d 100644 (file)
@@ -62,7 +62,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~ExceptionBase () noexcept;
+  virtual ~ExceptionBase () noexcept override;
 
   /**
    * Copy operator. This operator is deleted since exception objects
@@ -85,7 +85,7 @@ public:
   /**
    * Override the standard function that returns the description of the error.
    */
-  virtual const char *what() const noexcept;
+  virtual const char *what() const noexcept override;
 
   /**
    * Get exception name.
@@ -193,7 +193,7 @@ private:
   public:                                                                 \
     Exception (const std::string &msg = defaulttext) : arg (msg) {}       \
     virtual ~Exception () noexcept {}                                     \
-    virtual void print_info (std::ostream &out) const {                   \
+    virtual void print_info (std::ostream &out) const override {          \
       out << "    " << arg << std::endl;                                  \
     }                                                                     \
   private:                                                                \
@@ -211,7 +211,7 @@ private:
   public:                                                                 \
     Exception1 (const type1 a1) : arg1 (a1) {}    /*NOLINT*/              \
     virtual ~Exception1 () noexcept {}                                    \
-    virtual void print_info (std::ostream &out) const {                   \
+    virtual void print_info (std::ostream &out) const override {          \
       out << "    " outsequence << std::endl;                             \
     }                                                                     \
   private:                                                                \
@@ -231,7 +231,7 @@ private:
     Exception2 (const type1 a1, const type2 a2) : /*NOLINT*/              \
       arg1 (a1), arg2(a2) {}                                              \
     virtual ~Exception2 () noexcept {}                                    \
-    virtual void print_info (std::ostream &out) const {                   \
+    virtual void print_info (std::ostream &out) const override {          \
       out << "    " outsequence << std::endl;                             \
     }                                                                     \
   private:                                                                \
@@ -252,7 +252,7 @@ private:
     Exception3 (const type1 a1, const type2 a2, const type3 a3) : /*NOLINT*/ \
       arg1 (a1), arg2(a2), arg3(a3) {}                                    \
     virtual ~Exception3 () noexcept {}                                    \
-    virtual void print_info (std::ostream &out) const {                   \
+    virtual void print_info (std::ostream &out) const override {          \
       out << "    " outsequence << std::endl;                             \
     }                                                                     \
   private:                                                                \
@@ -275,7 +275,7 @@ private:
                 const type3 a3, const type4 a4) : /*NOLINT*/              \
       arg1 (a1), arg2(a2), arg3(a3), arg4(a4) {}                          \
     virtual ~Exception4 () noexcept {}                                    \
-    virtual void print_info (std::ostream &out) const {                   \
+    virtual void print_info (std::ostream &out) const override {          \
       out << "    " outsequence << std::endl;                             \
     }                                                                     \
   private:                                                                \
@@ -299,7 +299,7 @@ private:
                 const type4 a4, const type5 a5) :              /*NOLINT*/ \
       arg1 (a1), arg2(a2), arg3(a3), arg4(a4), arg5(a5) {}                \
     virtual ~Exception5 () noexcept {}                                    \
-    virtual void print_info (std::ostream &out) const {                   \
+    virtual void print_info (std::ostream &out) const override {          \
       out << "    " outsequence << std::endl;                             \
     }                                                                     \
   private:                                                                \
@@ -922,7 +922,7 @@ namespace StandardExceptions
   public:
     ExcMPI (const int error_code);
 
-    virtual void print_info (std::ostream &out) const;
+    virtual void print_info (std::ostream &out) const override;
 
     const int error_code;
   };
index 280e4925ab83c1aa8c28c0a90ac1783d8a2b24e6..56b35324d0742f71648c98bfd25fa9788c3ccb3e 100644 (file)
@@ -56,7 +56,7 @@ namespace Functions
     /**
      * Virtual destructor.
      */
-    virtual ~FlowFunction() = default;
+    virtual ~FlowFunction() override = default;
 
     /**
      * Store an adjustment for the pressure function, such that its mean value
@@ -70,14 +70,14 @@ namespace Functions
      * point.
      */
     virtual void vector_values (const std::vector<Point<dim> > &points,
-                                std::vector<std::vector<double> > &values) const = 0;
+                                std::vector<std::vector<double> > &values) const override = 0;
     /**
      * Gradients in a structure more suitable for vector valued functions. The
      * outer vector is indexed by solution component, the inner by quadrature
      * point.
      */
     virtual void vector_gradients (const std::vector<Point<dim> >            &points,
-                                   std::vector<std::vector<Tensor<1,dim> > > &gradients) const = 0;
+                                   std::vector<std::vector<Tensor<1,dim> > > &gradients) const override = 0;
     /**
      * Force terms in a structure more suitable for vector valued functions.
      * The outer vector is indexed by solution component, the inner by
@@ -89,17 +89,17 @@ namespace Functions
     virtual void vector_laplacians (const std::vector<Point<dim> > &points,
                                     std::vector<std::vector<double> >   &values) const = 0;
 
-    virtual void vector_value (const Point<dim> &points, Vector<double> &value) const;
-    virtual double value (const Point<dim> &points, const unsigned int component) const;
+    virtual void vector_value (const Point<dim> &points, Vector<double> &value) const override;
+    virtual double value (const Point<dim> &points, const unsigned int component) const override;
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> >   &values) const;
+                                    std::vector<Vector<double> >   &values) const override;
     virtual void vector_gradient_list (const std::vector<Point<dim> >            &points,
-                                       std::vector<std::vector<Tensor<1,dim> > > &gradients) const;
+                                       std::vector<std::vector<Tensor<1,dim> > > &gradients) const override;
     /**
      * The force term in the momentum equation.
      */
     virtual void vector_laplacian_list (const std::vector<Point<dim> > &points,
-                                        std::vector<Vector<double> >   &values) const;
+                                        std::vector<Vector<double> >   &values) const override;
 
     std::size_t memory_consumption () const;
 
@@ -146,14 +146,14 @@ namespace Functions
     PoisseuilleFlow<dim> (const double r,
                           const double Re);
 
-    virtual ~PoisseuilleFlow() = default;
+    virtual ~PoisseuilleFlow() override = default;
 
     virtual void vector_values (const std::vector<Point<dim> > &points,
-                                std::vector<std::vector<double> > &values) const;
+                                std::vector<std::vector<double> > &values) const override;
     virtual void vector_gradients (const std::vector<Point<dim> > &points,
-                                   std::vector<std::vector<Tensor<1,dim> > > &gradients) const;
+                                   std::vector<std::vector<Tensor<1,dim> > > &gradients) const override;
     virtual void vector_laplacians (const std::vector<Point<dim> > &points,
-                                    std::vector<std::vector<double> >   &values) const;
+                                    std::vector<std::vector<double> >   &values) const override;
 
   private:
     const double radius;
@@ -189,14 +189,14 @@ namespace Functions
      */
     void set_parameters (const double viscosity, const double reaction);
 
-    virtual ~StokesCosine() = default;
+    virtual ~StokesCosine() override = default;
 
     virtual void vector_values (const std::vector<Point<dim> > &points,
-                                std::vector<std::vector<double> > &values) const;
+                                std::vector<std::vector<double> > &values) const override;
     virtual void vector_gradients (const std::vector<Point<dim> > &points,
-                                   std::vector<std::vector<Tensor<1,dim> > > &gradients) const;
+                                   std::vector<std::vector<Tensor<1,dim> > > &gradients) const override;
     virtual void vector_laplacians (const std::vector<Point<dim> > &points,
-                                    std::vector<std::vector<double> >   &values) const;
+                                    std::vector<std::vector<double> >   &values) const override;
 
   private:
     /// The viscosity
@@ -230,11 +230,11 @@ namespace Functions
     StokesLSingularity();
 
     virtual void vector_values (const std::vector<Point<2> > &points,
-                                std::vector<std::vector<double> > &values) const;
+                                std::vector<std::vector<double> > &values) const override;
     virtual void vector_gradients (const std::vector<Point<2> > &points,
-                                   std::vector<std::vector<Tensor<1,2> > > &gradients) const;
+                                   std::vector<std::vector<Tensor<1,2> > > &gradients) const override;
     virtual void vector_laplacians (const std::vector<Point<2> > &points,
-                                    std::vector<std::vector<double> >   &values) const;
+                                    std::vector<std::vector<double> >   &values) const override;
   private:
     /// The auxiliary function Psi.
     double Psi(double phi) const;
@@ -279,14 +279,14 @@ namespace Functions
      */
     Kovasznay (const double Re, bool Stokes = false);
 
-    virtual ~Kovasznay() = default;
+    virtual ~Kovasznay() override = default;
 
     virtual void vector_values (const std::vector<Point<2> > &points,
-                                std::vector<std::vector<double> > &values) const;
+                                std::vector<std::vector<double> > &values) const override;
     virtual void vector_gradients (const std::vector<Point<2> > &points,
-                                   std::vector<std::vector<Tensor<1,2> > > &gradients) const;
+                                   std::vector<std::vector<Tensor<1,2> > > &gradients) const override;
     virtual void vector_laplacians (const std::vector<Point<2> > &points,
-                                    std::vector<std::vector<double> >   &values) const;
+                                    std::vector<std::vector<double> >   &values) const override;
 
     /// The value of lambda.
     double lambda () const;
index 1cb716c0ea0c5f1a2ea2ffe2d497e8f5f1fbb0be..2e5b5809d192e6968293d928a64bfc80aa78d30a 100644 (file)
@@ -182,7 +182,7 @@ public:
    * Nonetheless, since derived classes want to call the destructor of a base
    * class, this destructor is implemented (despite it being pure virtual).
    */
-  virtual ~Function () = 0;
+  virtual ~Function () override = 0;
 
   /**
    * Assignment operator. This is here only so that you can have objects of
@@ -397,30 +397,30 @@ namespace Functions
     ConstantFunction (const RangeNumberType *begin_ptr, const unsigned int n_components);
 
     virtual RangeNumberType value (const Point<dim>   &p,
-                                   const unsigned int  component = 0) const;
+                                   const unsigned int  component = 0) const override;
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<RangeNumberType>   &return_value) const;
+                               Vector<RangeNumberType>   &return_value) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<RangeNumberType>            &return_values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<RangeNumberType> >   &return_values) const;
+                                    std::vector<Vector<RangeNumberType> >   &return_values) const override;
 
     virtual Tensor<1,dim, RangeNumberType> gradient (const Point<dim> &p,
-                                                     const unsigned int component = 0) const;
+                                                     const unsigned int component = 0) const override;
 
     virtual void vector_gradient (const Point<dim>            &p,
-                                  std::vector<Tensor<1,dim, RangeNumberType> > &gradients) const;
+                                  std::vector<Tensor<1,dim, RangeNumberType> > &gradients) const override;
 
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim, RangeNumberType> >    &gradients,
-                                const unsigned int              component = 0) const;
+                                const unsigned int              component = 0) const override;
 
     virtual void vector_gradient_list (const std::vector<Point<dim> >            &points,
-                                       std::vector<std::vector<Tensor<1,dim, RangeNumberType> > > &gradients) const;
+                                       std::vector<std::vector<Tensor<1,dim, RangeNumberType> > > &gradients) const override;
 
     std::size_t memory_consumption () const;
 
@@ -540,7 +540,7 @@ public:
    * Return the value of the function at the given point for all components.
    */
   virtual void vector_value (const Point<dim> &p,
-                             Vector<RangeNumberType>   &return_value) const;
+                             Vector<RangeNumberType>   &return_value) const override;
 
   /**
    * Set <tt>values</tt> to the point values of the function at the
@@ -549,7 +549,7 @@ public:
    * array.
    */
   virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                  std::vector<Vector<RangeNumberType> >   &values) const;
+                                  std::vector<Vector<RangeNumberType> >   &values) const override;
 
   /**
    * Return an estimate for the memory consumption, in bytes, of this object.
@@ -662,7 +662,7 @@ public:
    * the function given to the constructor produces for this point.
    */
   virtual RangeNumberType value (const Point<dim>   &p,
-                                 const unsigned int  component = 0) const;
+                                 const unsigned int  component = 0) const override;
 
 private:
   /**
@@ -731,7 +731,7 @@ public:
    * the function given to the constructor produces for this point.
    */
   virtual RangeNumberType value (const Point<dim>   &p,
-                                 const unsigned int  component = 0) const;
+                                 const unsigned int  component = 0) const override;
 
   /**
    * Return all components of a vector-valued function at a given point.
@@ -739,7 +739,7 @@ public:
    * <tt>values</tt> shall have the right size beforehand, i.e. #n_components.
    */
   virtual void vector_value (const Point<dim>   &p,
-                             Vector<RangeNumberType>     &values) const;
+                             Vector<RangeNumberType>     &values) const override;
 
 private:
   /**
@@ -818,13 +818,13 @@ public:
    * This destructor is defined as virtual so as to coincide with all other
    * aspects of class.
    */
-  virtual ~VectorFunctionFromTensorFunction() = default;
+  virtual ~VectorFunctionFromTensorFunction() override = default;
 
   /**
    * Return a single component of a vector-valued function at a given point.
    */
   virtual RangeNumberType value (const Point<dim> &p,
-                                 const unsigned int component = 0) const;
+                                 const unsigned int component = 0) const override;
 
   /**
    * Return all components of a vector-valued function at a given point.
@@ -832,7 +832,7 @@ public:
    * <tt>values</tt> shall have the right size beforehand, i.e. #n_components.
    */
   virtual void vector_value (const Point<dim> &p,
-                             Vector<RangeNumberType>   &values) const;
+                             Vector<RangeNumberType>   &values) const override;
 
   /**
    * Return all components of a vector-valued function at a list of points.
@@ -842,7 +842,7 @@ public:
    * function
    */
   virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                  std::vector<Vector<RangeNumberType> >   &value_list) const;
+                                  std::vector<Vector<RangeNumberType> >   &value_list) const override;
 
 private:
   /**
index 7d09a69a527c0a74a40a9198bae81438314acb30..354cdaf757143abc9c07285d8a06b1c5c1414936 100644 (file)
@@ -38,15 +38,15 @@ namespace Functions
     Bessel1(const unsigned int order,
             const double wave_number,
             const Point<dim> center = Point<dim>());
-    virtual double value (const Point<dim> &points, const unsigned int component) const;
+    virtual double value (const Point<dim> &points, const unsigned int component) const override;
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int              component = 0) const;
+                                const unsigned int              component = 0) const override;
   private:
     unsigned int order;
     double wave_number;
index 5d8c041e7d372d20f1be964afd83459cbdf27f05..53200feb1cd04aafd91fb4ffe44ee6a47e3aaa41 100644 (file)
@@ -80,19 +80,19 @@ namespace Functions
     /**
      * Virtual destructor.
      */
-    virtual ~CSpline();
+    virtual ~CSpline() override;
 
     virtual double value (const Point<dim> &point,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
 
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     virtual SymmetricTensor<2,dim> hessian (const Point<dim>   &p,
-                                            const unsigned int  component = 0) const;
+                                            const unsigned int  component = 0) const override;
 
     virtual double laplacian(const Point< dim > &p,
-                             const unsigned int component = 0) const;
+                             const unsigned int component = 0) const override;
 
     std::size_t memory_consumption () const;
 
index e2217c75a02b21f32d5d95d417a24d51c9ad34ff..6f76cadb27e46548b5faf935f11145bc8413fbd8 100644 (file)
@@ -85,14 +85,14 @@ public:
   void set_h (const double h);
 
   virtual double value (const Point<dim> &p,
-                        const unsigned int component = 0) const;
+                        const unsigned int component = 0) const override;
 
   virtual void vector_value(const Point<dim> &p,
-                            Vector<double> &value) const;
+                            Vector<double> &value) const override;
 
   virtual void value_list (const std::vector<Point<dim> > &points,
                            std::vector<double>            &values,
-                           const unsigned int              component = 0) const;
+                           const unsigned int              component = 0) const override;
 
   /**
    * Return an estimate for the memory consumption, in bytes, of this object.
index 3cbb582fc5cc4501fa52a26cddc429ffb4832d49..f348dfdb22fd1bc68a26fc518057b73ac63fb7c5 100644 (file)
@@ -53,24 +53,24 @@ namespace Functions
   {
   public:
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
     virtual void vector_value (const Point<dim>   &p,
-                               Vector<double>     &values) const;
+                               Vector<double>     &values) const override;
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
     virtual void vector_gradient (const Point<dim>   &p,
-                                  std::vector<Tensor<1,dim> >    &gradient) const;
+                                  std::vector<Tensor<1,dim> >    &gradient) const override;
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int              component = 0) const;
+                                const unsigned int              component = 0) const override;
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
     virtual void laplacian_list (const std::vector<Point<dim> > &points,
                                  std::vector<double>            &values,
-                                 const unsigned int              component = 0) const;
+                                 const unsigned int              component = 0) const override;
   };
 
 
@@ -87,37 +87,37 @@ namespace Functions
   {
   public:
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> > &values) const;
+                                    std::vector<Vector<double> > &values) const override;
 
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int       component = 0) const;
+                                    const unsigned int       component = 0) const override;
 
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int              component = 0) const;
+                                const unsigned int              component = 0) const override;
 
     virtual void vector_gradient_list (const std::vector<Point<dim> > &,
-                                       std::vector<std::vector<Tensor<1,dim> > > &) const;
+                                       std::vector<std::vector<Tensor<1,dim> > > &) const override;
 
     /**
      * Laplacian of the function at one point.
      */
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
     /**
      * Laplacian of the function at multiple points.
      */
     virtual void laplacian_list (const std::vector<Point<dim> > &points,
                                  std::vector<double>            &values,
-                                 const unsigned int              component = 0) const;
+                                 const unsigned int              component = 0) const override;
   };
 
 
@@ -151,40 +151,40 @@ namespace Functions
      * The value at a single point.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Values at multiple points.
      */
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     /**
      * Gradient at a single point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     /**
      * Gradients at multiple points.
      */
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int              component = 0) const;
+                                const unsigned int              component = 0) const override;
 
     /**
      * Laplacian at a single point.
      */
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
     /**
      * Laplacian at multiple points.
      */
     virtual void laplacian_list (const std::vector<Point<dim> > &points,
                                  std::vector<double>            &values,
-                                 const unsigned int              component = 0) const;
+                                 const unsigned int              component = 0) const override;
   private:
     const double offset;
   };
@@ -210,41 +210,41 @@ namespace Functions
     CosineFunction (const unsigned int n_components = 1);
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> > &values) const;
+                                    std::vector<Vector<double> > &values) const override;
 
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int              component = 0) const;
+                                const unsigned int              component = 0) const override;
 
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
     virtual void laplacian_list (const std::vector<Point<dim> > &points,
                                  std::vector<double>            &values,
-                                 const unsigned int              component = 0) const;
+                                 const unsigned int              component = 0) const override;
 
     /**
      * Second derivatives at a single point.
      */
     virtual SymmetricTensor<2,dim> hessian (const Point<dim>   &p,
-                                            const unsigned int  component = 0) const;
+                                            const unsigned int  component = 0) const override;
 
     /**
      * Second derivatives at multiple points.
      */
     virtual void hessian_list (const std::vector<Point<dim> > &points,
                                std::vector<SymmetricTensor<2,dim> >    &hessians,
-                               const unsigned int              component = 0) const;
+                               const unsigned int              component = 0) const override;
   };
 
 
@@ -270,28 +270,28 @@ namespace Functions
     CosineGradFunction ();
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component) const;
+                          const unsigned int  component) const override;
     virtual void vector_value (const Point<dim>   &p,
-                               Vector<double>     &values) const;
+                               Vector<double>     &values) const override;
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component) const;
+                             const unsigned int              component) const override;
 
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> > &values) const;
+                                    std::vector<Vector<double> > &values) const override;
 
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component) const;
+                                    const unsigned int  component) const override;
 
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int              component) const;
+                                const unsigned int              component) const override;
 
     virtual void vector_gradient_list (const std::vector<Point<dim> >            &points,
-                                       std::vector<std::vector<Tensor<1,dim> > > &gradients) const;
+                                       std::vector<std::vector<Tensor<1,dim> > > &gradients) const override;
 
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component) const;
+                              const unsigned int  component) const override;
   };
 
 
@@ -310,40 +310,40 @@ namespace Functions
      * The value at a single point.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Values at multiple points.
      */
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     /**
      * Gradient at a single point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     /**
      * Gradients at multiple points.
      */
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int              component = 0) const;
+                                const unsigned int              component = 0) const override;
 
     /**
      * Laplacian at a single point.
      */
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
     /**
      * Laplacian at multiple points.
      */
     virtual void laplacian_list (const std::vector<Point<dim> > &points,
                                  std::vector<double>            &values,
-                                 const unsigned int              component = 0) const;
+                                 const unsigned int              component = 0) const override;
   };
 
 
@@ -363,31 +363,31 @@ namespace Functions
   {
   public:
     virtual double value (const Point<2>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<2> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     virtual void vector_value_list (const std::vector<Point<2> > &points,
-                                    std::vector<Vector<double> > &values) const;
+                                    std::vector<Vector<double> > &values) const override;
 
     virtual Tensor<1,2> gradient (const Point<2>     &p,
-                                  const unsigned int  component = 0) const;
+                                  const unsigned int  component = 0) const override;
 
     virtual void gradient_list (const std::vector<Point<2> > &points,
                                 std::vector<Tensor<1,2> >    &gradients,
-                                const unsigned int            component = 0) const;
+                                const unsigned int            component = 0) const override;
 
     virtual void vector_gradient_list (const std::vector<Point<2> > &,
-                                       std::vector<std::vector<Tensor<1,2> > > &) const;
+                                       std::vector<std::vector<Tensor<1,2> > > &) const override;
 
     virtual double laplacian (const Point<2>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
     virtual void laplacian_list (const std::vector<Point<2> > &points,
                                  std::vector<double>          &values,
-                                 const unsigned int            component = 0) const;
+                                 const unsigned int            component = 0) const override;
   };
 
 
@@ -409,31 +409,31 @@ namespace Functions
      */
     LSingularityGradFunction ();
     virtual double value (const Point<2>   &p,
-                          const unsigned int  component) const;
+                          const unsigned int  component) const override;
 
     virtual void value_list (const std::vector<Point<2> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component) const;
+                             const unsigned int              component) const override;
 
     virtual void vector_value_list (const std::vector<Point<2> > &points,
-                                    std::vector<Vector<double> > &values) const;
+                                    std::vector<Vector<double> > &values) const override;
 
     virtual Tensor<1,2> gradient (const Point<2>     &p,
-                                  const unsigned int  component) const;
+                                  const unsigned int  component) const override;
 
     virtual void gradient_list (const std::vector<Point<2> > &points,
                                 std::vector<Tensor<1,2> >    &gradients,
-                                const unsigned int            component) const;
+                                const unsigned int            component) const override;
 
     virtual void vector_gradient_list (const std::vector<Point<2> > &,
-                                       std::vector<std::vector<Tensor<1,2> > > &) const;
+                                       std::vector<std::vector<Tensor<1,2> > > &) const override;
 
     virtual double laplacian (const Point<2>   &p,
-                              const unsigned int  component) const;
+                              const unsigned int  component) const override;
 
     virtual void laplacian_list (const std::vector<Point<2> > &points,
                                  std::vector<double>          &values,
-                                 const unsigned int            component) const;
+                                 const unsigned int            component) const override;
   };
 
 
@@ -449,31 +449,31 @@ namespace Functions
   {
   public:
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> > &values) const;
+                                    std::vector<Vector<double> > &values) const override;
 
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int            component = 0) const;
+                                const unsigned int            component = 0) const override;
 
     virtual void vector_gradient_list (const std::vector<Point<dim> > &,
-                                       std::vector<std::vector<Tensor<1,dim> > > &) const;
+                                       std::vector<std::vector<Tensor<1,dim> > > &) const override;
 
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
     virtual void laplacian_list (const std::vector<Point<dim> > &points,
                                  std::vector<double>          &values,
-                                 const unsigned int            component = 0) const;
+                                 const unsigned int            component = 0) const override;
   };
 
 
@@ -487,31 +487,31 @@ namespace Functions
   {
   public:
     virtual double value (const Point<2>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     virtual void value_list (const std::vector<Point<2> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     virtual void vector_value_list (const std::vector<Point<2> > &points,
-                                    std::vector<Vector<double> > &values) const;
+                                    std::vector<Vector<double> > &values) const override;
 
     virtual Tensor<1,2> gradient (const Point<2>   &p,
-                                  const unsigned int  component = 0) const;
+                                  const unsigned int  component = 0) const override;
 
     virtual void gradient_list (const std::vector<Point<2> > &points,
                                 std::vector<Tensor<1,2> >    &gradients,
-                                const unsigned int            component = 0) const;
+                                const unsigned int            component = 0) const override;
 
     virtual void vector_gradient_list (const std::vector<Point<2> > &,
-                                       std::vector<std::vector<Tensor<1,2> > > &) const;
+                                       std::vector<std::vector<Tensor<1,2> > > &) const override;
 
     virtual double laplacian (const Point<2>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
     virtual void laplacian_list (const std::vector<Point<2> > &points,
                                  std::vector<double>          &values,
-                                 const unsigned int            component = 0) const;
+                                 const unsigned int            component = 0) const override;
   };
 
 
@@ -546,40 +546,40 @@ namespace Functions
      * Function value at one point.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Function values at multiple points.
      */
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     /**
      * Gradient at one point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     /**
      * Gradients at multiple points.
      */
     virtual void gradient_list (const std::vector<Point<dim> > &points,
                                 std::vector<Tensor<1,dim> >    &gradients,
-                                const unsigned int              component = 0) const;
+                                const unsigned int              component = 0) const override;
 
     /**
      * Laplacian of the function at one point.
      */
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
     /**
      * Laplacian of the function at multiple points.
      */
     virtual void laplacian_list (const std::vector<Point<dim> > &points,
                                  std::vector<double>            &values,
-                                 const unsigned int              component = 0) const;
+                                 const unsigned int              component = 0) const override;
 
     /**
      * Return an estimate for the memory consumption, in bytes, of this
@@ -647,20 +647,20 @@ namespace Functions
      * first component.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Return the gradient of the specified component of the function at the
      * given point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     /**
      * Compute the Laplacian of a given component at point <tt>p</tt>.
      */
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
   private:
     /**
      * Stored Fourier coefficients.
@@ -699,20 +699,20 @@ namespace Functions
      * first component.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Return the gradient of the specified component of the function at the
      * given point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     /**
      * Compute the Laplacian of a given component at point <tt>p</tt>.
      */
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
   private:
     /**
      * Stored Fourier coefficients.
@@ -748,20 +748,20 @@ namespace Functions
      * first component.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Return the gradient of the specified component of the function at the
      * given point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     /**
      * Compute the Laplacian of a given component at point <tt>p</tt>.
      */
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
   private:
     /**
      * Stored Fourier coefficients and weights.
@@ -800,20 +800,20 @@ namespace Functions
      * first component.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Return the gradient of the specified component of the function at the
      * given point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     /**
      * Compute the Laplacian of a given component at point <tt>p</tt>.
      */
     virtual double laplacian (const Point<dim>   &p,
-                              const unsigned int  component = 0) const;
+                              const unsigned int  component = 0) const override;
 
   private:
     /**
@@ -911,20 +911,20 @@ namespace Functions
      * Function value at one point.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Function values at multiple points.
      */
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     /**
      * Function values at multiple points.
      */
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> >           &values) const;
+                                    std::vector<Vector<double> >           &values) const override;
   };
 
 
@@ -956,20 +956,20 @@ namespace Functions
      * Function value at one point.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Function values at multiple points.
      */
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     /**
      * Function values at multiple points.
      */
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> >           &values) const;
+                                    std::vector<Vector<double> >           &values) const override;
   };
 
 
@@ -1002,26 +1002,26 @@ namespace Functions
      * Function value at one point.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Function values at multiple points.
      */
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     /**
      * Function values at multiple points.
      */
     virtual void vector_value_list (const std::vector<Point<dim> > &points,
-                                    std::vector<Vector<double> >           &values) const;
+                                    std::vector<Vector<double> >           &values) const override;
 
     /**
      * Function gradient at one point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
   };
 
 
@@ -1056,7 +1056,7 @@ namespace Functions
      * Function value at one point.
      */
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
 
     /**
      * Return all components of a vector-valued function at a given point.
@@ -1065,20 +1065,20 @@ namespace Functions
      * #n_components.
      */
     virtual void vector_value (const Point<dim>   &p,
-                               Vector<double>     &values) const;
+                               Vector<double>     &values) const override;
 
     /**
      * Function values at multiple points.
      */
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>            &values,
-                             const unsigned int              component = 0) const;
+                             const unsigned int              component = 0) const override;
 
     /**
      * Function gradient at one point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
   private:
     /**
@@ -1154,7 +1154,7 @@ namespace Functions
     virtual
     double
     value (const Point<dim> &p,
-           const unsigned int component = 0) const;
+           const unsigned int component = 0) const override;
 
     /**
      * Compute the gradient of the function defined by bilinear interpolation
@@ -1170,7 +1170,7 @@ namespace Functions
     virtual
     Tensor<1, dim>
     gradient (const Point<dim>    &p,
-              const unsigned int component = 0) const;
+              const unsigned int component = 0) const override;
 
   protected:
     /**
@@ -1260,7 +1260,7 @@ namespace Functions
     virtual
     double
     value (const Point<dim> &p,
-           const unsigned int component = 0) const;
+           const unsigned int component = 0) const override;
 
   private:
     /**
@@ -1312,7 +1312,7 @@ namespace Functions
      * Function value at one point.
      */
     virtual double value (const Point<dim> &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
 
 
     /**
@@ -1320,13 +1320,13 @@ namespace Functions
      */
     virtual void value_list (const std::vector<Point<dim> > &points,
                              std::vector<double>      &values,
-                             const unsigned int       component = 0) const;
+                             const unsigned int       component = 0) const override;
 
     /**
      * Function gradient at one point.
      */
     virtual Tensor<1,dim> gradient (const Point<dim> &p,
-                                    const unsigned int component = 0) const;
+                                    const unsigned int component = 0) const override;
 
   private:
 
index bf8650e672460cb424df2ceaeb841e2bb0125594..6e9786364663f329ee5480802b4787bc9cf88fa9 100644 (file)
@@ -212,7 +212,7 @@ public:
    * Destructor. Explicitly delete the FunctionParser objects (there is one
    * for each component of the function).
    */
-  ~FunctionParser();
+  ~FunctionParser() override;
 
   /**
    * Type for the constant map. Used by the initialize() method.
@@ -291,7 +291,7 @@ public:
    * component.
    */
   virtual double value (const Point<dim>   &p,
-                        const unsigned int  component = 0) const;
+                        const unsigned int  component = 0) const override;
 
   /**
    * Return all components of a vector-valued function at the given point @p
@@ -300,7 +300,7 @@ public:
    * <tt>values</tt> shall have the right size beforehand, i.e. #n_components.
    */
   virtual void vector_value (const Point<dim>   &p,
-                             Vector<double>     &values) const;
+                             Vector<double>     &values) const override;
 
   /**
    * @addtogroup Exceptions
index 79b298c6d59226a7d7458eab85189b3f685f1cb8..090c5da6628f5b2d8d955d03f6bf878b6b5712d2 100644 (file)
@@ -65,7 +65,7 @@ namespace Functions
      * calls svalue() with it, and returns the result.
      */
     virtual double value (const Point<dim> &point,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
 
     /**
      * Return the gradient with respect to the Cartesian coordinates at point @p p.
@@ -75,7 +75,7 @@ namespace Functions
      * coordinates.
      */
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
-                                    const unsigned int  component = 0) const;
+                                    const unsigned int  component = 0) const override;
 
     /**
      * Return the Hessian with respect to the Cartesian coordinates at point @p p.
@@ -85,7 +85,7 @@ namespace Functions
      * Cartesian coordinates.
      */
     virtual SymmetricTensor<2,dim> hessian (const Point<dim> &p,
-                                            const unsigned int component=0) const;
+                                            const unsigned int component=0) const override;
 
     std::size_t memory_consumption () const;
 
index 779b3998bbb8e0a17ff4bd1db8c4632e5c2d616f..4ffd8d0a0e040cb74142e3f7422aa520b56dd849 100644 (file)
@@ -138,7 +138,7 @@ public:
   /**
    * Destructor.
    */
-  ~LogStream();
+  ~LogStream() override;
 
 
   /**
index 2c818a5b99ca2b05f5944cd9d3ebf9fe15c4e7eb..af7943ae75791f79e88c0f4161228d43c5ee12d7 100644 (file)
@@ -356,7 +356,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~ParameterAcceptor();
+  virtual ~ParameterAcceptor() override;
 
   /**
    * Call declare_all_parameters(), read the parameters from `filename` (only
@@ -590,13 +590,13 @@ public:
    * Overloads the ParameterAcceptor::declare_parameters function, by calling
    * @p SourceClass::declare_parameters with @p prm as an argument.
    */
-  virtual void declare_parameters(ParameterHandler &prm);
+  virtual void declare_parameters(ParameterHandler &prm) override;
 
   /**
    * Overloads the ParameterAcceptor::parse_parameters function, by calling
    * @p SourceClass::parse_parameters with @p prm as an argument.
    */
-  virtual void parse_parameters(ParameterHandler &prm);
+  virtual void parse_parameters(ParameterHandler &prm) override;
 };
 
 
index 6da5c1478cdf670b58cee03d338334c7e4d0e836..0be3acbf6ec0471b197d3fe4777113c833f73fd9 100644 (file)
@@ -863,7 +863,7 @@ public:
    * safer as we have virtual functions.  It actually does nothing
    * spectacular.
    */
-  virtual ~ParameterHandler () = default;
+  virtual ~ParameterHandler () override = default;
 
   /**
    * Parse each line from a stream until the stream returns the <tt>eof</tt>
index e8ddf2625617cb2a39bfc2ad826c38f0784084ec..0e60c59d570d8bf44ff7397b59851711458c7d10 100644 (file)
@@ -184,7 +184,7 @@ namespace Functions
      * p.
      */
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double>   &values) const;
+                               Vector<double>   &values) const override;
 
     /**
      * Return the value of the function at the given point. Unless there is
@@ -193,7 +193,7 @@ namespace Functions
      * first component.
      */
     virtual double value (const Point< dim >     &p,
-                          const unsigned int  component = 0)    const;
+                          const unsigned int  component = 0)    const override;
 
     /**
      * Set the time to a specific value for time-dependent functions.
@@ -201,7 +201,7 @@ namespace Functions
      * We need to overwrite this to set the time also in the accessor
      * FunctionParser<dim>.
      */
-    virtual void set_time(const double newtime);
+    virtual void set_time(const double newtime) override;
 
   private:
     /**
index 5ed5ba8131690a42798b505590560e45c30d3db7..20afbabe0c15b24fde8b4e1bbf326f822da3fc17 100644 (file)
@@ -165,7 +165,7 @@ namespace Utilities
        */
       virtual void reinit(const IndexSet &vector_space_vector_index_set,
                           const IndexSet &read_write_vector_index_set,
-                          const MPI_Comm &communicator);
+                          const MPI_Comm &communicator) override;
 
       /**
        * Set the locally owned indices. Used in the constructor.
@@ -356,7 +356,7 @@ namespace Utilities
       /**
        * Return the MPI communicator underlying the partitioner object.
        */
-      virtual const MPI_Comm &get_mpi_communicator() const;
+      virtual const MPI_Comm &get_mpi_communicator() const override;
 
       /**
        * Return whether ghost indices have been explicitly added as a @p
index 842d65e91e11211ca4b153ebf7cfee576d07ef3f..d6e03cea5717490632d46cd42d40c4dc4c93000e 100644 (file)
@@ -206,21 +206,21 @@ namespace Patterns
      * Return <tt>true</tt> if the string is an integer and its value is
      * within the specified range.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match. If bounds were specified to the constructor, then include them
      * into this description.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Create a new object if the start of description matches
@@ -298,21 +298,21 @@ namespace Patterns
      * Return <tt>true</tt> if the string is a number and its value is within
      * the specified range.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match. If bounds were specified to the constructor, then include them
      * into this description.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Creates a new object on the heap using @p new if the given
@@ -368,27 +368,27 @@ namespace Patterns
      * Return <tt>true</tt> if the string is an element of the description
      * list passed to the constructor.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match. Here, this is the list of valid strings passed to the
      * constructor.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Determine an estimate for the memory consumption (in bytes) of this
      * object.
      */
-    std::size_t memory_consumption () const;
+    std::size_t memory_consumption () const override;
 
     /**
      * Create a new object if the start of description matches
@@ -461,20 +461,20 @@ namespace Patterns
      * Return <tt>true</tt> if the string is a comma-separated list of strings
      * each of which match the pattern given to the constructor.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Create a new object if the start of description matches
@@ -487,7 +487,7 @@ namespace Patterns
      * Determine an estimate for the memory consumption (in bytes) of this
      * object.
      */
-    std::size_t memory_consumption () const;
+    std::size_t memory_consumption () const override;
 
     /**
      * @addtogroup Exceptions
@@ -578,20 +578,20 @@ namespace Patterns
      * Return <tt>true</tt> if the string is a comma-separated list of strings
      * each of which match the pattern given to the constructor.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Create a new object if the start of description matches
@@ -604,7 +604,7 @@ namespace Patterns
      * Determine an estimate for the memory consumption (in bytes) of this
      * object.
      */
-    std::size_t memory_consumption () const;
+    std::size_t memory_consumption () const override;
 
     /**
      * Return a reference to the key pattern.
@@ -785,20 +785,20 @@ namespace Patterns
      * Return <tt>true</tt> if the string is a list of strings
      * each of which matches the patterns given to the constructor.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Create a new object if the start of description matches
@@ -811,7 +811,7 @@ namespace Patterns
      * Determine an estimate for the memory consumption (in bytes) of this
      * object.
      */
-    std::size_t memory_consumption () const;
+    std::size_t memory_consumption () const override;
 
     /**
      * Return a reference to the i-th pattern in the tuple.
@@ -863,21 +863,21 @@ namespace Patterns
      * Return <tt>true</tt> if the string is an element of the description
      * list passed to the constructor.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match. Here, this is the list of valid strings passed to the
      * constructor.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Create a new object if the start of description matches
@@ -890,7 +890,7 @@ namespace Patterns
      * Determine an estimate for the memory consumption (in bytes) of this
      * object.
      */
-    std::size_t memory_consumption () const;
+    std::size_t memory_consumption () const override;
 
     /**
      * @addtogroup Exceptions
@@ -934,14 +934,14 @@ namespace Patterns
      * Return a description of the pattern that valid strings are expected to
      * match.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Create a new object if the start of description matches
@@ -973,20 +973,20 @@ namespace Patterns
      * Return <tt>true</tt> if the string matches its constraints, i.e.
      * always.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match. Here, this is the string <tt>"[Anything]"</tt>.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Create a new object if the start of description matches
@@ -1046,20 +1046,20 @@ namespace Patterns
      * Return <tt>true</tt> if the string matches its constraints, i.e.
      * always.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match. Here, this is the string <tt>"[Filename]"</tt>.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * file type flag
@@ -1105,20 +1105,20 @@ namespace Patterns
      * Return <tt>true</tt> if the string matches its constraints, i.e.
      * always.
      */
-    virtual bool match (const std::string &test_string) const;
+    virtual bool match (const std::string &test_string) const override;
 
     /**
      * Return a description of the pattern that valid strings are expected to
      * match. Here, this is the string <tt>"[Filename]"</tt>.
      */
-    virtual std::string description (const OutputStyle style=Machine) const;
+    virtual std::string description (const OutputStyle style=Machine) const override;
 
     /**
      * Return a copy of the present object, which is newly allocated on the
      * heap. Ownership of that object is transferred to the caller of this
      * function.
      */
-    virtual std::unique_ptr<PatternBase> clone () const;
+    virtual std::unique_ptr<PatternBase> clone () const override;
 
     /**
      * Create a new object if the start of description matches
index 73a1a38f3d243ddba57b4fc4b867684d86855cfe..20d38355a20fce52b3ad92e68ca071bed40f9d5d 100644 (file)
@@ -165,7 +165,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~Quadrature () = default;
+  virtual ~Quadrature () override = default;
 
   /**
    * Assignment operator. Copies contents of #weights and #quadrature_points
index a9915939aa9e69adcff7b3ad197db0e562dfef76..83af40c0f391ff6540b22cb60bac3a4ecbbb86ee 100644 (file)
@@ -63,7 +63,7 @@ public:
   /**
    * Default destructor.
    */
-  ~CellDataStorage() = default;
+  ~CellDataStorage() override = default;
 
   /**
    * Initialize data on the @p cell to store @p number_of_data_points_per_cell of objects of type @p T .
index fe5d043453c72288a99a8b346bd76127e6b17200..85f1a38bef4fb871ef0c172fe3bdc8693ad973c2 100644 (file)
@@ -454,7 +454,7 @@ public:
   /**
    * Destructor. Free allocated memory.
    */
-  ~TableBase () = default;
+  ~TableBase () override = default;
 
   /**
    * Assignment operator. Copy all elements of <tt>src</tt> into the matrix.
index 80eae0ef7422d93969c6525842e040c9169c7234..5114454c9d61ea170e06165c6c25fc5c01c29274 100644 (file)
@@ -75,7 +75,7 @@ public:
    * usually not used by their true type, but rather through pointers to this
    * base class.
    */
-  virtual ~TensorFunction () = default;
+  virtual ~TensorFunction () override = default;
 
   /**
    * Return the value of the function at the given point.
@@ -127,17 +127,17 @@ public:
   ConstantTensorFunction (const dealii::Tensor<rank, dim, Number> &value,
                           const Number initial_time = 0.0);
 
-  virtual ~ConstantTensorFunction () = default;
+  virtual ~ConstantTensorFunction () override = default;
 
-  virtual typename dealii::TensorFunction<rank, dim, Number>::value_type value (const Point<dim> &p) const;
+  virtual typename dealii::TensorFunction<rank, dim, Number>::value_type value (const Point<dim> &p) const override;
 
   virtual void value_list (const std::vector<Point<dim> > &points,
-                           std::vector<typename dealii::TensorFunction<rank, dim, Number>::value_type> &values) const;
+                           std::vector<typename dealii::TensorFunction<rank, dim, Number>::value_type> &values) const override;
 
-  virtual typename dealii::TensorFunction<rank, dim, Number>::gradient_type gradient (const Point<dim> &p) const;
+  virtual typename dealii::TensorFunction<rank, dim, Number>::gradient_type gradient (const Point<dim> &p) const override;
 
   virtual void gradient_list (const std::vector<Point<dim> > &points,
-                              std::vector<typename dealii::TensorFunction<rank, dim, Number>::gradient_type> &gradients) const;
+                              std::vector<typename dealii::TensorFunction<rank, dim, Number>::gradient_type> &gradients) const override;
 
 private:
   const dealii::Tensor<rank, dim, Number> _value;
index ab8b140c365f75fedfe7030b2e3742942c4c6463..beea608858c6c137ac8346555ab3b69750e6a8ee 100644 (file)
@@ -1364,7 +1364,7 @@ namespace Threads
         task_descriptor (task_descriptor)
       {}
 
-      virtual tbb::task *execute ()
+      virtual tbb::task *execute () override
       {
         // call the function object and put the return value into the
         // proper place
index 781b8b58a69812361b54dc5a93a0f451cab34557..4c197a42c0a7b9e8976844ee0b4657644f58c905 100644 (file)
@@ -128,7 +128,7 @@ namespace TimeStepping
     /**
      * Virtual destructor.
      */
-    virtual ~RungeKutta() = default;
+    virtual ~RungeKutta() override = default;
 
     /**
      * Purely virtual method used to initialize the Runge-Kutta method.
@@ -151,7 +151,7 @@ namespace TimeStepping
      std::vector<std::function<VectorType (const double, const double, const VectorType &)> > &J_inverse,
      double                                                                                   t,
      double                                                                                   delta_t,
-     VectorType                                                                               &y);
+     VectorType                                                                               &y) override;
 
     /**
      * Purely virtual function. This function is used to advance from time @p
@@ -220,7 +220,7 @@ namespace TimeStepping
     /**
      * Initialize the explicit Runge-Kutta method.
      */
-    void initialize(const runge_kutta_method method);
+    void initialize(const runge_kutta_method method) override;
 
     /**
      * This function is used to advance from time @p t to t+ @p delta_t. @p f
@@ -238,7 +238,7 @@ namespace TimeStepping
      const std::function<VectorType (const double, const double, const VectorType &)>  &id_minus_tau_J_inverse,
      double                                                                      t,
      double                                                                      delta_t,
-     VectorType                                                                  &y);
+     VectorType                                                                  &y) override;
 
     /**
      * This function is used to advance from time @p t to t+ @p delta_t. This
@@ -269,7 +269,7 @@ namespace TimeStepping
     /**
      * Return the status of the current object.
      */
-    const Status &get_status() const;
+    const Status &get_status() const override;
 
   private:
     /**
@@ -319,7 +319,7 @@ namespace TimeStepping
     /**
      * Initialize the implicit Runge-Kutta method.
      */
-    void initialize(const runge_kutta_method method);
+    void initialize(const runge_kutta_method method) override;
 
     /**
      * This function is used to advance from time @p t to t+ @p delta_t. @p f
@@ -337,7 +337,7 @@ namespace TimeStepping
      const std::function<VectorType (const double, const double, const VectorType &)> &id_minus_tau_J_inverse,
      double                                                                           t,
      double                                                                           delta_t,
-     VectorType                                                                       &y);
+     VectorType                                                                       &y) override;
 
     /**
      * Set the maximum number of iterations and the tolerance used by the
@@ -367,7 +367,7 @@ namespace TimeStepping
     /**
      * Return the status of the current object.
      */
-    const Status &get_status() const;
+    const Status &get_status() const override;
 
   private:
     /**
@@ -456,7 +456,7 @@ namespace TimeStepping
     /**
      * Destructor.
      */
-    ~EmbeddedExplicitRungeKutta()
+    ~EmbeddedExplicitRungeKutta() override
     {
       free_memory();
     }
@@ -469,7 +469,7 @@ namespace TimeStepping
     /**
      * Initialize the embedded explicit Runge-Kutta method.
      */
-    void initialize(const runge_kutta_method method);
+    void initialize(const runge_kutta_method method) override;
 
     /**
      * This function is used to advance from time @p t to t+ @p delta_t. @p f
@@ -487,7 +487,7 @@ namespace TimeStepping
      const std::function<VectorType (const double, const double, const VectorType &)> &id_minus_tau_J_inverse,
      double                                                                     t,
      double                                                                     delta_t,
-     VectorType &y);
+     VectorType &y) override;
 
     /**
      * This function is used to advance from time @p t to t+ @p delta_t. This
@@ -530,7 +530,7 @@ namespace TimeStepping
     /**
      * Return the status of the current object.
      */
-    const Status &get_status() const;
+    const Status &get_status() const override;
 
   private:
     /**
index 34c2cdc2030656e6b955596d5914035312774fa7..fc61bf1b64928c316814ef873801f441afba0a1e 100644 (file)
@@ -351,7 +351,7 @@ namespace WorkStream
         /**
          * Create an item and return a pointer to it.
          */
-        virtual void *operator () (void *)
+        virtual void *operator () (void *) override
         {
           // find first unused item. we know that there must be one
           // because we have set the maximal number of tokens in flight
@@ -493,7 +493,7 @@ namespace WorkStream
         /**
          * Work on an item.
          */
-        void *operator () (void *item)
+        void *operator () (void *item) override
         {
           // first unpack the current item
           typedef
@@ -637,7 +637,7 @@ namespace WorkStream
         /**
          * Work on a single item.
          */
-        void *operator () (void *item)
+        void *operator () (void *item) override
         {
           // first unpack the current item
           typedef
index 1ed6a8ee1539abfbf812779fab51234d4bd0b6f6..6e5d1bd4c25492499a1c34329baaa7eb072fac86 100644 (file)
@@ -241,7 +241,7 @@ namespace parallel
       /**
        * Destructor.
        */
-      virtual ~Triangulation () = default;
+      virtual ~Triangulation () override = default;
 
       /**
        * Coarsen and refine the mesh according to refinement and coarsening
@@ -251,7 +251,7 @@ namespace parallel
        * addition of calling dealii::GridTools::partition_triangulation() at
        * the end.
        */
-      virtual void execute_coarsening_and_refinement ();
+      virtual void execute_coarsening_and_refinement () override;
 
       /**
        * Create a triangulation.
@@ -261,7 +261,7 @@ namespace parallel
        */
       virtual void create_triangulation (const std::vector< Point< spacedim > > &vertices,
                                          const std::vector< CellData< dim > > &cells,
-                                         const SubCellData &subcelldata);
+                                         const SubCellData &subcelldata) override;
 
       /**
        * Copy @p other_tria to this triangulation.
@@ -273,7 +273,7 @@ namespace parallel
        * since it only stores those cells that it owns, one layer of ghost cells around
        * the ones it locally owns, and a number of artificial cells.
        */
-      virtual void copy_triangulation (const dealii::Triangulation<dim, spacedim> &other_tria);
+      virtual void copy_triangulation (const dealii::Triangulation<dim, spacedim> &other_tria) override;
 
       /**
        * Read the data of this object from a stream for the purpose of
@@ -318,7 +318,7 @@ namespace parallel
        * Override the function to update the number cache so we can fill data
        * like @p level_ghost_owners.
        */
-      virtual void update_number_cache ();
+      virtual void update_number_cache () override;
 
     private:
 
index d742a651f2ad8b47ffdc417a17b1e8de2f99071d..4d3ed769ddeb0f3f01f37ee73d97f5cf76e1663f 100644 (file)
@@ -361,7 +361,7 @@ namespace parallel
       /**
        * Destructor.
        */
-      virtual ~Triangulation ();
+      virtual ~Triangulation () override;
 
       /**
        * Reset this triangulation into a virgin state by deleting all data.
@@ -369,7 +369,7 @@ namespace parallel
        * Note that this operation is only allowed if no subscriptions to this
        * object exist any more, such as DoFHandler objects using it.
        */
-      virtual void clear ();
+      virtual void clear () override;
 
       /**
        * Implementation of the same function as in the base class.
@@ -380,7 +380,7 @@ namespace parallel
        * parallel::distributed::Triangulation but only if the serial
        * Triangulation has never been refined.
        */
-      virtual void copy_triangulation (const dealii::Triangulation<dim, spacedim> &other_tria);
+      virtual void copy_triangulation (const dealii::Triangulation<dim, spacedim> &other_tria) override;
 
       /**
        * Create a triangulation as documented in the base class.
@@ -393,7 +393,7 @@ namespace parallel
        */
       virtual void create_triangulation (const std::vector<Point<spacedim> >    &vertices,
                                          const std::vector<CellData<dim> > &cells,
-                                         const SubCellData                 &subcelldata);
+                                         const SubCellData                 &subcelldata) override;
 
       /**
        * Coarsen and refine the mesh according to refinement and coarsening
@@ -424,7 +424,7 @@ namespace parallel
        * function is connected to the signal it will be used to balance the
        * calculated weights, otherwise the number of cells is balanced.
        */
-      virtual void execute_coarsening_and_refinement ();
+      virtual void execute_coarsening_and_refinement () override;
 
       /**
        * Override the implementation of prepare_coarsening_and_refinement from
@@ -432,7 +432,7 @@ namespace parallel
        * and the level difference over vertices over the periodic boundary
        * must be not more than 2:1.
        */
-      virtual bool prepare_coarsening_and_refinement ();
+      virtual bool prepare_coarsening_and_refinement () override;
 
       /**
        * Manually repartition the active cells between processors. Normally
@@ -548,12 +548,12 @@ namespace parallel
        * mesh, i.e., the union of locally owned cells on all processors.
        */
       virtual
-      bool has_hanging_nodes() const;
+      bool has_hanging_nodes() const override;
 
       /**
        * Return the local memory consumption in bytes.
        */
-      virtual std::size_t memory_consumption () const;
+      virtual std::size_t memory_consumption () const override;
 
       /**
        * Return the local memory consumption contained in the p4est data
@@ -799,7 +799,7 @@ namespace parallel
        */
       virtual void
       add_periodicity
-      (const std::vector<dealii::GridTools::PeriodicFacePair<cell_iterator> > &);
+      (const std::vector<dealii::GridTools::PeriodicFacePair<cell_iterator> > &) override;
 
 
     private:
@@ -808,7 +808,7 @@ namespace parallel
        * Override the function to update the number cache so we can fill data
        * like @p level_ghost_owners.
        */
-      virtual void update_number_cache ();
+      virtual void update_number_cache () override;
 
       /**
        * store the Settings.
@@ -970,7 +970,7 @@ namespace parallel
        * are adjacent to each vertex.
        */
       virtual std::map<unsigned int, std::set<dealii::types::subdomain_id> >
-      compute_vertices_with_ghost_neighbors () const;
+      compute_vertices_with_ghost_neighbors () const override;
 
       /**
        * This method returns a bit vector of length tria.n_vertices()
@@ -1022,7 +1022,7 @@ namespace parallel
       /**
        * Destructor.
        */
-      virtual ~Triangulation ();
+      virtual ~Triangulation () override;
 
       /**
        * Return a permutation vector for the order the coarse cells are
@@ -1116,21 +1116,21 @@ namespace parallel
        * Like above, this method, which is only implemented for dim = 2 or 3,
        * needs a stub because it is used in dof_handler_policy.cc
        */
-      std::map<unsigned int, std::set<dealii::types::subdomain_id> >
-      compute_vertices_with_ghost_neighbors () const;
+      virtual std::map<unsigned int, std::set<dealii::types::subdomain_id> >
+      compute_vertices_with_ghost_neighbors () const override;
 
       /**
        * Like above, this method, which is only implemented for dim = 2 or 3,
        * needs a stub because it is used in dof_handler_policy.cc
        */
-      std::map<unsigned int, std::set<dealii::types::subdomain_id> >
+      virtual std::map<unsigned int, std::set<dealii::types::subdomain_id> >
       compute_level_vertices_with_ghost_neighbors (const unsigned int level) const;
 
       /**
        * Like above, this method, which is only implemented for dim = 2 or 3,
        * needs a stub because it is used in dof_handler_policy.cc
        */
-      std::vector<bool>
+      virtual std::vector<bool>
       mark_locally_active_vertices_on_level(const unsigned int level) const;
 
     };
index 8875bf0e9daf7af8b508b2e341018139d0a593e5..aaa82082d8361e7341edec85df20767727b526fd 100644 (file)
@@ -56,7 +56,7 @@ namespace parallel
     /**
      * Destructor.
      */
-    virtual ~Triangulation ();
+    virtual ~Triangulation () override;
 
     /**
      * Return MPI communicator used by this triangulation.
@@ -66,7 +66,7 @@ namespace parallel
     /**
      * Implementation of the same function as in the base class.
      */
-    virtual void copy_triangulation (const dealii::Triangulation<dim, spacedim> &old_tria);
+    virtual void copy_triangulation (const dealii::Triangulation<dim, spacedim> &old_tria) override;
 
     /**
      * Return the number of active cells owned by each of the MPI processes
@@ -103,12 +103,12 @@ namespace parallel
      * by each processor. This equals the overall number of active cells in
      * the triangulation.
      */
-    virtual types::global_dof_index n_global_active_cells () const;
+    virtual types::global_dof_index n_global_active_cells () const override;
 
     /**
      * Return the local memory consumption in bytes.
      */
-    virtual std::size_t memory_consumption () const;
+    virtual std::size_t memory_consumption () const override;
 
 
     /**
@@ -118,7 +118,7 @@ namespace parallel
      * the domain that are not very refined, but if other processors store
      * cells in more deeply refined parts of the domain.
      */
-    virtual unsigned int n_global_levels () const;
+    virtual unsigned int n_global_levels () const override;
 
     /**
      * Return the subdomain id of those cells that are owned by the current
@@ -126,7 +126,7 @@ namespace parallel
      * subdomain id are either owned by another processor or have children
      * that only exist on other processors.
      */
-    types::subdomain_id locally_owned_subdomain () const;
+    types::subdomain_id locally_owned_subdomain () const override;
 
     /**
      * Return a set of MPI ranks of the processors that have at least one
index 52eda97d20e25c8c124f1ae70dc5fedfbe44f012..86894f1a4f91c95b942ae49932e32aac11f6e8ff 100644 (file)
@@ -352,7 +352,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~DoFHandler ();
+  virtual ~DoFHandler () override;
 
   /**
    * Copy operator. DoFHandler objects are large and expensive.
index a857e4a52ec217cb276aea141e3fa45d80187941..290f644675e702fc941773906127337f19fb3d29 100644 (file)
@@ -124,23 +124,23 @@ namespace internal
         // documentation is inherited
         virtual
         NumberCache
-        distribute_dofs () const;
+        distribute_dofs () const override;
 
         // documentation is inherited
         virtual
         std::vector<NumberCache>
-        distribute_mg_dofs () const;
+        distribute_mg_dofs () const override;
 
         // documentation is inherited
         virtual
         NumberCache
-        renumber_dofs (const std::vector<types::global_dof_index>  &new_numbers) const;
+        renumber_dofs (const std::vector<types::global_dof_index>  &new_numbers) const override;
 
         // documentation is inherited
         virtual
         NumberCache
         renumber_mg_dofs (const unsigned int                          level,
-                          const std::vector<types::global_dof_index> &new_numbers) const;
+                          const std::vector<types::global_dof_index> &new_numbers) const override;
 
       protected:
         /**
@@ -176,14 +176,14 @@ namespace internal
          */
         virtual
         NumberCache
-        distribute_dofs () const;
+        distribute_dofs () const override;
 
         /**
          * This function is not yet implemented.
          */
         virtual
         std::vector<NumberCache>
-        distribute_mg_dofs () const;
+        distribute_mg_dofs () const override;
 
         /**
          * Renumber degrees of freedom as specified by the first argument.
@@ -196,13 +196,13 @@ namespace internal
          */
         virtual
         NumberCache
-        renumber_dofs (const std::vector<types::global_dof_index>  &new_numbers) const;
+        renumber_dofs (const std::vector<types::global_dof_index>  &new_numbers) const override;
 
         // documentation is inherited
         virtual
         NumberCache
         renumber_mg_dofs (const unsigned int                          level,
-                          const std::vector<types::global_dof_index> &new_numbers) const;
+                          const std::vector<types::global_dof_index> &new_numbers) const override;
 
       private:
         /**
@@ -230,23 +230,23 @@ namespace internal
         // documentation is inherited
         virtual
         NumberCache
-        distribute_dofs () const;
+        distribute_dofs () const override;
 
         // documentation is inherited
         virtual
         std::vector<NumberCache>
-        distribute_mg_dofs () const;
+        distribute_mg_dofs () const override;
 
         // documentation is inherited
         virtual
         NumberCache
-        renumber_dofs (const std::vector<types::global_dof_index>  &new_numbers) const;
+        renumber_dofs (const std::vector<types::global_dof_index>  &new_numbers) const override;
 
         // documentation is inherited
         virtual
         NumberCache
         renumber_mg_dofs (const unsigned int                          level,
-                          const std::vector<types::global_dof_index> &new_numbers) const;
+                          const std::vector<types::global_dof_index> &new_numbers) const override;
 
       private:
         /**
index dfb2b0692261f7f9e9d390a4749f67b42d439b42..1ac39985b0b94ccaf1fd7f6c8ed8c12aefade4bb 100644 (file)
@@ -768,7 +768,7 @@ public:
    * Virtual destructor. Makes sure that pointers to this class are deleted
    * properly.
    */
-  virtual ~FiniteElement () = default;
+  virtual ~FiniteElement () override = default;
 
   /**
    * Creates information for creating a FESystem with this class as
index cc6e97cbf577faf33a3a5c585ea22d1657fa04fb..00c144f45ad7b86b5e433a1dd6b9d9f23a39a495 100644 (file)
@@ -111,7 +111,7 @@ public:
    * returns <tt>FE_ABF<dim>(degree)</tt>, with @p dim and @p degree replaced
    * by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
@@ -121,19 +121,19 @@ public:
    * always @p true.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   // documentation inherited from the base class
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,dim> >
-  clone() const;
+  clone() const override;
 
 private:
   /**
index e0a0f1885b303923399cbe084c93023706dfb4f5..847a12590a2b494243bd8f640844ec1052f02162 100644 (file)
@@ -70,17 +70,17 @@ public:
    * returns <tt>FE_BDM<dim>(degree)</tt>, with @p dim and @p degree replaced
    * by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,dim> >
-  clone() const;
+  clone() const override;
 
   // documentation inherited from the base class
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
 private:
   /**
index 689f151048abd43c08916a7ce03e64bfa3960377..32ead15dc9413f17aa342b349a5c0dea19897642 100644 (file)
@@ -79,7 +79,7 @@ public:
    */
   virtual void
   get_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                            FullMatrix<double>       &matrix) const;
+                            FullMatrix<double>       &matrix) const override;
 
   /**
    * FE_Bernstein is not interpolatory in the element interior, which prevents
@@ -90,7 +90,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_restriction_matrix (const unsigned int child,
-                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * FE_Bernstein is not interpolatory in the element interior, which prevents
@@ -101,7 +101,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_prolongation_matrix (const unsigned int child,
-                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face of
@@ -114,7 +114,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face of
@@ -128,13 +128,13 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
    * the new way, which has to be used to make elements "hp compatible".
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * If, on a vertex, several finite elements are active, the hp code first
@@ -153,7 +153,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -161,7 +161,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -169,7 +169,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -182,7 +182,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
 
 
   /**
@@ -190,11 +190,11 @@ public:
    * returns <tt>FE_Bernstein<dim>(degree)</tt>, with @p dim and @p degree
    * replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
 protected:
 
index 694117321355ead231838551d407973316371d78..4ce3f3278fc69904f5b297a6ab8452c861b8ccf7 100644 (file)
@@ -65,11 +65,11 @@ public:
    * returns <tt>FE_RaviartThomas<dim>(degree)</tt>, with @p dim and @p degree
    * replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
@@ -78,9 +78,9 @@ public:
    * For this element, we always return @p true.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
 private:
   /**
@@ -152,7 +152,7 @@ public:
    * returns <tt>FE_DGNedelec<dim>(degree)</tt>, with @p dim and @p degree
    * replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 };
 
 
@@ -179,7 +179,7 @@ public:
    * returns <tt>FE_DGRaviartThomas<dim>(degree)</tt>, with @p dim and @p
    * degree replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 };
 
 
@@ -205,7 +205,7 @@ public:
    * returns <tt>FE_DGBDM<dim>(degree)</tt>, with @p dim and @p degree
    * replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 };
 
 
index 6f9bc455ba6db97cb72246bba431caf4ccf5b010..2d961f534911a45f19ce9d0c2b5f0392a7bd6913 100644 (file)
@@ -319,7 +319,7 @@ public:
    * returns <tt>FE_DGP<dim>(degree)</tt>, with @p dim and @p degree replaced
    * by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   /**
    * @name Functions to support hp
@@ -346,7 +346,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -357,7 +357,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -368,7 +368,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
@@ -378,7 +378,7 @@ public:
    * of the element), as it has no hanging nodes (being a discontinuous
    * element).
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -391,7 +391,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * @}
@@ -410,7 +410,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -426,14 +426,14 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
@@ -443,7 +443,7 @@ public:
    * accessed through pointers to their base class, rather than the class
    * itself.
    */
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
 
   /**
@@ -451,11 +451,11 @@ public:
    * first entry is true, all other are false.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
 private:
 
index 7b49e58b954d41b63e4ca07221a4b0e20bb69bd7..c701a86758ae9d9d8c1245cca46b1f56a23c2e8f 100644 (file)
@@ -294,7 +294,7 @@ public:
    * returns <tt>FE_DGPMonomial<dim>(degree)</tt>, with <tt>dim</tt> and
    * <tt>p</tt> replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   /**
    * @name Functions to support hp
@@ -321,7 +321,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -332,7 +332,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -343,7 +343,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
@@ -353,7 +353,7 @@ public:
    * the degree of the element), as it has no hanging nodes (being a
    * discontinuous element).
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -366,7 +366,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * @}
@@ -383,7 +383,7 @@ public:
    */
   virtual void
   get_interpolation_matrix (const FiniteElement<dim> &source,
-                            FullMatrix<double>           &matrix) const;
+                            FullMatrix<double>           &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -398,7 +398,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -414,14 +414,14 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
@@ -431,11 +431,11 @@ public:
    * accessed through pointers to their base class, rather than the class
    * itself.
    */
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,dim> >
-  clone() const;
+  clone() const override;
 
 private:
 
index dd01fa18990f7ab43dddb2ba94d2534c5ecb7a9a..5c5d382887a524fb582d960a46313be11405aed5 100644 (file)
@@ -279,16 +279,16 @@ public:
    * returns <tt>FE_DGPNonparametric<dim>(degree)</tt>, with @p dim and @p
    * degree replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   // for documentation, see the FiniteElement base class
   virtual
   UpdateFlags
-  requires_update_flags (const UpdateFlags update_flags) const;
+  requires_update_flags (const UpdateFlags update_flags) const override;
 
   /**
    * This function is intended to return the value of a shape function at a
@@ -301,7 +301,7 @@ public:
    * type FiniteElement::ExcUnitShapeValuesDoNotExist.
    */
   virtual double shape_value (const unsigned int i,
-                              const Point<dim> &p) const;
+                              const Point<dim> &p) const override;
 
   /**
    * This function is intended to return the value of a shape function at a
@@ -315,7 +315,7 @@ public:
    */
   virtual double shape_value_component (const unsigned int i,
                                         const Point<dim> &p,
-                                        const unsigned int component) const;
+                                        const unsigned int component) const override;
 
   /**
    * This function is intended to return the gradient of a shape function at a
@@ -328,7 +328,7 @@ public:
    * type FiniteElement::ExcUnitShapeValuesDoNotExist.
    */
   virtual Tensor<1,dim> shape_grad (const unsigned int  i,
-                                    const Point<dim>   &p) const;
+                                    const Point<dim>   &p) const override;
 
   /**
    * This function is intended to return the gradient of a shape function at a
@@ -342,7 +342,7 @@ public:
    */
   virtual Tensor<1,dim> shape_grad_component (const unsigned int i,
                                               const Point<dim> &p,
-                                              const unsigned int component) const;
+                                              const unsigned int component) const override;
 
   /**
    * This function is intended to return the Hessian of a shape function at a
@@ -355,7 +355,7 @@ public:
    * exception of type FiniteElement::ExcUnitShapeValuesDoNotExist.
    */
   virtual Tensor<2,dim> shape_grad_grad (const unsigned int  i,
-                                         const Point<dim> &p) const;
+                                         const Point<dim> &p) const override;
 
   /**
    * This function is intended to return the Hessian of a shape function at a
@@ -369,7 +369,7 @@ public:
    */
   virtual Tensor<2,dim> shape_grad_grad_component (const unsigned int i,
                                                    const Point<dim> &p,
-                                                   const unsigned int component) const;
+                                                   const unsigned int component) const override;
 
   /**
    * Return the polynomial degree of this finite element, i.e. the value
@@ -390,7 +390,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -406,7 +406,7 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * @name Functions to support hp
@@ -433,7 +433,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -444,7 +444,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -455,7 +455,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
@@ -465,7 +465,7 @@ public:
    * of the degree of the element), as it has no hanging nodes (being a
    * discontinuous element).
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -478,7 +478,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * @}
@@ -489,7 +489,7 @@ public:
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
@@ -499,7 +499,7 @@ public:
    * accessed through pointers to their base class, rather than the class
    * itself.
    */
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
 protected:
 
@@ -512,7 +512,7 @@ protected:
   get_data (const UpdateFlags                                                    update_flags,
             const Mapping<dim,spacedim>                                         &mapping,
             const Quadrature<dim>                                               &quadrature,
-            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -523,7 +523,7 @@ protected:
                   const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                   const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                   const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -534,7 +534,7 @@ protected:
                        const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                        const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -546,7 +546,7 @@ protected:
                           const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                           const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
 private:
 
index 6e927daac19db572ae2eebfdf86d2e2234aa6979..7e185287ee03d0386e9e0cbf683e8e8aa97f78f5 100644 (file)
@@ -118,7 +118,7 @@ public:
    * returns <tt>FE_DGQ<dim>(degree)</tt>, with <tt>dim</tt> and
    * <tt>degree</tt> replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   /**
    * Return the matrix interpolating from the given finite element to the
@@ -131,7 +131,7 @@ public:
    */
   virtual void
   get_interpolation_matrix (const FiniteElement<dim, spacedim> &source,
-                            FullMatrix<double>           &matrix) const;
+                            FullMatrix<double>           &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -146,7 +146,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim, spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -162,7 +162,7 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim, spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * Projection from a fine grid space onto a coarse grid space. Overrides the
@@ -183,7 +183,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_restriction_matrix (const unsigned int child,
-                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * Embedding matrix between grids. Overrides the respective method in
@@ -208,7 +208,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_prolongation_matrix (const unsigned int child,
-                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * @name Functions to support hp
@@ -235,7 +235,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -246,7 +246,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -257,7 +257,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
@@ -267,7 +267,7 @@ public:
    * of the element), as it has no hanging nodes (being a discontinuous
    * element).
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -280,7 +280,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim, spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim, spacedim> &fe_other) const override;
 
   /**
    * @}
@@ -291,14 +291,14 @@ public:
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Return a list of constant modes of the element. For this element, it
    * simply returns one row with all entries set to true.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
   /**
    * Implementation of the corresponding function in the FiniteElement
@@ -310,7 +310,7 @@ public:
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
@@ -320,11 +320,11 @@ public:
    * accessed through pointers to their base class, rather than the class
    * itself.
    */
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
 protected:
   /**
@@ -416,7 +416,7 @@ public:
    * returns <tt>FE_DGQArbitraryNodes<dim>(degree)</tt>, with <tt>dim</tt> and
    * <tt>degree</tt> replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   /**
    * Implementation of the corresponding function in the FiniteElement
@@ -428,10 +428,10 @@ public:
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 };
 
 
@@ -462,7 +462,7 @@ public:
    * mode) is set to true and all other elements are set to false.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
   /**
    * Return a string that uniquely identifies a finite element. This class
@@ -470,11 +470,11 @@ public:
    * <tt>degree</tt> replaced by the values given by the template parameter
    * and the argument passed to the constructor, respectively.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 };
 
 
@@ -512,11 +512,11 @@ public:
    * <tt>degree</tt> replaced by the values given by the template parameter
    * and the argument passed to the constructor, respectively.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 };
 
 
index 279b0230ae206c66fa0a997cf22aba2915f73807..ceec91b7df1034a48ac7aa356f16d657e209a5a3 100644 (file)
@@ -281,16 +281,16 @@ public:
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   virtual
   UpdateFlags
-  requires_update_flags (const UpdateFlags update_flags) const;
+  requires_update_flags (const UpdateFlags update_flags) const override;
 
   /**
    * Return a string that identifies a finite element.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   /**
    * Access to a composing element. The index needs to be smaller than the
@@ -299,7 +299,7 @@ public:
    * element to be enriched, which could be FE_Nothing.
    */
   virtual const FiniteElement<dim,spacedim> &
-  base_element (const unsigned int index) const;
+  base_element (const unsigned int index) const override;
 
   /**
    * Return the value of the @p ith shape function at the point @p p. @p p is a
@@ -310,7 +310,7 @@ public:
    * real-space.
    */
   virtual double shape_value(const unsigned int      i,
-                             const Point< dim >     &p) const;
+                             const Point< dim >     &p) const override;
 
   /**
    * @name Transfer matrices
@@ -325,7 +325,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_restriction_matrix (const unsigned int child,
-                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * Embedding matrix between grids.
@@ -335,7 +335,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_prolongation_matrix (const unsigned int child,
-                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   //@}
 
@@ -350,7 +350,7 @@ public:
    * This function returns @p true if and only if all its base elements return @p true
    * for this function.
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -366,7 +366,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the
@@ -383,7 +383,7 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * If, on a vertex, several finite elements are active, the hp code first
@@ -402,7 +402,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -410,7 +410,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -418,7 +418,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -431,7 +431,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
   //@}
 
 
@@ -567,19 +567,19 @@ protected:
   get_data (const UpdateFlags      flags,
             const Mapping<dim,spacedim>    &mapping,
             const Quadrature<dim> &quadrature,
-            dealii::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const;
+            dealii::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim > &output_data) const override;
 
   virtual std::unique_ptr<typename FiniteElement<dim,spacedim>::InternalDataBase>
   get_face_data (const UpdateFlags      update_flags,
                  const Mapping<dim,spacedim>    &mapping,
                  const Quadrature<dim-1> &quadrature,
-                 dealii::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim >        &output_data) const;
+                 dealii::internal::FEValuesImplementation::FiniteElementRelatedData< dim, spacedim >        &output_data) const override;
 
   virtual std::unique_ptr<typename FiniteElement<dim,spacedim>::InternalDataBase>
   get_subface_data (const UpdateFlags      update_flags,
                     const Mapping<dim,spacedim>    &mapping,
                     const Quadrature<dim-1> &quadrature,
-                    dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                    dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void fill_fe_values (const typename Triangulation<dim, spacedim>::cell_iterator &cell,
@@ -590,7 +590,7 @@ protected:
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                        const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
                        dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data
-                      ) const;
+                      ) const override;
 
   virtual
   void
@@ -602,7 +602,7 @@ protected:
                         const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                         const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
                         dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data
-                      ) const;
+                      ) const override;
 
   virtual
   void
@@ -615,7 +615,7 @@ protected:
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                           const typename FiniteElement<dim,spacedim>::InternalDataBase &fe_internal,
                           dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data
-                         ) const;
+                         ) const override;
 
 private:
   /**
index 6592ccd8c95a1979ada406ec7b1d8b05fc563806..e469dd9640c83712fa5b0d27cecd7b68fecda9a9 100644 (file)
@@ -64,14 +64,14 @@ public:
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   /**
    * Return a string that uniquely identifies a finite element. This class
    * returns <tt>FE_FaceQ<dim>(degree)</tt>, with <tt>dim</tt> and
    * <tt>degree</tt> replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   /**
    * Implementation of the corresponding function in the FiniteElement
@@ -83,7 +83,7 @@ public:
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -95,7 +95,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -108,14 +108,14 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * @name Functions to support hp
@@ -141,7 +141,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -151,7 +151,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -161,13 +161,13 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim, spacedim> &fe_other) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
    * the new way, which has to be used to make elements "hp compatible".
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -180,7 +180,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
   /**
    * @}
    */
@@ -190,7 +190,7 @@ public:
    * simply returns one row with all entries set to true.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
 private:
   /**
@@ -224,19 +224,19 @@ public:
 
   virtual
   std::unique_ptr<FiniteElement<1,spacedim>>
-                                          clone() const;
+                                          clone() const override;
 
   /**
    * Return a string that uniquely identifies a finite element. This class
    * returns <tt>FE_FaceQ<dim>(degree)</tt>, with <tt>dim</tt> and
    * <tt>degree</tt> replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   // for documentation, see the FiniteElement base class
   virtual
   UpdateFlags
-  requires_update_flags (const UpdateFlags update_flags) const;
+  requires_update_flags (const UpdateFlags update_flags) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -248,7 +248,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<1,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -261,20 +261,20 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<1,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
    * the new way, which has to be used to make elements "hp compatible".
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * If, on a vertex, several finite elements are active, the hp code first
@@ -295,7 +295,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<1, spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<1, spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -305,7 +305,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<1, spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<1, spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -315,7 +315,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<1, spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<1, spacedim> &fe_other) const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -328,14 +328,14 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<1,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<1,spacedim> &fe_other) const override;
 
   /**
    * Return a list of constant modes of the element. For this element, it
    * simply returns one row with all entries set to true.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
 protected:
   /*
@@ -349,7 +349,7 @@ protected:
   get_data (const UpdateFlags                                                  /*update_flags*/,
             const Mapping<1,spacedim>                                         &/*mapping*/,
             const Quadrature<1>                                               &/*quadrature*/,
-            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &/*output_data*/) const
+            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &/*output_data*/) const override
   {
     return std_cxx14::make_unique<typename FiniteElement<1, spacedim>::InternalDataBase>();
   }
@@ -358,7 +358,7 @@ protected:
   get_face_data(const UpdateFlags update_flags,
                 const Mapping<1,spacedim> &/*mapping*/,
                 const Quadrature<0> &quadrature,
-                dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &/*output_data*/) const
+                dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &/*output_data*/) const override
   {
     // generate a new data object and initialize some fields
     auto data = std_cxx14::make_unique<typename FiniteElement<1,spacedim>::InternalDataBase>();
@@ -381,7 +381,7 @@ protected:
   get_subface_data(const UpdateFlags                                                  update_flags,
                    const Mapping<1,spacedim>                                         &mapping,
                    const Quadrature<0>                                               &quadrature,
-                   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &output_data) const
+                   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &output_data) const override
   {
     return get_face_data(update_flags, mapping, quadrature, output_data);
   }
@@ -395,7 +395,7 @@ protected:
                   const typename Mapping<1,spacedim>::InternalDataBase              &mapping_internal,
                   const dealii::internal::FEValuesImplementation::MappingRelatedData<1, spacedim> &mapping_data,
                   const typename FiniteElement<1,spacedim>::InternalDataBase        &fe_internal,
-                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &output_data) const;
+                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &output_data) const override;
 
   virtual
   void
@@ -406,7 +406,7 @@ protected:
                        const typename Mapping<1,spacedim>::InternalDataBase              &mapping_internal,
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<1, spacedim> &mapping_data,
                        const typename FiniteElement<1,spacedim>::InternalDataBase        &fe_internal,
-                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &output_data) const;
+                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &output_data) const override;
 
   virtual
   void
@@ -418,7 +418,7 @@ protected:
                           const typename Mapping<1,spacedim>::InternalDataBase              &mapping_internal,
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<1, spacedim> &mapping_data,
                           const typename FiniteElement<1,spacedim>::InternalDataBase        &fe_internal,
-                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &output_data) const;
+                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<1, spacedim> &output_data) const override;
 
 private:
   /**
@@ -468,14 +468,14 @@ public:
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   /**
    * Return a string that uniquely identifies a finite element. This class
    * returns <tt>FE_FaceP<dim>(degree)</tt> , with <tt>dim</tt> and
    * <tt>degree</tt> replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -487,7 +487,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -500,20 +500,20 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
    * the new way, which has to be used to make elements "hp compatible".
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -526,7 +526,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Return a list of constant modes of the element. For this element, the
@@ -535,7 +535,7 @@ public:
    * polynomials).
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
 private:
   /**
@@ -562,7 +562,7 @@ public:
   /**
    * Return the name of the element
    */
-  std::string get_name() const;
+  std::string get_name() const override;
 };
 
 
index bcb33b9ef81483229cf0c428312dd7adefeb5c79..5a673094aa14ad51e7f44b72dc6cdf04d3a06a89 100644 (file)
@@ -124,7 +124,7 @@ public:
    * returns <tt>FE_Nedelec<dim>(degree)</tt>, with @p dim and @p degree
    * replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
 
   /**
@@ -132,7 +132,7 @@ public:
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
@@ -142,14 +142,14 @@ public:
    * of the degree of the element), as it implements the complete set of
    * functions necessary for hp capability.
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return whether this element dominates the one, which is given as
    * argument.
    */
   virtual FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * If, on a vertex, several finite elements are active, the hp code first
@@ -167,21 +167,21 @@ public:
    * corresponding index of the other finite element.
    */
   virtual std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
    * of freedom on lines.
    */
   virtual std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
    * of freedom on lines.
    */
   virtual std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face of
@@ -196,7 +196,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim> &source,
-                                 FullMatrix<double> &matrix) const;
+                                 FullMatrix<double> &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the subface
@@ -212,7 +212,7 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim> &source,
                                     const unsigned int subface,
-                                    FullMatrix<double> &matrix) const;
+                                    FullMatrix<double> &matrix) const override;
   /**
    * Projection from a fine grid space onto a coarse grid space. If this
    * projection operator is associated with a matrix @p P, then the
@@ -229,7 +229,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_restriction_matrix (const unsigned int child,
-                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * Embedding matrix between grids.
@@ -253,25 +253,25 @@ public:
    */
   virtual const FullMatrix<double> &
   get_prolongation_matrix (const unsigned int child,
-                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   // documentation inherited from the base class
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   /**
    * Return a list of constant modes of the element.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,dim> >
-  clone() const;
+  clone() const override;
 
 private:
   /**
index 5575de3395543881976f03e783b11210d18fa1c3..96a146d3caccd7bfc458c405b122f32061b5c6e8 100644 (file)
@@ -77,53 +77,53 @@ public:
 
   virtual
   UpdateFlags
-  requires_update_flags (const UpdateFlags update_flags) const;
+  requires_update_flags (const UpdateFlags update_flags) const override;
 
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
-  virtual std::unique_ptr<FiniteElement<dim,dim> > clone() const;
+  virtual std::unique_ptr<FiniteElement<dim,dim> > clone() const override;
 
   /**
   * This element is vector-valued so this function will
   * throw an exception.
   */
   virtual double shape_value (const unsigned int i,
-                              const Point<dim>  &p) const;
+                              const Point<dim>  &p) const override;
 
   /**
   * Not implemented.
   */
   virtual double shape_value_component (const unsigned int i,
                                         const Point<dim>  &p,
-                                        const unsigned int component) const;
+                                        const unsigned int component) const override;
 
   /**
   * This element is vector-valued so this function will
   * throw an exception.
   */
   virtual Tensor<1,dim> shape_grad (const unsigned int i,
-                                    const Point<dim>  &p) const;
+                                    const Point<dim>  &p) const override;
 
   /**
   * Not implemented.
   */
   virtual Tensor<1,dim> shape_grad_component (const unsigned int i,
                                               const Point<dim>  &p,
-                                              const unsigned int component) const;
+                                              const unsigned int component) const override;
 
   /**
   * This element is vector-valued so this function will
   * throw an exception.
   */
   virtual Tensor<2,dim> shape_grad_grad (const unsigned int i,
-                                         const Point<dim>  &p) const;
+                                         const Point<dim>  &p) const override;
 
   /**
   * Not implemented.
   */
   virtual Tensor<2,dim> shape_grad_grad_component (const unsigned int i,
                                                    const Point<dim>  &p,
-                                                   const unsigned int component) const;
+                                                   const unsigned int component) const override;
 
   /**
    * Given <tt>flags</tt>, determines the values which must be computed only
@@ -151,7 +151,7 @@ protected:
   get_data (const UpdateFlags                                                             update_flags,
             const Mapping<dim,dim>                                                       &mapping,
             const Quadrature<dim>                                                        &quadrature,
-            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim> &output_data) const;
+            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim> &output_data) const override;
 
   /**
   * Compute information about the shape functions on the cell denoted by the
@@ -166,7 +166,7 @@ protected:
                   const typename Mapping<dim,dim>::InternalDataBase                            &mapping_internal,
                   const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, dim> &mapping_data,
                   const typename FiniteElement<dim,dim>::InternalDataBase                      &fedata,
-                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim> &data) const;
+                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim> &data) const override;
 
   /**
   * Compute information about the shape functions on the cell and face denoted
@@ -181,7 +181,7 @@ protected:
                        const typename Mapping<dim,dim>::InternalDataBase                            &mapping_internal,
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, dim> &mapping_data,
                        const typename FiniteElement<dim,dim>::InternalDataBase                      &fedata,
-                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim> &data) const;
+                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim> &data) const override;
 
   /**
   * Not implemented.
@@ -195,7 +195,7 @@ protected:
                           const typename Mapping<dim,dim>::InternalDataBase                            &mapping_internal,
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, dim> &mapping_data,
                           const typename FiniteElement<dim,dim>::InternalDataBase                      &fedata,
-                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim> &data) const;
+                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, dim> &data) const override;
 
   /**
   * Derived Internal data which is used to store cell-independent data.
index a4c2cab16118e4c26289c2748b2d492c6390a209..c9a97f39251eefae98bd3a3f10315c28fb5d2ada 100644 (file)
@@ -261,18 +261,18 @@ public:
    */
   FE_P1NC();
 
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
-  virtual UpdateFlags requires_update_flags (const UpdateFlags flags) const;
+  virtual UpdateFlags requires_update_flags (const UpdateFlags flags) const override;
 
   virtual
   std::unique_ptr<FiniteElement<2,2>>
-                                   clone() const;
+                                   clone() const override;
 
   /**
    * Destructor.
    */
-  virtual ~FE_P1NC () = default;
+  virtual ~FE_P1NC () override = default;
 
 
 
@@ -302,21 +302,21 @@ private:
   get_data (const UpdateFlags update_flags,
             const Mapping<2,2> &,
             const Quadrature<2> &quadrature,
-            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const;
+            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const override;
 
   virtual
   std::unique_ptr<FiniteElement<2,2>::InternalDataBase>
   get_face_data (const UpdateFlags update_flags,
                  const Mapping<2,2> &,
                  const Quadrature<1> &quadrature,
-                 dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const;
+                 dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const override;
 
   virtual
   std::unique_ptr<FiniteElement<2,2>::InternalDataBase>
   get_subface_data (const UpdateFlags update_flags,
                     const Mapping<2,2> &,
                     const Quadrature<1> &quadrature,
-                    dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const;
+                    dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const override;
 
   /**
    * Compute the data on the current cell.
@@ -329,7 +329,7 @@ private:
                   const Mapping<2,2>::InternalDataBase              &mapping_internal,
                   const internal::FEValuesImplementation::MappingRelatedData<2,2> &mapping_data,
                   const FiniteElement<2,2>::InternalDataBase        &fe_internal,
-                  internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const;
+                  internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const override;
 
   /**
    * Compute the data on the face of the current cell.
@@ -342,7 +342,7 @@ private:
                        const Mapping<2,2>::InternalDataBase                      &mapping_internal,
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<2,2> &mapping_data,
                        const InternalDataBase                                    &fe_internal,
-                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const;
+                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const override;
 
   /**
    * Compute the data on the subface of the current cell.
@@ -356,7 +356,7 @@ private:
                           const Mapping<2,2>::InternalDataBase                      &mapping_internal,
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<2,2> &mapping_data,
                           const InternalDataBase                                    &fe_internal,
-                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const;
+                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<2,2> &output_data) const override;
 
   /**
    * Create the constraints matrix for hanging edges.
index d686d76e94443c4c075b0dc2254cfc67a59a2408..32fecaab193e98b80c7fb1516d31b5c6763fa2d0 100644 (file)
@@ -86,7 +86,7 @@ public:
   // for documentation, see the FiniteElement base class
   virtual
   UpdateFlags
-  requires_update_flags (const UpdateFlags update_flags) const;
+  requires_update_flags (const UpdateFlags update_flags) const override;
 
   /**
    * Return the numbering of the underlying polynomial space compared to
@@ -107,7 +107,7 @@ public:
    * the semantics of this function.
    */
   virtual double shape_value (const unsigned int i,
-                              const Point<dim> &p) const;
+                              const Point<dim> &p) const override;
 
   /**
    * Return the value of the <tt>component</tt>th vector component of the
@@ -121,7 +121,7 @@ public:
    */
   virtual double shape_value_component (const unsigned int i,
                                         const Point<dim> &p,
-                                        const unsigned int component) const;
+                                        const unsigned int component) const override;
 
   /**
    * Return the gradient of the <tt>i</tt>th shape function at the point
@@ -129,7 +129,7 @@ public:
    * the semantics of this function.
    */
   virtual Tensor<1,dim> shape_grad (const unsigned int  i,
-                                    const Point<dim>   &p) const;
+                                    const Point<dim>   &p) const override;
 
   /**
    * Return the gradient of the <tt>component</tt>th vector component of the
@@ -143,7 +143,7 @@ public:
    */
   virtual Tensor<1,dim> shape_grad_component (const unsigned int i,
                                               const Point<dim> &p,
-                                              const unsigned int component) const;
+                                              const unsigned int component) const override;
 
   /**
    * Return the tensor of second derivatives of the <tt>i</tt>th shape
@@ -151,7 +151,7 @@ public:
    * class for more information about the semantics of this function.
    */
   virtual Tensor<2,dim> shape_grad_grad (const unsigned int  i,
-                                         const Point<dim> &p) const;
+                                         const Point<dim> &p) const override;
 
   /**
    * Return the second derivative of the <tt>component</tt>th vector component
@@ -165,7 +165,7 @@ public:
    */
   virtual Tensor<2,dim> shape_grad_grad_component (const unsigned int i,
                                                    const Point<dim> &p,
-                                                   const unsigned int component) const;
+                                                   const unsigned int component) const override;
 
   /**
    * Return the tensor of third derivatives of the <tt>i</tt>th shape function
@@ -173,7 +173,7 @@ public:
    * for more information about the semantics of this function.
    */
   virtual Tensor<3,dim> shape_3rd_derivative (const unsigned int  i,
-                                              const Point<dim>   &p) const;
+                                              const Point<dim>   &p) const override;
 
   /**
    * Return the third derivative of the <tt>component</tt>th vector component
@@ -187,7 +187,7 @@ public:
    */
   virtual Tensor<3,dim> shape_3rd_derivative_component (const unsigned int i,
                                                         const Point<dim>   &p,
-                                                        const unsigned int component) const;
+                                                        const unsigned int component) const override;
 
   /**
    * Return the tensor of fourth derivatives of the <tt>i</tt>th shape
@@ -195,7 +195,7 @@ public:
    * class for more information about the semantics of this function.
    */
   virtual Tensor<4,dim> shape_4th_derivative (const unsigned int  i,
-                                              const Point<dim>   &p) const;
+                                              const Point<dim>   &p) const override;
 
   /**
    * Return the fourth derivative of the <tt>component</tt>th vector component
@@ -209,7 +209,7 @@ public:
    */
   virtual Tensor<4,dim> shape_4th_derivative_component (const unsigned int i,
                                                         const Point<dim>   &p,
-                                                        const unsigned int component) const;
+                                                        const unsigned int component) const override;
 
 protected:
   /*
@@ -223,7 +223,7 @@ protected:
   get_data(const UpdateFlags                                                    update_flags,
            const Mapping<dim,spacedim>                                         &/*mapping*/,
            const Quadrature<dim>                                               &quadrature,
-           dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const
+           dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override
   {
     // generate a new data object and
     // initialize some fields
@@ -334,7 +334,7 @@ protected:
                   const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                   const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                   const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -345,7 +345,7 @@ protected:
                        const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                        const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -357,7 +357,7 @@ protected:
                           const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                           const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   /**
    * Fields of cell-independent data.
index 6f966822e8b4e39b992b3e3fba02436047a51752..14adae098b38c17f666f4198898c59754e08c58d 100644 (file)
@@ -72,7 +72,7 @@ public:
   // for documentation, see the FiniteElement base class
   virtual
   UpdateFlags
-  requires_update_flags (const UpdateFlags update_flags) const;
+  requires_update_flags (const UpdateFlags update_flags) const override;
 
 protected:
   /*
@@ -86,7 +86,7 @@ protected:
   get_data (const UpdateFlags                                                    /*update_flags*/,
             const Mapping<dim,spacedim>                                         &/*mapping*/,
             const Quadrature<dim>                                               &/*quadrature*/,
-            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &/*output_data*/) const
+            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &/*output_data*/) const override
   {
     return std_cxx14::make_unique<InternalData>();
   }
@@ -95,7 +95,7 @@ protected:
   get_face_data(const UpdateFlags                                                    update_flags,
                 const Mapping<dim,spacedim>                                         &/*mapping*/,
                 const Quadrature<dim-1>                                             &quadrature,
-                dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &/*output_data*/) const
+                dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &/*output_data*/) const override
   {
     // generate a new data object and
     // initialize some fields
@@ -144,7 +144,7 @@ protected:
   get_subface_data(const UpdateFlags                                                    update_flags,
                    const Mapping<dim,spacedim>                                         &mapping,
                    const Quadrature<dim-1>                                             &quadrature,
-                   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const
+                   dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override
   {
     return get_face_data(update_flags, mapping,
                          QProjector<dim - 1>::project_to_all_children(quadrature),
@@ -160,7 +160,7 @@ protected:
                   const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                   const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                   const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -171,7 +171,7 @@ protected:
                        const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                        const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -183,7 +183,7 @@ protected:
                           const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                           const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   /**
    * Fields of cell-independent data.
index eb0ef5af00f7eaac6056a6f94e5e4f177c0e6ae2..cd5c2cb5956e6b38965b815808e7572fd2864211 100644 (file)
@@ -154,7 +154,7 @@ public:
   // for documentation, see the FiniteElement base class
   virtual
   UpdateFlags
-  requires_update_flags (const UpdateFlags update_flags) const;
+  requires_update_flags (const UpdateFlags update_flags) const override;
 
   /**
    * Compute the (scalar) value of shape function @p i at the given quadrature
@@ -163,12 +163,12 @@ public:
    * an exception.
    */
   virtual double shape_value (const unsigned int i,
-                              const Point<dim> &p) const;
+                              const Point<dim> &p) const override;
 
   // documentation inherited from the base class
   virtual double shape_value_component (const unsigned int i,
                                         const Point<dim> &p,
-                                        const unsigned int component) const;
+                                        const unsigned int component) const override;
 
   /**
    * Compute the gradient of (scalar) shape function @p i at the given
@@ -177,12 +177,12 @@ public:
    * throws an exception.
    */
   virtual Tensor<1,dim> shape_grad (const unsigned int  i,
-                                    const Point<dim>   &p) const;
+                                    const Point<dim>   &p) const override;
 
   // documentation inherited from the base class
   virtual Tensor<1,dim> shape_grad_component (const unsigned int i,
                                               const Point<dim> &p,
-                                              const unsigned int component) const;
+                                              const unsigned int component) const override;
 
   /**
    * Compute the Hessian of (scalar) shape function @p i at the given
@@ -191,12 +191,12 @@ public:
    * throws an exception.
    */
   virtual Tensor<2,dim> shape_grad_grad (const unsigned int  i,
-                                         const Point<dim> &p) const;
+                                         const Point<dim> &p) const override;
 
   // documentation inherited from the base class
   virtual Tensor<2,dim> shape_grad_grad_component (const unsigned int i,
                                                    const Point<dim> &p,
-                                                   const unsigned int component) const;
+                                                   const unsigned int component) const override;
 
 protected:
   /**
@@ -213,7 +213,7 @@ protected:
   get_data(const UpdateFlags                                                    update_flags,
            const Mapping<dim,spacedim>                                         &/*mapping*/,
            const Quadrature<dim>                                               &quadrature,
-           dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &/*output_data*/) const
+           dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &/*output_data*/) const override
   {
     // generate a new data object and
     // initialize some fields
@@ -341,7 +341,7 @@ protected:
                   const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                   const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                   const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -352,7 +352,7 @@ protected:
                        const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                        const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -364,7 +364,7 @@ protected:
                           const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                           const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   /**
    * Fields of cell-independent data for FE_PolyTensor. Stores the values of
index d55171425f0bc5c9dfca7dccaab94e5bde546dd7..fbfe93e5f62de88d18e3456db8e490600c7e0081 100644 (file)
@@ -576,11 +576,11 @@ public:
    * returns <tt>FE_Q<dim>(degree)</tt>, with @p dim and @p degree replaced by
    * appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   /**
    * Implementation of the corresponding function in the FiniteElement
@@ -592,7 +592,7 @@ public:
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 };
 
 
index 7d719cda1d28b48246d4d26d58da667c3f696413..474b4a541694e5000f20bd5dc8298874930f1c8d 100644 (file)
@@ -58,7 +58,7 @@ public:
    */
   virtual void
   get_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                            FullMatrix<double>       &matrix) const;
+                            FullMatrix<double>       &matrix) const override;
 
 
   /**
@@ -72,7 +72,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -86,14 +86,14 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Projection from a fine grid space onto a coarse grid space. Overrides the
@@ -119,7 +119,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_restriction_matrix (const unsigned int child,
-                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * Embedding matrix between grids. Overrides the respective method in
@@ -149,7 +149,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_prolongation_matrix (const unsigned int child,
-                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * Given an index in the natural ordering of indices on a face, return the
@@ -194,14 +194,14 @@ public:
                                    const unsigned int face,
                                    const bool face_orientation = true,
                                    const bool face_flip        = false,
-                                   const bool face_rotation    = false) const;
+                                   const bool face_rotation    = false) const override;
 
   /**
    * Return a list of constant modes of the element. For this element, the
    * list consists of true arguments for all components.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
   /**
    * @name Functions to support hp
@@ -216,7 +216,7 @@ public:
    * of the element), as it implements the complete set of functions necessary
    * for hp capability.
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * If, on a vertex, several finite elements are active, the hp code first
@@ -235,7 +235,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -243,7 +243,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -251,7 +251,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -264,7 +264,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
   //@}
 
   /**
index 25af8f5f142f19f818eadfaa5b45729737b3909d..b3ac40314201d3727f40bbc48616f6c645e754f6 100644 (file)
@@ -102,13 +102,13 @@ public:
    * returns <tt>FE_Q_Bubbles<dim>(degree)</tt>, with @p dim and @p degree
    * replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   // documentation inherited from the base class
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   /**
    * Return the matrix interpolating from the given finite element to the
@@ -121,15 +121,15 @@ public:
    */
   virtual void
   get_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                            FullMatrix<double>       &matrix) const;
+                            FullMatrix<double>       &matrix) const override;
 
   virtual const FullMatrix<double> &
   get_prolongation_matrix  (const unsigned int child,
-                            const RefinementCase<dim> &refinement_case) const;
+                            const RefinementCase<dim> &refinement_case) const override;
 
   virtual const FullMatrix<double> &
   get_restriction_matrix  (const unsigned int child,
-                           const RefinementCase<dim> &refinement_case) const;
+                           const RefinementCase<dim> &refinement_case) const override;
 
   /**
    * Check for non-zero values on a face.
@@ -140,11 +140,11 @@ public:
    * Implementation of the interface in FiniteElement
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
 private:
 
index 00c75b00d90d24b8b7448fd1cd1f5dde6b3b4bbc..d2215f74b69fe56674209a5a9df48246839d253f 100644 (file)
@@ -256,13 +256,13 @@ public:
    * returns <tt>FE_Q_DG0<dim>(degree)</tt>, with @p dim and @p degree
    * replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   // documentation inherited from the base class
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   /**
    * Return the matrix interpolating from the given finite element to the
@@ -275,7 +275,7 @@ public:
    */
   virtual void
   get_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                            FullMatrix<double>       &matrix) const;
+                            FullMatrix<double>       &matrix) const override;
 
 
   /**
@@ -283,7 +283,7 @@ public:
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Return a list of constant modes of the element. For this element, there
@@ -292,11 +292,11 @@ public:
    * the discontinuous part.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
 private:
 
index bb900c62edb431d197f93e1c0422977efa77cfd9..5d88fd9860f891244032702db3aa39016b3a0f19 100644 (file)
@@ -551,18 +551,18 @@ public:
    * returns <tt>FE_Q_Hierarchical<dim>(degree)</tt>, with @p dim and @p
    * degree replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,dim> >
-  clone() const;
+  clone() const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * @name Functions to support hp
@@ -577,21 +577,21 @@ public:
    * the degree of the element), as it implements the complete set of
    * functions necessary for hp capability.
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return the matrix interpolating from the given finite element to the
    * present one. Interpolation only between FE_Q_Hierarchical is supported.
    */
   virtual void get_interpolation_matrix(const FiniteElement< dim> &source,
-                                        FullMatrix< double > &matrix) const;
+                                        FullMatrix< double > &matrix) const override;
 
   /**
    * Embedding matrix between grids. Only isotropic refinement is supported.
    */
   virtual const
   FullMatrix<double> &get_prolongation_matrix  (const unsigned int child,
-                                                const RefinementCase<dim> &refinement_case = RefinementCase< dim >::isotropic_refinement) const;
+                                                const RefinementCase<dim> &refinement_case = RefinementCase< dim >::isotropic_refinement) const override;
 
   /**
    * If, on a vertex, several finite elements are active, the hp code first
@@ -610,21 +610,21 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Same as above but for lines.
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Same as above but for faces.
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   /*@}*/
 
@@ -639,7 +639,7 @@ public:
    * from a given element, then they must throw an exception of type
    * <tt>FiniteElement<dim>::ExcInterpolationNotImplemented</tt>.
    */
-  virtual void get_face_interpolation_matrix (const FiniteElement<dim> &source, FullMatrix<double> &matrix) const;
+  virtual void get_face_interpolation_matrix (const FiniteElement<dim> &source, FullMatrix<double> &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the subface
@@ -652,7 +652,7 @@ public:
    * from a given element, then they must throw an exception of type
    * <tt>ExcInterpolationNotImplemented</tt>.
    */
-  virtual void get_subface_interpolation_matrix (const FiniteElement<dim> &source, const unsigned int subface, FullMatrix<double> &matrix) const;
+  virtual void get_subface_interpolation_matrix (const FiniteElement<dim> &source, const unsigned int subface, FullMatrix<double> &matrix) const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -665,7 +665,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim> &fe_other) const override;
 
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
@@ -675,7 +675,7 @@ public:
    * accessed through pointers to their base class, rather than the class
    * itself.
    */
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
   /**
    * For a finite element of degree @p sub_degree < @p degree, we return a
@@ -690,7 +690,7 @@ public:
    * false for the remaining ones.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
 private:
 
index 158ebd26a923c56b36a9f15226af4dbf2600e723..32744ae27f44d516b9db44128b21c12373dadc49 100644 (file)
@@ -123,11 +123,11 @@ public:
    * returns <tt>FE_Q_iso_q1<dim>(equivalent_degree)</tt>, with @p dim and @p
    * equivalent_degree replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   /**
    * Implementation of the corresponding function in the FiniteElement
@@ -139,7 +139,7 @@ public:
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   /**
    * @name Functions to support hp
@@ -157,7 +157,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
   //@}
 };
 
index d903cea1c8c263fd3b61992fbd7f4b9fe95225d2..20880f20a529929f08d1bb6e40dcf07272cdb1a6 100644 (file)
@@ -64,17 +64,17 @@ public:
   FE_RannacherTurek(const unsigned int order = 0,
                     const unsigned int n_face_support_points = 2);
 
-  virtual std::string get_name() const;
+  virtual std::string get_name() const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,dim> >
-  clone() const;
+  clone() const override;
 
   // documentation inherited from the base class
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
 private:
   /**
index a496f05e29f7597daaa8a6feef4f8834e57470b3..a7b0896c25362b57a80a0bb51daed784bc6d3c8c 100644 (file)
@@ -115,12 +115,12 @@ public:
    * returns <tt>FE_RaviartThomas<dim>(degree)</tt>, with @p dim and @p degree
    * replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   // documentation inherited from the base class
   virtual
   std::unique_ptr<FiniteElement<dim,dim> >
-  clone() const;
+  clone() const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
@@ -130,22 +130,22 @@ public:
    * always @p true.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   // documentation inherited from the base class
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   /**
    * Return a list of constant modes of the element. This method is currently
    * not correctly implemented because it returns ones for all components.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
 private:
   /**
@@ -255,37 +255,37 @@ public:
    * returns <tt>FE_RaviartThomasNodal<dim>(degree)</tt>, with @p dim and @p
    * degree replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   // documentation inherited from the base class
   virtual
   std::unique_ptr<FiniteElement<dim,dim> >
-  clone() const;
+  clone() const override;
 
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   virtual void get_face_interpolation_matrix (const FiniteElement<dim> &source,
-                                              FullMatrix<double>       &matrix) const;
+                                              FullMatrix<double>       &matrix) const override;
 
   virtual void get_subface_interpolation_matrix (const FiniteElement<dim> &source,
                                                  const unsigned int        subface,
-                                                 FullMatrix<double>       &matrix) const;
-  virtual bool hp_constraints_are_implemented () const;
+                                                 FullMatrix<double>       &matrix) const override;
+  virtual bool hp_constraints_are_implemented () const override;
 
   virtual std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   virtual std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   virtual std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim> &fe_other) const override;
 
   virtual FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim> &fe_other) const override;
 
 private:
   /**
@@ -312,7 +312,7 @@ private:
    * always @p true.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
   /**
    * Initialize the FiniteElement<dim>::generalized_support_points and
    * FiniteElement<dim>::generalized_face_support_points fields. Called from
index db753852f4d9759e2f7bf564f846566f244d7f6a..a9b4bba67688c0359747d9adbb9c812610ef74c2 100644 (file)
@@ -497,7 +497,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~FESystem () = default;
+  virtual ~FESystem () override = default;
 
   /**
    * Return a string that uniquely identifies a finite element. This element
@@ -507,15 +507,15 @@ public:
    * the multiplicities of the basis elements. If a multiplicity is equal to
    * one, then the superscript is omitted.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   virtual
   UpdateFlags
-  requires_update_flags (const UpdateFlags update_flags) const;
+  requires_update_flags (const UpdateFlags update_flags) const override;
 
   // make variant with ComponentMask also available:
   using FiniteElement<dim,spacedim>::get_sub_fe;
@@ -526,7 +526,7 @@ public:
   virtual
   const FiniteElement<dim,spacedim> &
   get_sub_fe (const unsigned int first_component,
-              const unsigned int n_selected_components) const;
+              const unsigned int n_selected_components) const override;
 
   /**
    * Return the value of the @p ith shape function at the point @p p.  @p p is
@@ -541,7 +541,7 @@ public:
    * the shape of the cell in real space.
    */
   virtual double shape_value (const unsigned int i,
-                              const Point<dim> &p) const;
+                              const Point<dim> &p) const override;
 
   /**
    * Return the value of the @p componentth vector component of the @p ith
@@ -553,7 +553,7 @@ public:
    */
   virtual double shape_value_component (const unsigned int i,
                                         const Point<dim> &p,
-                                        const unsigned int component) const;
+                                        const unsigned int component) const override;
 
   /**
    * Return the gradient of the @p ith shape function at the point @p p. @p p
@@ -570,7 +570,7 @@ public:
    * the shape of the cell in real space.
    */
   virtual Tensor<1,dim> shape_grad (const unsigned int  i,
-                                    const Point<dim>   &p) const;
+                                    const Point<dim>   &p) const override;
 
   /**
    * Return the gradient of the @p componentth vector component of the @p ith
@@ -582,7 +582,7 @@ public:
    */
   virtual Tensor<1,dim> shape_grad_component (const unsigned int i,
                                               const Point<dim> &p,
-                                              const unsigned int component) const;
+                                              const unsigned int component) const override;
 
   /**
    * Return the tensor of second derivatives of the @p ith shape function at
@@ -599,7 +599,7 @@ public:
    * the shape of the cell in real space.
    */
   virtual Tensor<2,dim> shape_grad_grad (const unsigned int  i,
-                                         const Point<dim> &p) const;
+                                         const Point<dim> &p) const override;
 
   /**
    * Return the second derivatives of the @p componentth vector component of
@@ -613,7 +613,7 @@ public:
   Tensor<2,dim>
   shape_grad_grad_component (const unsigned int i,
                              const Point<dim> &p,
-                             const unsigned int component) const;
+                             const unsigned int component) const override;
 
   /**
    * Return the tensor of third derivatives of the @p ith shape function at
@@ -630,7 +630,7 @@ public:
    * the shape of the cell in real space.
    */
   virtual Tensor<3,dim> shape_3rd_derivative (const unsigned int  i,
-                                              const Point<dim>   &p) const;
+                                              const Point<dim>   &p) const override;
 
   /**
    * Return the third derivatives of the @p componentth vector component of
@@ -642,7 +642,7 @@ public:
    */
   virtual Tensor<3,dim> shape_3rd_derivative_component (const unsigned int i,
                                                         const Point<dim>   &p,
-                                                        const unsigned int component) const;
+                                                        const unsigned int component) const override;
 
   /**
    * Return the tensor of fourth derivatives of the @p ith shape function at
@@ -659,7 +659,7 @@ public:
    * the shape of the cell in real space.
    */
   virtual Tensor<4,dim> shape_4th_derivative (const unsigned int  i,
-                                              const Point<dim>   &p) const;
+                                              const Point<dim>   &p) const override;
 
   /**
    * Return the fourth derivatives of the @p componentth vector component of
@@ -671,7 +671,7 @@ public:
    */
   virtual Tensor<4,dim> shape_4th_derivative_component (const unsigned int i,
                                                         const Point<dim>   &p,
-                                                        const unsigned int component) const;
+                                                        const unsigned int component) const override;
 
   /**
    * Return the matrix interpolating from the given finite element to the
@@ -686,7 +686,7 @@ public:
    */
   virtual void
   get_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                            FullMatrix<double>           &matrix) const;
+                            FullMatrix<double>           &matrix) const override;
 
   /**
    * Access to a composing element. The index needs to be smaller than the
@@ -695,14 +695,14 @@ public:
    * the multiplicities are greater than one.
    */
   virtual const FiniteElement<dim,spacedim> &
-  base_element (const unsigned int index) const;
+  base_element (const unsigned int index) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Projection from a fine grid space onto a coarse grid space. Overrides the
@@ -729,7 +729,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_restriction_matrix (const unsigned int child,
-                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                          const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * Embedding matrix between grids. Overrides the respective method in
@@ -760,7 +760,7 @@ public:
    */
   virtual const FullMatrix<double> &
   get_prolongation_matrix (const unsigned int child,
-                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const;
+                           const RefinementCase<dim> &refinement_case=RefinementCase<dim>::isotropic_refinement) const override;
 
   /**
    * Given an index in the natural ordering of indices on a face, return the
@@ -805,21 +805,21 @@ public:
                                    const unsigned int face,
                                    const bool face_orientation = true,
                                    const bool face_flip        = false,
-                                   const bool face_rotation    = false) const;
+                                   const bool face_rotation    = false) const override;
 
   /**
    * Implementation of the respective function in the base class.
    */
   virtual
   Point<dim>
-  unit_support_point (const unsigned int index) const;
+  unit_support_point (const unsigned int index) const override;
 
   /**
    * Implementation of the respective function in the base class.
    */
   virtual
   Point<dim-1>
-  unit_face_support_point (const unsigned int index) const;
+  unit_face_support_point (const unsigned int index) const override;
 
   /**
    * Return a list of constant modes of the element. The returns table has as
@@ -829,7 +829,7 @@ public:
    * element. Concatenates the constant modes of each base element.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
   /**
    * @name Functions to support hp
@@ -843,7 +843,7 @@ public:
    * This function returns @p true if and only if all its base elements return
    * @p true for this function.
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -859,7 +859,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
 
   /**
@@ -877,7 +877,7 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * If, on a vertex, several finite elements are active, the hp code first
@@ -896,7 +896,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_vertex_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -904,7 +904,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_line_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Same as hp_vertex_dof_indices(), except that the function treats degrees
@@ -912,7 +912,7 @@ public:
    */
   virtual
   std::vector<std::pair<unsigned int, unsigned int> >
-  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const;
+  hp_quad_dof_identities (const FiniteElement<dim,spacedim> &fe_other) const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -925,7 +925,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
   //@}
 
   /**
@@ -945,7 +945,7 @@ public:
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &dof_values) const;
+                                                          std::vector<double>                &dof_values) const override;
 
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
@@ -955,7 +955,7 @@ public:
    * accessed through pointers to their base class, rather than the class
    * itself.
    */
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
 protected:
 
@@ -964,21 +964,21 @@ protected:
   get_data (const UpdateFlags                                                    update_flags,
             const Mapping<dim,spacedim>                                         &mapping,
             const Quadrature<dim>                                               &quadrature,
-            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+            dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   std::unique_ptr<typename FiniteElement<dim,spacedim>::InternalDataBase>
   get_face_data (const UpdateFlags                                                    update_flags,
                  const Mapping<dim,spacedim>                                         &mapping,
                  const Quadrature<dim-1>                                             &quadrature,
-                 dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                 dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   std::unique_ptr<typename FiniteElement<dim,spacedim>::InternalDataBase>
   get_subface_data (const UpdateFlags                                                    update_flags,
                     const Mapping<dim,spacedim>                                         &mapping,
                     const Quadrature<dim-1>                                             &quadrature,
-                    dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                    dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -989,7 +989,7 @@ protected:
                   const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                   const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                   const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                  dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -1000,7 +1000,7 @@ protected:
                        const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                        const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                        const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                       dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   virtual
   void
@@ -1012,7 +1012,7 @@ protected:
                           const typename Mapping<dim,spacedim>::InternalDataBase              &mapping_internal,
                           const dealii::internal::FEValuesImplementation::MappingRelatedData<dim, spacedim> &mapping_data,
                           const typename FiniteElement<dim,spacedim>::InternalDataBase        &fe_internal,
-                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const;
+                          dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim> &output_data) const override;
 
   /**
    * Do the work for the three <tt>fill_fe*_values</tt> functions.
@@ -1109,7 +1109,7 @@ private:
      * Destructor. Deletes all @p InternalDatas whose pointers are stored by
      * the @p base_fe_datas vector.
      */
-    ~InternalData();
+    ~InternalData() override;
 
     /**
      * Give write-access to the pointer to a @p InternalData of the @p
index f316113b0f525272bd5e6981b4ded02abdf39940..1fac784b7d3643a1465c8018fb942be5be7cd136 100644 (file)
@@ -98,7 +98,7 @@ namespace FETools
     /**
      * Virtual destructor doing nothing but making the compiler happy.
      */
-    virtual ~FEFactoryBase() = default;
+    virtual ~FEFactoryBase() override = default;
   };
 
   /**
@@ -120,14 +120,14 @@ namespace FETools
      * Create a FiniteElement and return a pointer to it.
      */
     virtual std::unique_ptr<FiniteElement<FE::dimension,FE::space_dimension> >
-    get (const unsigned int degree) const;
+    get (const unsigned int degree) const override;
 
     /**
      * Create a FiniteElement from a quadrature formula (currently only
      * implemented for FE_Q) and return a pointer to it.
      */
     virtual std::unique_ptr<FiniteElement<FE::dimension,FE::space_dimension> >
-    get (const Quadrature<1> &quad) const;
+    get (const Quadrature<1> &quad) const override;
   };
 
   /**
index fd42d0378727ec2e8776e4e26830bed50661665e..ab61f2f777f5b115b12b4c786e35f51b1f852a1f 100644 (file)
@@ -56,11 +56,11 @@ public:
    * returns <tt>FE_DGQ<dim>(degree)</tt>, with <tt>dim</tt> and
    * <tt>degree</tt> replaced by appropriate values.
    */
-  virtual std::string get_name () const;
+  virtual std::string get_name () const override;
 
   virtual
   std::unique_ptr<FiniteElement<dim,spacedim> >
-  clone() const;
+  clone() const override;
 
   /**
    * Implementation of the corresponding function in the FiniteElement
@@ -72,27 +72,27 @@ public:
   virtual
   void
   convert_generalized_support_point_values_to_dof_values (const std::vector<Vector<double> > &support_point_values,
-                                                          std::vector<double>                &nodal_values) const;
+                                                          std::vector<double>                &nodal_values) const override;
 
   /**
    * This function returns @p true, if the shape function @p shape_index has
    * non-zero function values somewhere on the face @p face_index.
    */
   virtual bool has_support_on_face (const unsigned int shape_index,
-                                    const unsigned int face_index) const;
+                                    const unsigned int face_index) const override;
 
   /**
    * Return a list of constant modes of the element. For this element, it
    * simply returns one row with all entries set to true.
    */
   virtual std::pair<Table<2,bool>, std::vector<unsigned int> >
-  get_constant_modes () const;
+  get_constant_modes () const override;
 
   /**
    * Return whether this element implements its hanging node constraints in
    * the new way, which has to be used to make elements "hp compatible".
    */
-  virtual bool hp_constraints_are_implemented () const;
+  virtual bool hp_constraints_are_implemented () const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -104,7 +104,7 @@ public:
    */
   virtual void
   get_face_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
-                                 FullMatrix<double>       &matrix) const;
+                                 FullMatrix<double>       &matrix) const override;
 
   /**
    * Return the matrix interpolating from a face of one element to the face
@@ -117,7 +117,7 @@ public:
   virtual void
   get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &source,
                                     const unsigned int        subface,
-                                    FullMatrix<double>       &matrix) const;
+                                    FullMatrix<double>       &matrix) const override;
 
   /**
    * Return whether this element dominates the one given as argument when they
@@ -130,7 +130,7 @@ public:
    */
   virtual
   FiniteElementDomination::Domination
-  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const;
+  compare_for_face_domination (const FiniteElement<dim,spacedim> &fe_other) const override;
 
 private:
   /**
@@ -161,7 +161,7 @@ public:
   /**
    * Return the name of the element
    */
-  std::string get_name() const;
+  std::string get_name() const override;
 };
 
 
index 3ec07ee051dd98387c853bd0a85bb6439182e19e..d38072c4990ea215512f279e571cf644ffae46d8 100644 (file)
@@ -1864,7 +1864,7 @@ public:
   /**
    * Destructor.
    */
-  ~FEValuesBase ();
+  ~FEValuesBase () override;
 
 
   /// @name ShapeAccess Access to shape function values. These fields are filled by the finite element.
index c0e86ce790e36241ada0929b4dd436a19c0fa22f..d03c3ead77847e74b706dfa2bdcc191023c14d91 100644 (file)
@@ -81,7 +81,7 @@ namespace GridTools
     /**
      * Destructor.
      */
-    ~Cache();
+    ~Cache() override;
 
     /**
      * Make sure that the objects marked for update are recomputed during
index 8fb117cd88c1032b2bd792fde7de6a4e36575652..d4f97a83a12714d67c794d7fe5afaddef3c422e6 100644 (file)
@@ -348,7 +348,7 @@ public:
    * Destructor. Does nothing here, but needs to be declared virtual to make
    * class hierarchies derived from this class possible.
    */
-  virtual ~Manifold () = default;
+  virtual ~Manifold () override = default;
 
   /**
    * Return a copy of this manifold.
index 3bf1c4653a44a329581eb44ebaa5640904a77901..5a6794b3542fd8a15907ac9dce11951c8f16cbcd 100644 (file)
@@ -133,7 +133,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~PersistentTriangulation () = default;
+  virtual ~PersistentTriangulation () override = default;
 
   /**
    * Overloaded version of the same function in the base class which stores
@@ -141,7 +141,7 @@ public:
    * triangulation and after that calls the respective function of the base
    * class.
    */
-  virtual void execute_coarsening_and_refinement ();
+  virtual void execute_coarsening_and_refinement () override;
 
   /**
    * Restore the grid according to the saved data. For this, the coarse grid
@@ -182,7 +182,7 @@ public:
    * The coarse grid must persist until the end of this object, since it will
    * be used upon reconstruction of the grid.
    */
-  virtual void copy_triangulation (const Triangulation<dim, spacedim> &tria);
+  virtual void copy_triangulation (const Triangulation<dim, spacedim> &tria) override;
 
   /**
    * Throw an error, since this function is not useful in the context of this
@@ -190,7 +190,7 @@ public:
    */
   virtual void create_triangulation (const std::vector<Point<spacedim> >    &vertices,
                                      const std::vector<CellData<dim> > &cells,
-                                     const SubCellData                 &subcelldata);
+                                     const SubCellData                 &subcelldata) override;
 
   /**
    * An overload of the respective function of the base class.
@@ -201,7 +201,7 @@ public:
   virtual void create_triangulation_compatibility (
     const std::vector<Point<spacedim> >    &vertices,
     const std::vector<CellData<dim> > &cells,
-    const SubCellData                 &subcelldata);
+    const SubCellData                 &subcelldata) override;
 
   /**
    * Write all refine and coarsen flags to the ostream @p out.
@@ -224,7 +224,7 @@ public:
    * Determine an estimate for the memory consumption (in bytes) of this
    * object.
    */
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
   /**
    * Exception.
index db10e2875a270f5241d38071348e8ddfc5a68bec..7ea247c60562301ec730a783a1a9c4c8a37019c3 100644 (file)
@@ -1613,7 +1613,7 @@ public:
      * automatically generated destructor would have a different one due to
      * member objects.
      */
-    virtual ~DistortedCellList () noexcept;
+    virtual ~DistortedCellList () noexcept override;
 
     /**
      * A list of those cells among the coarse mesh cells that are deformed or
@@ -1683,7 +1683,7 @@ public:
   /**
    * Delete the object and all levels of the hierarchy.
    */
-  virtual ~Triangulation ();
+  virtual ~Triangulation () override;
 
   /**
    * Reset this triangulation into a virgin state by deleting all data.
index 403e414be4748b9aca76961a1eeecbc1de950249..42ab2d8e26ee841645a8c2e9d9376e527c152846 100644 (file)
@@ -275,7 +275,7 @@ namespace hp
     /**
      * Destructor.
      */
-    virtual ~DoFHandler ();
+    virtual ~DoFHandler () override;
 
     /**
      * Copy operator. DoFHandler objects are large and expensive.
index 73c0739fc57a96fad9fdb5a75d12419ff493b0dc..31ec568210d5c5a51be71263070ed2f8f7fae551 100644 (file)
@@ -375,7 +375,7 @@ public:
   /**
    * Destructor.
    */
-  ~BlockMatrixBase ();
+  ~BlockMatrixBase () override;
 
   /**
    * Copy the matrix given as argument into the current object.
index 23ec065cc8586afe548a0cfe539624ce89ec970f..6e2ddacb2da0f4591c488263759f5c19a9d37c83 100644 (file)
@@ -106,7 +106,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~BlockSparseMatrix ();
+  virtual ~BlockSparseMatrix () override;
 
 
 
index e1eea163be65b7e12a1d44b616c90794c45f719c..8d54e931ad62c055368f5c38e806aa24bb84c91f 100644 (file)
@@ -115,7 +115,7 @@ public:
   /**
    * Destructor.
    */
-  ~BlockSparsityPatternBase ();
+  ~BlockSparsityPatternBase () override;
 
   /**
    * Resize the matrix, by setting the number of block rows and columns. This
index 529820c09f34ade85631a2fea0737c12d7b5b3f0..08dff12c57164db363b8d792664fd5610fa0a723 100644 (file)
@@ -168,7 +168,7 @@ public:
   /**
    * Destructor. Clears memory
    */
-  ~BlockVector () = default;
+  ~BlockVector () override = default;
 
   /**
    * Call the compress() function on all the subblocks.
index 7fdc95d0719f4b922aacb81a21686a08261f8fe0..56f9cc4239d21503c1d66e4025e02aa23cbb8764 100644 (file)
@@ -516,7 +516,7 @@ public:
    * Destructor. Free all memory, but do not release the memory of the
    * sparsity structure.
    */
-  virtual ~ChunkSparseMatrix ();
+  virtual ~ChunkSparseMatrix () override;
 
   /**
    * Copy operator. Since copying entire sparse matrices is a very expensive
index 0113a46d5430913532951be1ccb23d8cae858b01..869aa3a4bcc94f88f9edd17cb512ecaf23669588 100644 (file)
@@ -334,7 +334,7 @@ public:
   /**
    * Destructor.
    */
-  ~ChunkSparsityPattern () = default;
+  ~ChunkSparsityPattern () override = default;
 
   /**
    * Copy operator. For this the same holds as for the copy constructor: it is
index 453fbe5a9b399751dbff9be1f1b6a3009f7bff18..6fee61e5c22177c06ad5e10b52f96a75f4a4c063 100644 (file)
@@ -56,7 +56,7 @@ namespace LACExceptions
   public:
     ExcPETScError (const int error_code);
 
-    virtual void print_info (std::ostream &out) const;
+    virtual void print_info (std::ostream &out) const override;
 
     const int error_code;
   };
index da8f9a2bc02c4ab657b1d6f1a1da0544db653f6b..aaa4177e60541f0745bfdec338109a35819ee217 100644 (file)
@@ -114,7 +114,7 @@ public:
   /**
    * Destructor. Declared in order to make it virtual.
    */
-  virtual ~MatrixOut () = default;
+  virtual ~MatrixOut () override = default;
 
   /**
    * Generate a list of patches from the given matrix and use the given string
@@ -163,13 +163,13 @@ private:
    * they shall write to a file.
    */
   virtual const std::vector<Patch> &
-  get_patches () const;
+  get_patches () const override;
 
   /**
    * Virtual function through which the names of data sets are obtained by the
    * output functions of the base class.
    */
-  virtual std::vector<std::string> get_dataset_names () const;
+  virtual std::vector<std::string> get_dataset_names () const override;
 
   /**
    * Get the value of the matrix at gridpoint <tt>(i,j)</tt>. Depending on the
index 15ff21ff274d5181f9d3fbe152a293171683ed58..f297393726a07e1283e611c285a12ccf2cde0fc2 100644 (file)
@@ -83,7 +83,7 @@ namespace PETScWrappers
      * matrix. Since this is a sequential matrix, it returns the MPI_COMM_SELF
      * communicator.
      */
-    virtual const MPI_Comm &get_mpi_communicator () const;
+    virtual const MPI_Comm &get_mpi_communicator () const override;
 
   private:
 
index 6ab9d445f6be26dab8e2fd4c5df7d4c16b124d9c..9e251571c98ee729bc2b2dbfb93cd94399e3afa4 100644 (file)
@@ -306,7 +306,7 @@ namespace PETScWrappers
     /**
      * Destructor. Made virtual so that one can use pointers to this class.
      */
-    virtual ~MatrixBase ();
+    virtual ~MatrixBase () override;
 
     /**
      * This operator assigns a scalar to a matrix. Since this does usually not
index 43425fd38788a4f3394bacfc552c5aa92c2814c4..68f39446df05a9f8c29a914455dfcd3d14c6ead4 100644 (file)
@@ -177,7 +177,7 @@ namespace PETScWrappers
      * Return a reference to the MPI communicator object in use with this
      * matrix.
      */
-    const MPI_Comm &get_mpi_communicator () const;
+    const MPI_Comm &get_mpi_communicator () const override;
 
     /**
      * Matrix-vector multiplication: let <i>dst = M*src</i> with <i>M</i>
index aabaf7cf6d51907557d7143a1ce22a2087c47cfe..8c94a0620e004dc48980ec3026f75950b9593d32 100644 (file)
@@ -106,7 +106,7 @@ namespace PETScWrappers
       /**
        * Destructor.
        */
-      ~BlockSparseMatrix () = default;
+      ~BlockSparseMatrix () override = default;
 
       /**
        * Pseudo copy operator only copying empty objects. The sizes of the
index c73cb5d6c70f0398966646a629b47e224752b88e..3842ce3b85c41fd6e1e8d41da015e72ff5605c14 100644 (file)
@@ -136,7 +136,7 @@ namespace PETScWrappers
       /**
        * Destructor. Clears memory
        */
-      ~BlockVector () = default;
+      ~BlockVector () override = default;
 
       /**
        * Copy operator: fill all components of the vector that are locally
index e61328eff0dd3145ab141a78a4b93ea78c873849..cc1f220134b7751308b91444c1ba04d91cc7e966 100644 (file)
@@ -151,7 +151,7 @@ namespace PETScWrappers
       /**
        * Destructor to free the PETSc object.
        */
-      ~SparseMatrix ();
+      ~SparseMatrix () override;
 
       /**
        * Create a sparse matrix of dimensions @p m times @p n, with an initial
@@ -352,7 +352,7 @@ namespace PETScWrappers
        * Return a reference to the MPI communicator object in use with this
        * matrix.
        */
-      virtual const MPI_Comm &get_mpi_communicator () const;
+      virtual const MPI_Comm &get_mpi_communicator () const override;
 
       /**
        * @addtogroup Exceptions
index f49610937feafe68e8579266b9449fefac8669dd..73f5149780a40fd5eee3d8d4aeebf4a4fa80c684 100644 (file)
@@ -267,7 +267,7 @@ namespace PETScWrappers
        * Release all memory and return to a state just like after having
        * called the default constructor.
        */
-      void clear ();
+      virtual void clear () override;
 
       /**
        * Copy the given vector. Resize the present vector if necessary. Also
@@ -353,7 +353,7 @@ namespace PETScWrappers
        * Return a reference to the MPI communicator object in use with this
        * vector.
        */
-      const MPI_Comm &get_mpi_communicator () const;
+      const MPI_Comm &get_mpi_communicator () const override;
 
       /**
        * Print to a stream. @p precision denotes the desired precision with
index 98d2117c63475a391b515791c29372a20433e282..3f04f11ff4d307d7195ee05c1e37984e43ed8825 100644 (file)
@@ -310,7 +310,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -361,7 +361,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -411,7 +411,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -461,7 +461,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -528,7 +528,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -579,7 +579,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
   /**
@@ -628,7 +628,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -678,7 +678,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -734,7 +734,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -784,7 +784,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -835,7 +835,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
 
@@ -890,7 +890,7 @@ namespace PETScWrappers
      * Function that takes a Krylov Subspace Solver context object, and sets
      * the type of solver that is appropriate for this class.
      */
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
   };
 
   /**
@@ -952,7 +952,7 @@ namespace PETScWrappers
      */
     const AdditionalData additional_data;
 
-    virtual void set_solver_type (KSP &ksp) const;
+    virtual void set_solver_type (KSP &ksp) const override;
 
   private:
     /**
index 8ccde62113921332f812c724183356859aaa8eff..cad1efb0ea282fb0cb7c079671849dba96d85208 100644 (file)
@@ -197,7 +197,7 @@ namespace PETScWrappers
      * matrix. Since this is a sequential matrix, it returns the MPI_COMM_SELF
      * communicator.
      */
-    virtual const MPI_Comm &get_mpi_communicator () const;
+    virtual const MPI_Comm &get_mpi_communicator () const override;
 
     /**
      * Return the number of rows of this matrix.
index e5026cfea5c5a8979b9f66f58d0c24f03fe0f432..c325fe1c5b7eeee6a21b18f3fcb58385b8abcea2 100644 (file)
@@ -266,7 +266,7 @@ namespace PETScWrappers
     /**
      * Destructor
      */
-    virtual ~VectorBase ();
+    virtual ~VectorBase () override;
 
     /**
      * Release all memory and return to a state just like after having called
index 2e0d93c085a70316a72d2d87d5bccdd79e49dcc6..94236609918f3a27c9484d7132d72359ffa23267 100644 (file)
@@ -68,7 +68,7 @@ public:
    * of any derived class is called whenever a pointer-to-base-class object is
    * destroyed.
    */
-  virtual ~PointerMatrixBase () = default;
+  virtual ~PointerMatrixBase () override = default;
 
   /**
    * Reset the object to its original state.
@@ -153,7 +153,7 @@ public:
                 const char *name);
 
   // Use doc from base class
-  virtual void clear();
+  virtual void clear() override;
 
   /**
    * Return whether the object is empty.
@@ -171,25 +171,25 @@ public:
    * Matrix-vector product.
    */
   virtual void vmult (VectorType       &dst,
-                      const VectorType &src) const;
+                      const VectorType &src) const override;
 
   /**
    * Transposed matrix-vector product.
    */
   virtual void Tvmult (VectorType       &dst,
-                       const VectorType &src) const;
+                       const VectorType &src) const override;
 
   /**
    * Matrix-vector product, adding to <tt>dst</tt>.
    */
   virtual void vmult_add (VectorType       &dst,
-                          const VectorType &src) const;
+                          const VectorType &src) const override;
 
   /**
    * Transposed matrix-vector product, adding to <tt>dst</tt>.
    */
   virtual void Tvmult_add (VectorType       &dst,
-                           const VectorType &src) const;
+                           const VectorType &src) const override;
 
 private:
   /**
@@ -260,7 +260,7 @@ public:
                    const char               *name);
 
   // Use doc from base class
-  virtual void clear();
+  virtual void clear() override;
 
   /**
    * Return whether the object is empty.
@@ -283,25 +283,25 @@ public:
    * Matrix-vector product.
    */
   virtual void vmult (VectorType       &dst,
-                      const VectorType &src) const;
+                      const VectorType &src) const override;
 
   /**
    * Transposed matrix-vector product.
    */
   virtual void Tvmult (VectorType       &dst,
-                       const VectorType &src) const;
+                       const VectorType &src) const override;
 
   /**
    * Matrix-vector product, adding to <tt>dst</tt>.
    */
   virtual void vmult_add (VectorType       &dst,
-                          const VectorType &src) const;
+                          const VectorType &src) const override;
 
   /**
    * Transposed matrix-vector product, adding to <tt>dst</tt>.
    */
   virtual void Tvmult_add (VectorType       &dst,
-                           const VectorType &src) const;
+                           const VectorType &src) const override;
 
 private:
   /**
index ddbccade5e2685a82e6b1a30d2ce99b7e8f0d829..0dc5afbc6f11a5f48ae103d27329947a3cfc8e43 100644 (file)
@@ -1803,11 +1803,11 @@ namespace internal
                           internal::VectorImplementation::minimum_parallel_grain_size);
       }
 
-      ~VectorUpdatesRange() = default;
+      ~VectorUpdatesRange() override = default;
 
       virtual void
       apply_to_subrange (const std::size_t begin,
-                         const std::size_t end) const
+                         const std::size_t end) const override
       {
         updater.apply_to_subrange(begin, end);
       }
index 3b9ba5dc1fafe5296b7aec38214b331b379b4498..6612d4af4afb5b22ada8e2f896cfa06e80cb4376 100644 (file)
@@ -155,7 +155,7 @@ public:
   /**
    * Destructor.
    */
-  ~PreconditionBlock() = default;
+  ~PreconditionBlock() override = default;
 
   /**
    * Initialize matrix and block size.  We store the matrix and the block size
index cf030d18b1b603103cbb783e62e526396ef2d46d..2e6010d8a9f1b2cfdc8b5ac1e923ba147478352e 100644 (file)
@@ -110,7 +110,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~PreconditionSelector();
+  virtual ~PreconditionSelector() override;
 
   /**
    * Takes the matrix that is needed for preconditionings that involves a
index af55656fa6132ba5af6434dd7d8e83c487f24d08..f17cf5b12401c00af16cdd612978f982e24ce2c1 100644 (file)
@@ -168,7 +168,7 @@ namespace LinearAlgebra
     /**
      * Destructor.
      */
-    ~ReadWriteVector () = default;
+    ~ReadWriteVector () override = default;
 
     /**
      * Set the global size of the vector to @p size. The stored elements have
index c3303ab700f0cfb206be615c45e935575bbc5970..f84fb13ef9ace052e1455f76c4734f05d594f558 100644 (file)
@@ -134,7 +134,7 @@ public:
   /**
    * Destructor
    */
-  ~ScaLAPACKMatrix() = default;
+  ~ScaLAPACKMatrix() override = default;
 
   /**
    * Initialize the rectangular matrix with @p n_rows and @p n_cols
index 47587c144d6e3595978c315c342008da1cd7d929..6ac358603de179064905fbdca5e3fff03f312d14 100644 (file)
@@ -173,7 +173,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~SolverBicgstab ();
+  virtual ~SolverBicgstab () override;
 
   /**
    * Solve primal problem only.
index 9318490b26dccb6c2c2614314180f0ed55578ecb..8e121328f37fe4c79688f304e7cd85c43b552c28 100644 (file)
@@ -122,7 +122,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~SolverCG () = default;
+  virtual ~SolverCG () override = default;
 
   /**
    * Solve the linear system $Ax=b$ for x.
index 32c6e650848cbe149ab60cb006a8445ef5ccbc78..47f7202676cc533fe920084fbcc7be5ad4d6db2f 100644 (file)
@@ -99,9 +99,9 @@ public:
       : last_step (last_step), last_residual(last_residual)
     {}
 
-    virtual ~NoConvergence () noexcept = default;
+    virtual ~NoConvergence () noexcept override = default;
 
-    virtual void print_info (std::ostream &out) const
+    virtual void print_info (std::ostream &out) const override
     {
       out << "Iterative method reported convergence failure in step "
           << last_step << ". The residual in the last step was " << last_residual
@@ -155,7 +155,7 @@ public:
    * Virtual destructor is needed as there are virtual functions in this
    * class.
    */
-  virtual ~SolverControl() = default;
+  virtual ~SolverControl() override = default;
 
   /**
    * Interface to parameter file.
@@ -429,7 +429,7 @@ public:
    * Virtual destructor is needed as there are virtual functions in this
    * class.
    */
-  virtual ~ReductionControl() = default;
+  virtual ~ReductionControl() override = default;
 
   /**
    * Interface to parameter file.
@@ -447,7 +447,7 @@ public:
    * value</tt> upon the first iteration.
    */
   virtual State check (const unsigned int step,
-                       const double   check_value);
+                       const double   check_value) override;
 
   /**
    * Reduction factor.
@@ -513,7 +513,7 @@ public:
    * Virtual destructor is needed as there are virtual functions in this
    * class.
    */
-  virtual ~IterationNumberControl() = default;
+  virtual ~IterationNumberControl() override = default;
 
   /**
    * Decide about success or failure of an iteration. This function bases
@@ -521,7 +521,7 @@ public:
    * the check value reached exactly zero.
    */
   virtual State check (const unsigned int step,
-                       const double   check_value);
+                       const double   check_value) override;
 };
 
 
@@ -569,14 +569,14 @@ public:
    * Virtual destructor is needed as there are virtual functions in this
    * class.
    */
-  virtual ~ConsecutiveControl() = default;
+  virtual ~ConsecutiveControl() override = default;
 
   /**
    * Decide about success or failure of an iteration, see the class description
    * above.
    */
   virtual State check (const unsigned int step,
-                       const double   check_value);
+                       const double   check_value) override;
 
 protected:
   /**
index 8b69182c98bafc2c4bb9fbb3628b004e430529b2..1ef3ec0f8656f47f42fc1551dacc10c7a34c4b36 100644 (file)
@@ -94,7 +94,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~SolverMinRes () = default;
+  virtual ~SolverMinRes () override = default;
 
   /**
    * Solve the linear system $Ax=b$ for x.
index 23e7b7fb9c0adc540ca0882bf2137a6be62c64c1..ead247f1d2caeca945d581d08ee59f5f784a039a 100644 (file)
@@ -102,7 +102,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~SolverRichardson () = default;
+  virtual ~SolverRichardson () override = default;
 
   /**
    * Solve the linear system $Ax=b$ for x.
index 8d948109e9ffcc788a6c04e383ed632f6dfffd27..fa95b3f51990389cd78de5b4f4ae4529a1c71cb5 100644 (file)
@@ -111,7 +111,7 @@ public:
   /**
    * Destructor
    */
-  ~SolverSelector();
+  ~SolverSelector() override;
 
   /**
    * Solver procedure. Calls the @p solve function of the @p solver whose @p
index 57ca833fcbc9d8f73455278732e8b60255751c34..7838d917c242edc07f7ae2cb3ef1f8d7a7b492ca 100644 (file)
@@ -128,13 +128,13 @@ public:
    * Destruction. Mark the destructor pure to ensure that this class isn't
    * used directly, but only its derived classes.
    */
-  virtual ~SparseLUDecomposition () = 0;
+  virtual ~SparseLUDecomposition () override = 0;
 
   /**
    * Deletes all member variables. Leaves the class in the state that it had
    * directly after calling the constructor
    */
-  virtual void clear();
+  virtual void clear() override;
 
   /**
    * Parameters for SparseDecomposition.
index b616995229cde3e0dc3d25ed6ac9dc65234b89cd..c0b4eda2949a64385538c5aacdae8123f25cb83b 100644 (file)
@@ -104,7 +104,7 @@ public:
   /**
    * Destructor.
    */
-  ~SparseDirectUMFPACK ();
+  ~SparseDirectUMFPACK () override;
 
   /**
    * @name Setting up a sparse factorization
index 89b4d1a38a45cce61ffd4028bf67435370e30f5a..20a3000959f6b299ccbf20765a229565ca95beb8 100644 (file)
@@ -128,7 +128,7 @@ public:
    * Determine an estimate for the memory consumption (in bytes) of this
    * object.
    */
-  std::size_t memory_consumption () const;
+  std::size_t memory_consumption () const override;
 
   /**
    * @addtogroup Exceptions
index c24101248bfc22ebe8be77a2feff95e7d347a5fd..e28ba1a9b264c8c5bc69e713c1b5a91c6821c9ce 100644 (file)
@@ -589,7 +589,7 @@ public:
    * Destructor. Free all memory, but do not release the memory of the
    * sparsity structure.
    */
-  virtual ~SparseMatrix ();
+  virtual ~SparseMatrix () override;
 
   /**
    * Copy operator. Since copying entire sparse matrices is a very expensive
index 6a88fec2cdb3390a28a0b900b72f2951781356be..de816541286432e6a16b0a043f6f1ca0b63d1826 100644 (file)
@@ -323,7 +323,7 @@ public:
   /**
    * Destructor. Free all memory.
    */
-  ~SparseMatrixEZ () = default;
+  ~SparseMatrixEZ () override = default;
 
   /**
    * Pseudo operator only copying empty objects.
index dad565aed31867087feec2166d04131b5d902654..255019ce48986b7fd375cbd116194f2bb66acf3d 100644 (file)
@@ -61,13 +61,13 @@ public:
   /**
    * Destructor.
    */
-  virtual ~SparseMIC();
+  virtual ~SparseMIC() override;
 
   /**
    * Deletes all member variables. Leaves the class in the state that it had
    * directly after calling the constructor
    */
-  virtual void clear();
+  virtual void clear() override;
 
   /**
    * Make the @p AdditionalData type in the base class accessible to this
@@ -125,7 +125,7 @@ public:
    * Determine an estimate for the memory consumption (in bytes) of this
    * object.
    */
-  std::size_t memory_consumption () const;
+  std::size_t memory_consumption () const override;
 
   /**
    * @addtogroup Exceptions
index b545a488fbd07253d4446ff5691df19edc6d281e..4d8c4f1b96cb11b659e1288c18c09250a1da4758 100644 (file)
@@ -486,7 +486,7 @@ public:
   /**
    * Destructor.
    */
-  ~SparsityPattern () = default;
+  ~SparsityPattern () override = default;
 
   /**
    * Copy operator. For this the same holds as for the copy constructor: it is
index 891253e585bb7daf982914b7da1097a40b2403a6..1e8cb36fd2e0c9562611615aced3e2e40c381a6f 100644 (file)
@@ -76,7 +76,7 @@ public:
    * Destructor. If this class still owns a file to which temporary data was
    * stored, then it is deleted.
    */
-  virtual ~SwappableVector ();
+  virtual ~SwappableVector () override;
 
   /**
    * Copy operator. Do mostly the same as the copy constructor does; if
index 0d43fa17c70ea68ec9d791314634d55f118461b3..7817dacec40d99d48d4fa1b1f139c0de3963e5ea 100644 (file)
@@ -109,7 +109,7 @@ namespace TrilinosWrappers
     /**
      * Destructor.
      */
-    ~BlockSparseMatrix ();
+    ~BlockSparseMatrix () override;
 
     /**
      * Pseudo copy operator only copying empty objects. The sizes of the block
index 83da16386a28f07c4b8675d62639bacfe5029665..337b5e879836f19637f9d17ef69dc91e7e2eafbc 100644 (file)
@@ -55,14 +55,14 @@ namespace LinearAlgebra
       /**
        * Reinitialize the object.
        */
-      void reinit(const IndexSet &vector_space_vector_index_set,
-                  const IndexSet &read_write_vector_index_set,
-                  const MPI_Comm &communicator);
+      virtual void reinit(const IndexSet &vector_space_vector_index_set,
+                          const IndexSet &read_write_vector_index_set,
+                          const MPI_Comm &communicator) override;
 
       /**
        * Return the underlying MPI communicator.
        */
-      const MPI_Comm &get_mpi_communicator() const;
+      virtual const MPI_Comm &get_mpi_communicator() const override;
 
       /**
        * Return the underlying Epetra_Import object.
index 3d57bc8509b9595ed1dbd7b311968d476e9318d3..45ad31ae2e49064e14c37a3b7904f54cc2868020 100644 (file)
@@ -138,7 +138,7 @@ namespace TrilinosWrappers
       /**
        * Destructor. Clears memory
        */
-      ~BlockVector () = default;
+      ~BlockVector () override = default;
 
       /**
        * Copy operator: fill all components of the vector that are locally
index 32845199f07514d3561ebafe352ee31f37a0f451..1c3a1e4a4d0ac82b47005c86827e9571b3bee527 100644 (file)
@@ -104,7 +104,7 @@ namespace TrilinosWrappers
     /**
      * Destructor.
      */
-    ~PreconditionBase () = default;
+    ~PreconditionBase () override = default;
 
     /**
      * Destroys the preconditioner, leaving an object like just after having
@@ -1505,7 +1505,7 @@ namespace TrilinosWrappers
     /**
      * Destructor.
      */
-    ~PreconditionAMG();
+    ~PreconditionAMG() override;
 
 
     /**
@@ -1770,7 +1770,7 @@ namespace TrilinosWrappers
     /**
      * Destructor.
      */
-    ~PreconditionAMGMueLu();
+    ~PreconditionAMGMueLu() override;
 
     /**
      * Let Trilinos compute a multilevel hierarchy for the solution of a
@@ -1876,34 +1876,34 @@ namespace TrilinosWrappers
      * Apply the preconditioner, i.e., dst = src.
      */
     void vmult (MPI::Vector       &dst,
-                const MPI::Vector &src) const;
+                const MPI::Vector &src) const override;
 
     /**
      * Apply the transport conditioner, i.e., dst = src.
      */
     void Tvmult (MPI::Vector       &dst,
-                 const MPI::Vector &src) const;
+                 const MPI::Vector &src) const override;
 
     /**
      * Apply the preconditioner on deal.II data structures instead of the ones
      * provided in the Trilinos wrapper class, i.e., dst = src.
      */
     void vmult (dealii::Vector<double>       &dst,
-                const dealii::Vector<double> &src) const;
+                const dealii::Vector<double> &src) const override;
 
     /**
      * Apply the transpose preconditioner on deal.II data structures instead
      * of the ones provided in the Trilinos wrapper class, i.e. dst = src.
      */
     void Tvmult (dealii::Vector<double>       &dst,
-                 const dealii::Vector<double> &src) const;
+                 const dealii::Vector<double> &src) const override;
 
     /**
      * Apply the preconditioner on deal.II parallel data structures instead of
      * the ones provided in the Trilinos wrapper class, i.e., dst = src.
      */
     void vmult (LinearAlgebra::distributed::Vector<double>       &dst,
-                const dealii::LinearAlgebra::distributed::Vector<double> &src) const;
+                const dealii::LinearAlgebra::distributed::Vector<double> &src) const override;
 
     /**
      * Apply the transpose preconditioner on deal.II parallel data structures
@@ -1911,7 +1911,7 @@ namespace TrilinosWrappers
      * src.
      */
     void Tvmult (LinearAlgebra::distributed::Vector<double>       &dst,
-                 const dealii::LinearAlgebra::distributed::Vector<double> &src) const;
+                 const dealii::LinearAlgebra::distributed::Vector<double> &src) const override;
   };
 
 
index be66f900eb83722da1f8dd647ea0c31199b2a4a1..bf6ec98f9fce98f0c84eec896a064967f9949dfc 100644 (file)
@@ -583,7 +583,7 @@ namespace TrilinosWrappers
     /**
      * Destructor. Made virtual so that one can use pointers to this class.
      */
-    virtual ~SparseMatrix () = default;
+    virtual ~SparseMatrix () override = default;
 
     /**
      * This function initializes the Trilinos matrix with a deal.II sparsity
@@ -2206,7 +2206,7 @@ namespace TrilinosWrappers
         /**
          * Destructor
          */
-        virtual ~TrilinosPayload() = default;
+        virtual ~TrilinosPayload() override = default;
 
         /**
          * Return a payload configured for identity operations
@@ -2357,7 +2357,7 @@ namespace TrilinosWrappers
          * Epetra_Operator.
          */
         virtual bool
-        UseTranspose () const;
+        UseTranspose () const override;
 
         /**
          * Sets an internal flag so that all operations performed by the matrix,
@@ -2375,7 +2375,7 @@ namespace TrilinosWrappers
          * operations that may occur on different threads simultaneously.
          */
         virtual int
-        SetUseTranspose (bool UseTranspose);
+        SetUseTranspose (bool UseTranspose) override;
 
         /**
          * Apply the vmult operation on a vector @p X (of internally defined
@@ -2390,7 +2390,7 @@ namespace TrilinosWrappers
          */
         virtual int
         Apply(const VectorType &X,
-              VectorType       &Y) const;
+              VectorType       &Y) const override;
 
         /**
          * Apply the vmult inverse operation on a vector @p X (of internally
@@ -2411,7 +2411,7 @@ namespace TrilinosWrappers
          */
         virtual int
         ApplyInverse(const VectorType &Y,
-                     VectorType       &X) const;
+                     VectorType       &X) const override;
 //@}
 
         /**
@@ -2426,7 +2426,7 @@ namespace TrilinosWrappers
          * Epetra_Operator.
          */
         virtual const char *
-        Label () const;
+        Label () const override;
 
         /**
          * Return a reference to the underlying MPI communicator for
@@ -2436,7 +2436,7 @@ namespace TrilinosWrappers
          * Epetra_Operator.
          */
         virtual const Epetra_Comm &
-        Comm () const;
+        Comm () const override;
 
         /**
          * Return the partitioning of the domain space of this matrix, i.e., the
@@ -2446,7 +2446,7 @@ namespace TrilinosWrappers
          * Epetra_Operator.
          */
         virtual const Epetra_Map &
-        OperatorDomainMap () const;
+        OperatorDomainMap () const override;
 
         /**
          * Return the partitioning of the range space of this matrix, i.e., the
@@ -2457,7 +2457,7 @@ namespace TrilinosWrappers
          * Epetra_Operator.
          */
         virtual const Epetra_Map &
-        OperatorRangeMap () const;
+        OperatorRangeMap () const override;
 //@}
 
       private:
@@ -2499,7 +2499,7 @@ namespace TrilinosWrappers
          * Epetra_Operator.
          */
         virtual bool
-        HasNormInf () const;
+        HasNormInf () const override;
 
         /**
          * Return the infinity norm of this operator.
@@ -2509,7 +2509,7 @@ namespace TrilinosWrappers
          * Epetra_Operator.
          */
         virtual double
-        NormInf () const;
+        NormInf () const override;
       };
 
       /**
index a2de29cf498dca6732cbcdb5760528e1f9b74401..c8d287349919f75b7a4f1dcfb14d7b2bf4610029 100644 (file)
@@ -329,7 +329,7 @@ namespace TrilinosWrappers
     /**
      * Destructor. Made virtual so that one can use pointers to this class.
      */
-    virtual ~SparsityPattern () = default;
+    virtual ~SparsityPattern () override = default;
 
     /**
      * Initialize a sparsity pattern that is completely stored locally, having
index 00bb298a7fa8af43aebe0bca4f6ae5e4bff84b0c..0fb9eaaca320f8a6066a4f4fdcf2f66c8d6e6fb0 100644 (file)
@@ -506,7 +506,7 @@ namespace TrilinosWrappers
       /**
        * Destructor.
        */
-      ~Vector () = default;
+      ~Vector () override = default;
 
       /**
        * Release all memory and return to a state just like after having called
index 7ead70f3e21acb81188a5ae0716c61ffe59bfe23..f05a1085befcf7dfee578eaf9cb0f95607fad63b 100644 (file)
@@ -225,7 +225,7 @@ public:
    * Destructor, deallocates memory. Made virtual to allow for derived classes
    * to behave properly.
    */
-  virtual ~Vector () = default;
+  virtual ~Vector () override = default;
 
   /**
    * This function does nothing but exists for compatibility with the parallel
index d3bb3073098db87ef8187136d1b83ec2ff28fb91..70971f5747a8c4589fca53dd83c948e9c2480dcf 100644 (file)
@@ -110,7 +110,7 @@ public:
    * destroying objects of derived type through pointers to this base
    * class.
    */
-  virtual ~VectorMemory () = default;
+  virtual ~VectorMemory () override = default;
 
   /**
    * Return a pointer to a new vector. The number of elements or their
@@ -256,7 +256,7 @@ public:
    *   same kind of service that <code>std::unique</code> provides
    *   for arbitrary memory allocated on the heap.
    */
-  virtual VectorType *alloc ();
+  virtual VectorType *alloc () override;
 
   /**
    * Return a vector and indicate that it is not going to be used any further
@@ -275,7 +275,7 @@ public:
    *   same kind of service that <code>std::unique</code> provides
    *   for arbitrary memory allocated on the heap.
    */
-  virtual void free (const VectorType *const v);
+  virtual void free (const VectorType *const v) override;
 };
 
 
@@ -329,7 +329,7 @@ public:
    * However, as discussed in the class documentation, this does not imply
    * that their memory is returned to the operating system.
    */
-  virtual ~GrowingVectorMemory();
+  virtual ~GrowingVectorMemory() override;
 
   /**
    * Return a pointer to a new vector. The number of elements or their
@@ -349,7 +349,7 @@ public:
    *   same kind of service that <code>std::unique</code> provides
    *   for arbitrary memory allocated on the heap.
    */
-  virtual VectorType *alloc ();
+  virtual VectorType *alloc () override;
 
   /**
    * Return a vector and indicate that it is not going to be used any further
@@ -368,7 +368,7 @@ public:
    *   same kind of service that <code>std::unique</code> provides
    *   for arbitrary memory allocated on the heap.
    */
-  virtual void free (const VectorType *const);
+  virtual void free (const VectorType *const) override;
 
   /**
    * Release all vectors that are not currently in use.
index 2c14cbc6df4d382affac7fd350f2ccd7f1350a1e..a26d115f8bfc40d0cb72437d784480cd5bec619e 100644 (file)
@@ -162,7 +162,7 @@ public:
    * This destructor will only reset the internal sizes and the internal
    * pointers, but it will NOT clear the memory.
    */
-  ~VectorView();
+  ~VectorView() override;
 
   /**
    * The reinit function of this object has a behavior which is different from
@@ -205,7 +205,7 @@ public:
    * call this reinit function if you really know what you are doing.
    */
   virtual void reinit (const size_type N,
-                       const bool         omit_zeroing_entries=false);
+                       const bool         omit_zeroing_entries=false) override;
 
   /**
    * This reinit function is equivalent to constructing a new object with the
@@ -224,7 +224,7 @@ public:
    * This function is here to prevent memory corruption. It should never be
    * called, and will throw an exception if you try to do so.
    */
-  virtual void swap (Vector<Number> &v);
+  virtual void swap (Vector<Number> &v) override;
 };
 
 
index ef2d78fbc72d2e1ba15ac3a741b3f6824fdd8246..fd7f21babb368e7c840d324ecbb52de06da49b8a 100644 (file)
@@ -454,7 +454,7 @@ public:
   /**
    * Destructor.
    */
-  ~MatrixFree() = default;
+  ~MatrixFree() override = default;
 
   /**
    * Extracts the information needed to perform loops over cells. The
index d5aabda170926858fac607245fc1422322bc9878..26816548d8eb13347fcf85d1d8f9842fd6bdb8a5 100644 (file)
@@ -203,7 +203,7 @@ namespace MatrixFreeOperators
     /**
      * Virtual destructor.
      */
-    virtual ~Base() = default;
+    virtual ~Base() override = default;
 
     /**
      * Release all memory and return to a state just like after having called
@@ -660,7 +660,7 @@ namespace MatrixFreeOperators
     /**
      * For preconditioning, we store a lumped mass matrix at the diagonal entries.
      */
-    virtual void compute_diagonal ();
+    virtual void compute_diagonal () override;
 
   private:
     /**
@@ -669,7 +669,7 @@ namespace MatrixFreeOperators
      * using initialize_dof_vector().
      */
     virtual void apply_add (VectorType       &dst,
-                            const VectorType &src) const;
+                            const VectorType &src) const override;
 
     /**
      * For this operator, there is just a cell contribution.
index 2bb3dd2f1c4b8727815d03c43752f41ea0a79b1f..0c574b797c9e77df90245d8322dd9fe9e329db4c 100644 (file)
@@ -66,7 +66,7 @@ namespace MeshWorker
     /**
      * The empty virtual destructor.
      */
-    virtual ~LocalIntegrator() = default;
+    virtual ~LocalIntegrator() override = default;
 
     /**
      * Virtual function for integrating on cells. Throws exception
index f7e752eee76ab688205ba6f2f9ea08f717cdb1cd..51fe925114aed3cee0028c0d5091f6e777767c2a 100644 (file)
@@ -199,7 +199,7 @@ namespace MeshWorker
     /**
      * Virtual, but empty destructor.
      */
-    virtual ~VectorDataBase() = default;
+    virtual ~VectorDataBase() override = default;
 
     /**
      * The only function added to VectorSelector is an abstract virtual
@@ -319,7 +319,7 @@ namespace MeshWorker
       const unsigned int component,
       const unsigned int n_comp,
       const unsigned int start,
-      const unsigned int size) const;
+      const unsigned int size) const override;
 
     virtual void mg_fill(
       std::vector<std::vector<std::vector<typename VectorType::value_type> > > &values,
@@ -331,7 +331,7 @@ namespace MeshWorker
       const unsigned int component,
       const unsigned int n_comp,
       const unsigned int start,
-      const unsigned int size) const;
+      const unsigned int size) const override;
 
     /**
      * The memory used by this object.
index 182177d1c3bcf81829d04c49dfaa40fafa1339d1..02b740dd0bc79d8a6c59c6a4da6d5d8087bd76c0 100644 (file)
@@ -50,7 +50,7 @@ public:
   /*
    * Virtual destructor.
    */
-  virtual ~MGMatrixBase() = default;
+  virtual ~MGMatrixBase() override = default;
 
   /**
    * Matrix-vector-multiplication on a certain level.
@@ -106,7 +106,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~MGCoarseGridBase () = default;
+  virtual ~MGCoarseGridBase () override = default;
 
   /**
    * Solution operator.
@@ -171,7 +171,7 @@ public:
   /**
    * Destructor. Does nothing here, but needs to be declared virtual anyway.
    */
-  virtual ~MGTransferBase() = default;
+  virtual ~MGTransferBase() override = default;
 
   /**
    * Prolongate a vector from level <tt>to_level-1</tt> to level
@@ -237,7 +237,7 @@ public:
   /**
    * Virtual destructor.
    */
-  virtual ~MGSmootherBase() = default;
+  virtual ~MGSmootherBase() override = default;
 
   /**
    * Release matrices.
index 3945059c6535a54f161c1e5cb1c685ada1b25c21..d1b33715984e5cc9907032289091bae5329d6a74 100644 (file)
@@ -63,7 +63,7 @@ public:
    */
   void operator() (const unsigned int level,
                    VectorType         &dst,
-                   const VectorType   &src) const;
+                   const VectorType   &src) const override;
 
 private:
   /**
@@ -202,7 +202,7 @@ public:
    */
   virtual void operator() (const unsigned int level,
                            VectorType         &dst,
-                           const VectorType   &src) const;
+                           const VectorType   &src) const override;
 
 private:
   /**
@@ -260,7 +260,7 @@ public:
 
   void operator() (const unsigned int level,
                    VectorType         &dst,
-                   const VectorType   &src) const;
+                   const VectorType   &src) const override;
 
 private:
   /**
index 84e10ea0e8dc0fdf567c8f5789da1d879e3d83b2..1abb13ad9a24c54291d29d74e1f4d6982cb7b978 100644 (file)
@@ -74,12 +74,12 @@ namespace mg
      */
     const LinearOperator<VectorType> &operator[] (unsigned int level) const;
 
-    virtual void vmult (const unsigned int level, VectorType &dst, const VectorType &src) const;
-    virtual void vmult_add (const unsigned int level, VectorType &dst, const VectorType &src) const;
-    virtual void Tvmult (const unsigned int level, VectorType &dst, const VectorType &src) const;
-    virtual void Tvmult_add (const unsigned int level, VectorType &dst, const VectorType &src) const;
-    virtual unsigned int get_minlevel() const;
-    virtual unsigned int get_maxlevel() const;
+    virtual void vmult (const unsigned int level, VectorType &dst, const VectorType &src) const override;
+    virtual void vmult_add (const unsigned int level, VectorType &dst, const VectorType &src) const override;
+    virtual void Tvmult (const unsigned int level, VectorType &dst, const VectorType &src) const override;
+    virtual void Tvmult_add (const unsigned int level, VectorType &dst, const VectorType &src) const override;
+    virtual unsigned int get_minlevel() const override;
+    virtual unsigned int get_maxlevel() const override;
 
     /**
      * Memory used by this object.
index ead0facce4a7623873ad6176c27612e235a4c879..5d84279946c24f01d30a4ecae1b834fe123a3919 100644 (file)
@@ -216,14 +216,14 @@ namespace mg
     /**
      * Empty all vectors.
      */
-    void clear ();
+    void clear () override;
 
     /**
      * The actual smoothing method.
      */
     virtual void smooth (const unsigned int level,
                          VectorType         &u,
-                         const VectorType   &rhs) const;
+                         const VectorType   &rhs) const override;
 
     /**
      * The apply variant of smoothing, setting the vector u to zero before
@@ -242,7 +242,7 @@ namespace mg
      */
     virtual void apply (const unsigned int level,
                         VectorType         &u,
-                        const VectorType   &rhs) const;
+                        const VectorType   &rhs) const override;
 
     /**
      * Memory used by this object.
@@ -504,14 +504,14 @@ public:
   /**
    * Empty all vectors.
    */
-  void clear ();
+  void clear () override;
 
   /**
    * The actual smoothing method.
    */
   virtual void smooth (const unsigned int level,
                        VectorType         &u,
-                       const VectorType   &rhs) const;
+                       const VectorType   &rhs) const override;
 
   /**
    * The apply variant of smoothing, setting the vector u to zero before
@@ -530,7 +530,7 @@ public:
    */
   virtual void apply (const unsigned int level,
                       VectorType         &u,
-                      const VectorType   &rhs) const;
+                      const VectorType   &rhs) const override;
 
   /**
    * Object containing relaxation methods.
index 5503dbe70866a1fd248776e82f1030e6fc1b5dcd..6113bc1bbc6fb39723a1409575a7dd64375081f3 100644 (file)
@@ -554,7 +554,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~MGTransferPrebuilt () = default;
+  virtual ~MGTransferPrebuilt () override = default;
 
   /**
    * Initialize the constraints to be used in build_matrices().
@@ -594,7 +594,7 @@ public:
    */
   virtual void prolongate (const unsigned int to_level,
                            VectorType         &dst,
-                           const VectorType   &src) const;
+                           const VectorType   &src) const override;
 
   /**
    * Restrict a vector from level <tt>from_level</tt> to level
@@ -613,7 +613,7 @@ public:
    */
   virtual void restrict_and_add (const unsigned int from_level,
                                  VectorType         &dst,
-                                 const VectorType   &src) const;
+                                 const VectorType   &src) const override;
 
   /**
    * Finite element does not provide prolongation matrices.
index a3f05a4874c49bbb4bc334155cd2815ff72c18ee..1eb7f7556feb89831d154a4ca43bee2fc34ce45b 100644 (file)
@@ -200,7 +200,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~MGTransferBlock ();
+  virtual ~MGTransferBlock () override;
 
   /**
    * Initialize additional #factors and #memory if the restriction of the
@@ -222,11 +222,11 @@ public:
 
   virtual void prolongate (const unsigned int    to_level,
                            BlockVector<number>       &dst,
-                           const BlockVector<number> &src) const;
+                           const BlockVector<number> &src) const override;
 
   virtual void restrict_and_add (const unsigned int    from_level,
                                  BlockVector<number>       &dst,
-                                 const BlockVector<number> &src) const;
+                                 const BlockVector<number> &src) const override;
 
   /**
    * Transfer from a vector on the global grid to a multilevel vector for the
@@ -327,7 +327,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~MGTransferBlockSelect () = default;
+  virtual ~MGTransferBlockSelect () override = default;
 
   /**
    * Actually build the prolongation matrices for grouped blocks.
@@ -353,11 +353,11 @@ public:
 
   virtual void prolongate (const unsigned int    to_level,
                            Vector<number>       &dst,
-                           const Vector<number> &src) const;
+                           const Vector<number> &src) const override;
 
   virtual void restrict_and_add (const unsigned int    from_level,
                                  Vector<number>       &dst,
-                                 const Vector<number> &src) const;
+                                 const Vector<number> &src) const override;
 
   /**
    * Transfer a single block from a vector on the global grid to a multilevel
index fb4895b1ae538d39840c95dbf71df7698e0172dd..b4e54bf042b211f0dc40b4bea09991190d8f816c 100644 (file)
@@ -186,7 +186,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~MGTransferSelect () = default;
+  virtual ~MGTransferSelect () override = default;
 
 //TODO: rewrite docs; make sure defaulted args are actually allowed
   /**
@@ -235,11 +235,11 @@ public:
 
   virtual void prolongate (const unsigned int    to_level,
                            Vector<number>       &dst,
-                           const Vector<number> &src) const;
+                           const Vector<number> &src) const override;
 
   virtual void restrict_and_add (const unsigned int    from_level,
                                  Vector<number>       &dst,
-                                 const Vector<number> &src) const;
+                                 const Vector<number> &src) const override;
 
   /**
    * Transfer from a vector on the global grid to a multilevel vector for the
index 88fe784ec7435c64878a1606931580b9d6a186e7..ef5b47d7ffa4e67fc630586e56cce076ea0c8314 100644 (file)
@@ -70,7 +70,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~MGTransferMatrixFree () = default;
+  virtual ~MGTransferMatrixFree () override = default;
 
   /**
    * Initialize the constraints to be used in build().
@@ -103,7 +103,7 @@ public:
    */
   virtual void prolongate (const unsigned int                           to_level,
                            LinearAlgebra::distributed::Vector<Number>       &dst,
-                           const LinearAlgebra::distributed::Vector<Number> &src) const;
+                           const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   /**
    * Restrict a vector from level <tt>from_level</tt> to level
@@ -125,7 +125,7 @@ public:
    */
   virtual void restrict_and_add (const unsigned int from_level,
                                  LinearAlgebra::distributed::Vector<Number>       &dst,
-                                 const LinearAlgebra::distributed::Vector<Number> &src) const;
+                                 const LinearAlgebra::distributed::Vector<Number> &src) const override;
 
   /**
    * Restrict fine-mesh field @p src to each multigrid level in @p mg_dof and
@@ -289,7 +289,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~MGTransferBlockMatrixFree () = default;
+  virtual ~MGTransferBlockMatrixFree () override = default;
 
   /**
    * Initialize the constraints to be used in build().
@@ -332,7 +332,7 @@ public:
    */
   virtual void prolongate (const unsigned int                                    to_level,
                            LinearAlgebra::distributed::BlockVector<Number>       &dst,
-                           const LinearAlgebra::distributed::BlockVector<Number> &src) const;
+                           const LinearAlgebra::distributed::BlockVector<Number> &src) const override;
 
   /**
    * Restrict a vector from level <tt>from_level</tt> to level
@@ -354,7 +354,7 @@ public:
    */
   virtual void restrict_and_add (const unsigned int from_level,
                                  LinearAlgebra::distributed::BlockVector<Number>       &dst,
-                                 const LinearAlgebra::distributed::BlockVector<Number> &src) const;
+                                 const LinearAlgebra::distributed::BlockVector<Number> &src) const override;
 
   /**
    * Transfer from a block-vector on the global grid to block-vectors defined
index 8f7818d7a0f4e1ae473bb4362e0e0db00789d061..9b0bf99d28c257e37942fcef15f782c1f4134eb2 100644 (file)
@@ -590,7 +590,7 @@ public:
   /**
    * Destructor.
    */
-  virtual ~DataOut_DoFData ();
+  virtual ~DataOut_DoFData () override;
 
   /**
    * Designate a dof handler to be used to extract geometry data and the
@@ -884,14 +884,14 @@ protected:
    * they shall write to a file.
    */
   virtual
-  const std::vector<Patch> &get_patches () const;
+  const std::vector<Patch> &get_patches () const override;
 
   /**
    * Virtual function through which the names of data sets are obtained by the
    * output functions of the base class.
    */
   virtual
-  std::vector<std::string> get_dataset_names () const;
+  std::vector<std::string> get_dataset_names () const override;
 
   /**
    * Extracts the finite elements stored in the dof_data object, including a
@@ -906,7 +906,7 @@ protected:
    */
   virtual
   std::vector<std::tuple<unsigned int, unsigned int, std::string> >
-  get_vector_data_ranges () const;
+  get_vector_data_ranges () const override;
 
   /**
    * Make all template siblings friends. Needed for the merge_patches()
index 3f259adce52c5edc096bab2b6208717d9e90ac63..9fb4fdbe5dcf867f00fa24f9f37839218ffe8561 100644 (file)
@@ -470,7 +470,7 @@ namespace internal
       virtual
       double
       get_cell_data_value (const unsigned int       cell_number,
-                           const ComponentExtractor extract_component) const;
+                           const ComponentExtractor extract_component) const override;
 
       /**
        * Given a FEValuesBase object, extract the values on the present cell
@@ -481,7 +481,7 @@ namespace internal
       get_function_values
       (const FEValuesBase<DoFHandlerType::dimension,DoFHandlerType::space_dimension> &fe_patch_values,
        const ComponentExtractor                                                       extract_component,
-       std::vector<double>                                                           &patch_values) const;
+       std::vector<double>                                                           &patch_values) const override;
 
       /**
        * Given a FEValuesBase object, extract the values on the present cell
@@ -493,7 +493,7 @@ namespace internal
       get_function_values
       (const FEValuesBase<DoFHandlerType::dimension,DoFHandlerType::space_dimension> &fe_patch_values,
        const ComponentExtractor                                                       extract_component,
-       std::vector<dealii::Vector<double> >                                          &patch_values_system) const;
+       std::vector<dealii::Vector<double> >                                          &patch_values_system) const override;
 
       /**
        * Given a FEValuesBase object, extract the gradients on the present
@@ -504,7 +504,7 @@ namespace internal
       get_function_gradients
       (const FEValuesBase<DoFHandlerType::dimension,DoFHandlerType::space_dimension> &fe_patch_values,
        const ComponentExtractor                                                       extract_component,
-       std::vector<Tensor<1,DoFHandlerType::space_dimension> >                       &patch_gradients) const;
+       std::vector<Tensor<1,DoFHandlerType::space_dimension> >                       &patch_gradients) const override;
 
       /**
        * Given a FEValuesBase object, extract the gradients on the present
@@ -516,7 +516,7 @@ namespace internal
       get_function_gradients
       (const FEValuesBase<DoFHandlerType::dimension,DoFHandlerType::space_dimension> &fe_patch_values,
        const ComponentExtractor                                                       extract_component,
-       std::vector<std::vector<Tensor<1,DoFHandlerType::space_dimension> > >         &patch_gradients_system) const;
+       std::vector<std::vector<Tensor<1,DoFHandlerType::space_dimension> > >         &patch_gradients_system) const override;
 
       /**
        * Given a FEValuesBase object, extract the second derivatives on the
@@ -527,7 +527,7 @@ namespace internal
       get_function_hessians
       (const FEValuesBase<DoFHandlerType::dimension,DoFHandlerType::space_dimension> &fe_patch_values,
        const ComponentExtractor                                                       extract_component,
-       std::vector<Tensor<2,DoFHandlerType::space_dimension> >                       &patch_hessians) const;
+       std::vector<Tensor<2,DoFHandlerType::space_dimension> >                       &patch_hessians) const override;
 
       /**
        * Given a FEValuesBase object, extract the second derivatives on the
@@ -539,24 +539,24 @@ namespace internal
       get_function_hessians
       (const FEValuesBase<DoFHandlerType::dimension,DoFHandlerType::space_dimension> &fe_patch_values,
        const ComponentExtractor                                                       extract_component,
-       std::vector<std::vector< Tensor<2,DoFHandlerType::space_dimension> > >        &patch_hessians_system) const;
+       std::vector<std::vector< Tensor<2,DoFHandlerType::space_dimension> > >        &patch_hessians_system) const override;
 
       /**
        * Return whether the data represented by (a derived class of) this object
        * represents a complex-valued (as opposed to real-valued) information.
        */
-      virtual bool is_complex_valued () const;
+      virtual bool is_complex_valued () const override;
 
       /**
        * Clear all references to the vectors.
        */
-      virtual void clear ();
+      virtual void clear () override;
 
       /**
        * Determine an estimate for the memory consumption (in bytes) of this
        * object.
        */
-      virtual std::size_t memory_consumption () const;
+      virtual std::size_t memory_consumption () const override;
 
     private:
       /**
index af2fc3aa9ab28ff972ce8bfb8084e6b1cf6673f0..5666e2d93a8dee433d9f24837a325d7595699601 100644 (file)
@@ -128,7 +128,7 @@ public:
   /**
    * Destructor. Only declared to make it @p virtual.
    */
-  virtual ~DataOutStack () = default;
+  virtual ~DataOutStack () override = default;
 
   /**
    * Start the next set of data for a specific parameter value. The argument
@@ -339,14 +339,14 @@ private:
    * data in the form of Patch structures (declared in the base class
    * DataOutBase) to the actual output function.
    */
-  virtual const std::vector< dealii::DataOutBase::Patch<dim+1,dim+1> > & get_patches () const;
+  virtual const std::vector< dealii::DataOutBase::Patch<dim+1,dim+1> > & get_patches () const override;
 
 
   /**
    * Virtual function through which the names of data sets are obtained by the
    * output functions of the base class.
    */
-  virtual std::vector<std::string> get_dataset_names () const;
+  virtual std::vector<std::string> get_dataset_names () const override;
 };
 
 
index 104d6e63b173a85853f5e70c016a7f875267f11b..6e3070232e695e22eb14b80669f8c41347b8e3c9 100644 (file)
@@ -430,7 +430,7 @@ public:
    * virtual to ensure that data postprocessors can be destroyed through
    * pointers to the base class.
    */
-  virtual ~DataPostprocessor () = default;
+  virtual ~DataPostprocessor () override = default;
 
   /**
    * This is the main function which actually performs the postprocessing. The
@@ -555,7 +555,7 @@ public:
    * quantities. Given the purpose of this class, this is a vector with a
    * single entry equal to the name given to the constructor.
    */
-  virtual std::vector<std::string> get_names () const;
+  virtual std::vector<std::string> get_names () const override;
 
   /**
    * This function returns information about how the individual components of
@@ -566,14 +566,14 @@ public:
    */
   virtual
   std::vector<DataComponentInterpretation::DataComponentInterpretation>
-  get_data_component_interpretation () const;
+  get_data_component_interpretation () const override;
 
   /**
    * Return, which data has to be provided to compute the derived quantities.
    * The flags returned here are the ones passed to the constructor of this
    * class.
    */
-  virtual UpdateFlags get_needed_update_flags () const;
+  virtual UpdateFlags get_needed_update_flags () const override;
 
 private:
   /**
@@ -790,7 +790,7 @@ public:
    * quantities. Given the purpose of this class, this is a vector with dim
    * entries all equal to the name given to the constructor.
    */
-  virtual std::vector<std::string> get_names () const;
+  virtual std::vector<std::string> get_names () const override;
 
   /**
    * This function returns information about how the individual components of
@@ -801,14 +801,14 @@ public:
    */
   virtual
   std::vector<DataComponentInterpretation::DataComponentInterpretation>
-  get_data_component_interpretation () const;
+  get_data_component_interpretation () const override;
 
   /**
    * Return which data has to be provided to compute the derived quantities.
    * The flags returned here are the ones passed to the constructor of this
    * class.
    */
-  virtual UpdateFlags get_needed_update_flags () const;
+  virtual UpdateFlags get_needed_update_flags () const override;
 
 private:
   /**
@@ -1029,7 +1029,7 @@ public:
    * quantities. Given the purpose of this class, this is a vector with dim
    * entries all equal to the name given to the constructor.
    */
-  virtual std::vector<std::string> get_names () const;
+  virtual std::vector<std::string> get_names () const override;
 
   /**
    * This function returns information about how the individual components of
@@ -1040,14 +1040,14 @@ public:
    */
   virtual
   std::vector<DataComponentInterpretation::DataComponentInterpretation>
-  get_data_component_interpretation () const;
+  get_data_component_interpretation () const override;
 
   /**
    * Return which data has to be provided to compute the derived quantities.
    * The flags returned here are the ones passed to the constructor of this
    * class.
    */
-  virtual UpdateFlags get_needed_update_flags () const;
+  virtual UpdateFlags get_needed_update_flags () const override;
 
 private:
   /**
index 490c124f1638a91f1b76e49ca24e786624a64877..9e5a07e13262dbbb171b128eaa1685a54a51abde 100644 (file)
@@ -54,7 +54,7 @@ namespace Algorithms
     void initialize (const DoFHandler<dim, spacedim> &dof_handler);
 
     virtual OutputOperator<VectorType> &
-    operator << (const AnyData &vectors);
+    operator << (const AnyData &vectors) override;
 
   private:
     SmartPointer<const DoFHandler<dim, spacedim>,
index 3f625d68c1a156e60c73e37ba52141b75d02cab8..587a2b8a916733f5fddbfec05798459f3b53cb8f 100644 (file)
@@ -66,7 +66,7 @@ namespace Algorithms
     out.write (out_filename);
     out.clear ();
     return *this;
-  }
+  };
 }
 
 DEAL_II_NAMESPACE_CLOSE
index 5230e21f8792ccae9cab85182b087071b5b4da85..9103e2d4d5abf5faa67db99af08ff4ab4ca20884 100644 (file)
@@ -195,7 +195,7 @@ namespace Functions
      * information.
      */
     virtual void vector_value (const Point<dim> &p,
-                               Vector<typename VectorType::value_type>   &values) const;
+                               Vector<typename VectorType::value_type>   &values) const override;
 
     /**
      * Return the value of the function at the given point. Unless there is
@@ -215,7 +215,7 @@ namespace Functions
      * information.
      */
     virtual typename VectorType::value_type value (const Point< dim > &p,
-                                                   const unsigned int  component = 0)    const;
+                                                   const unsigned int  component = 0)    const override;
 
     /**
      * Set @p values to the point values of the specified component of the
@@ -234,7 +234,7 @@ namespace Functions
      */
     virtual void value_list (const std::vector<Point< dim > >     &points,
                              std::vector<typename VectorType::value_type > &values,
-                             const unsigned int  component = 0)    const;
+                             const unsigned int  component = 0)    const override;
 
 
     /**
@@ -253,7 +253,7 @@ namespace Functions
      * information.
      */
     virtual void vector_value_list (const std::vector<Point< dim > >     &points,
-                                    std::vector<Vector<typename VectorType::value_type> > &values) const;
+                                    std::vector<Vector<typename VectorType::value_type> > &values) const override;
 
     /**
      * Return the gradient of all components of the function at the given
@@ -272,7 +272,7 @@ namespace Functions
      */
     virtual void
     vector_gradient (const Point< dim > &p,
-                     std::vector< Tensor< 1, dim,typename VectorType::value_type > > &gradients) const;
+                     std::vector< Tensor< 1, dim,typename VectorType::value_type > > &gradients) const override;
 
     /**
      * Return the gradient of the specified component of the function at the
@@ -290,7 +290,7 @@ namespace Functions
      * information.
      */
     virtual Tensor<1,dim,typename VectorType::value_type> gradient(const Point< dim > &p,
-        const unsigned int component = 0)const;
+        const unsigned int component = 0)const override;
 
     /**
      * Return the gradient of all components of the function at all the given
@@ -308,7 +308,7 @@ namespace Functions
     virtual void
     vector_gradient_list (const std::vector< Point< dim > > &p,
                           std::vector<
-                          std::vector< Tensor< 1, dim,typename VectorType::value_type > > > &gradients) const;
+                          std::vector< Tensor< 1, dim,typename VectorType::value_type > > > &gradients) const override;
 
     /**
      * Return the gradient of the specified component of the function at all
@@ -326,7 +326,7 @@ namespace Functions
     virtual void
     gradient_list (const std::vector< Point< dim > > &p,
                    std::vector< Tensor< 1, dim,typename VectorType::value_type > > &gradients,
-                   const unsigned int component=0) const;
+                   const unsigned int component=0) const override;
 
 
     /**
@@ -342,7 +342,7 @@ namespace Functions
      */
     virtual typename VectorType::value_type
     laplacian (const Point<dim>   &p,
-               const unsigned int  component = 0) const;
+               const unsigned int  component = 0) const override;
 
     /**
      * Compute the Laplacian of all components at point <tt>p</tt> and store
@@ -358,7 +358,7 @@ namespace Functions
      */
     virtual void
     vector_laplacian (const Point<dim>   &p,
-                      Vector<typename VectorType::value_type>     &values) const;
+                      Vector<typename VectorType::value_type>     &values) const override;
 
     /**
      * Compute the Laplacian of one component at a set of points.
@@ -374,7 +374,7 @@ namespace Functions
     virtual void
     laplacian_list (const std::vector<Point<dim> > &points,
                     std::vector<typename VectorType::value_type>            &values,
-                    const unsigned int              component = 0) const;
+                    const unsigned int              component = 0) const override;
 
     /**
      * Compute the Laplacians of all components at a set of points.
@@ -389,7 +389,7 @@ namespace Functions
      */
     virtual void
     vector_laplacian_list (const std::vector<Point<dim> > &points,
-                           std::vector<Vector<typename VectorType::value_type> >   &values) const;
+                           std::vector<Vector<typename VectorType::value_type> >   &values) const override;
 
     /**
      * Given a set of points located in the domain (or, in the case of
index c52f61f72a3091129377456626240e3d4e64dc25..cef8a96c9fb2dd1ae502a5d163c82b2beb48b3f7 100644 (file)
@@ -672,7 +672,7 @@ public:
   /**
    * Destructor. At present, this does nothing.
    */
-  virtual ~TimeStepBase () = default;
+  virtual ~TimeStepBase () override = default;
 
   /**
    * Reconstruct all the data that is needed for this time level to work. This
@@ -1326,7 +1326,7 @@ public:
    * Destructor. At present, this does not more than releasing the lock on the
    * coarse grid triangulation given to the constructor.
    */
-  virtual ~TimeStepBase_Tria ();
+  virtual ~TimeStepBase_Tria () override;
 
   /**
    * Reconstruct all the data that is needed for this time level to work. This
@@ -1348,7 +1348,7 @@ public:
    * likely is the case), preferably at the beginning so that your function
    * can take effect of the triangulation already existing.
    */
-  virtual void wake_up (const unsigned int wakeup_level);
+  virtual void wake_up (const unsigned int wakeup_level) override;
 
   /**
    * This is the opposite function to @p wake_up. It is used to delete data or
@@ -1363,7 +1363,7 @@ public:
    * this function from your overloaded version, preferably at the end so that
    * your function can use the triangulation as long as you need it.
    */
-  virtual void sleep (const unsigned int);
+  virtual void sleep (const unsigned int) override;
 
   /**
    * Do the refinement according to the flags passed to the constructor of
@@ -1411,7 +1411,7 @@ public:
    * amount memory used by the derived class, and add the result of this
    * function to your result.
    */
-  virtual std::size_t memory_consumption () const;
+  virtual std::size_t memory_consumption () const override;
 
   /**
    * Exception
index 4a30326bcdc341bb2083dddaac84051d08dd8ec8..a405e2f4f12088ae3e6f8329547744d242890bf5 100644 (file)
@@ -82,7 +82,7 @@ namespace Particles
     /**
      * Destructor.
      */
-    ~ParticleHandler();
+    ~ParticleHandler() override;
 
     /**
      * Initialize the particle handler. This function does not clear the
index 45a9c1d41eb9a4009afba2ec5f88fd4c03d6448c..140405f5056108e580053e5e40c7fe6f64db2f97 100644 (file)
@@ -169,12 +169,12 @@ LogStream::operator<< (std::ostream& (*p) (std::ostream &))
       return newline_written_;
     }
   private:
-    int_type overflow(int_type ch)
+    int_type overflow(int_type ch) override
     {
       newline_written_ = true;
       return ch;
     }
-    int sync()
+    int sync() override
     {
       flushed_ = true;
       return 0;
index fb368f2d2feed29ec4e9b0e7648d6ac40c203ae5..2b2d0bfcf317506a8bf36e18c3f8f86d7d5d0ee4 100644 (file)
@@ -2364,7 +2364,7 @@ public:
    * we have to have a conversion operator.
    */
   virtual
-  operator typename Triangulation<dim,spacedim>::cell_iterator () const;
+  operator typename Triangulation<dim,spacedim>::cell_iterator () const override;
 
   /**
    * Return the number of degrees of freedom the DoF handler object has to
@@ -2372,7 +2372,7 @@ public:
    */
   virtual
   types::global_dof_index
-  n_dofs_for_dof_handler () const;
+  n_dofs_for_dof_handler () const override;
 
 #include "fe_values.decl.2.inst"
 
@@ -2383,7 +2383,7 @@ public:
   virtual
   void
   get_interpolated_dof_values (const IndexSet &in,
-                               Vector<IndexSet::value_type> &out) const;
+                               Vector<IndexSet::value_type> &out) const override;
 
 private:
   /**
@@ -2429,7 +2429,7 @@ public:
    * from and to the same time.
    */
   virtual
-  operator typename Triangulation<dim,spacedim>::cell_iterator () const;
+  operator typename Triangulation<dim,spacedim>::cell_iterator () const override;
 
   /**
    * Implement the respective function of the base class. Since this is not
@@ -2437,7 +2437,7 @@ public:
    */
   virtual
   types::global_dof_index
-  n_dofs_for_dof_handler () const;
+  n_dofs_for_dof_handler () const override;
 
 #include "fe_values.decl.2.inst"
 
@@ -2448,7 +2448,7 @@ public:
   virtual
   void
   get_interpolated_dof_values (const IndexSet &in,
-                               Vector<IndexSet::value_type> &out) const;
+                               Vector<IndexSet::value_type> &out) const override;
 
 private:
   /**
index 17ef7438f3f3ecac372e8165b85ad5134ff632c7..13c6a5c2057be15aa2d3ae21150c8bd7c3ed7e99 100644 (file)
@@ -27,5 +27,5 @@ for (VEC : VECTOR_TYPES)
     virtual
     void
     get_interpolated_dof_values (const VEC      &in,
-                                 Vector<VEC::value_type> &out) const;
+                                 Vector<VEC::value_type> &out) const override;
 }
index 688f76b3d4584896f91915f25c9394f44b910886..157863aeaf06aa89d7e353a0df6b9654404ef70a 100644 (file)
@@ -294,10 +294,10 @@ namespace TrilinosWrappers
                                   const double               &reduction,
                                   const Epetra_LinearProblem &linear_problem);
 
-        virtual ~TrilinosReductionControl() = default;
+        virtual ~TrilinosReductionControl() override = default;
 
         virtual bool
-        ResidualVectorRequired () const
+        ResidualVectorRequired () const override
         {
           return status_test_collection->ResidualVectorRequired();
         }
@@ -306,7 +306,7 @@ namespace TrilinosWrappers
         CheckStatus (int                 CurrentIter,
                      Epetra_MultiVector *CurrentResVector,
                      double              CurrentResNormEst,
-                     bool                SolutionUpdated)
+                     bool                SolutionUpdated) override
         {
           // Note: CurrentResNormEst is set to -1.0 if no estimate of the
           // residual value is available
@@ -324,14 +324,14 @@ namespace TrilinosWrappers
         }
 
         virtual AztecOO_StatusType
-        GetStatus () const
+        GetStatus () const override
         {
           return status_test_collection->GetStatus();
         }
 
         virtual std::ostream &
         Print (std::ostream &stream,
-               int           indent = 0) const
+               int           indent = 0) const override
         {
           return status_test_collection->Print(stream,indent);
         }
index 478e95025448f800d410a0bfb55ed1fecf6bdf94..1abe3874a68ad7fb82e9dd14220380572ad8274d 100644 (file)
@@ -110,7 +110,7 @@ namespace internal
           is_blocked (is_blocked)
         {}
 
-        tbb::task *execute ()
+        tbb::task *execute () override
         {
           work();
 
@@ -143,7 +143,7 @@ namespace internal
           is_blocked (is_blocked_in)
         {}
 
-        tbb::task *execute ()
+        tbb::task *execute () override
         {
           tbb::empty_task *root = new( tbb::task::allocate_root() )tbb::empty_task;
           const unsigned int evens = task_info.partition_evens[partition];
@@ -267,7 +267,7 @@ namespace internal
           is_blocked (is_blocked_in)
         {}
 
-        tbb::task *execute ()
+        tbb::task *execute () override
         {
           const unsigned int n_chunks = (task_info.cell_partition_data[partition+1]-
                                          task_info.cell_partition_data[partition]+
@@ -302,7 +302,7 @@ namespace internal
         do_compress(do_compress)
       {}
 
-      tbb::task *execute ()
+      tbb::task *execute () override
       {
         if (do_compress == false)
           worker.vector_update_ghosts_finish();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.