]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Mark all overridden functions with 'override'. 132/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 11 Apr 2023 16:31:16 +0000 (10:31 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 11 Apr 2023 16:31:16 +0000 (10:31 -0600)
Distributed_LDG_Method/Functions.cc
ElastoplasticTorsion/ElastoplasticTorsion.cc
Linear_Elastic_Active_Skeletal_Muscle_Model/Linear_active_muscle_model.cc
MultipointFluxMixedFiniteElementMethods/data.h
Nonlinear_PoroViscoelasticity/nonlinear-poro-viscoelasticity.cc
Quasi_static_Finite_strain_Compressible_Elasticity/cook_membrane.cc
goal_oriented_elastoplasticity/elastoplastic.cc
time_dependent_navier_stokes/time_dependent_navier_stokes.cc
two_phase_flow/utilities.cc

index 7850be927d67d478b58812e0c2422db999c39033..b4b0218fce9cde87b83175db9f68bfab4f48cab5 100644 (file)
@@ -18,7 +18,7 @@ public:
   {}
 
   virtual double value(const Point<dim> &p,
-                       const unsigned int component = 0 ) const;
+                       const unsigned int component = 0 ) const override;
 };
 
 template <int dim>
@@ -29,7 +29,7 @@ public:
   {}
 
   virtual double value(const Point<dim> &p,
-                       const unsigned int component = 0 ) const;
+                       const unsigned int component = 0 ) const override;
 };
 
 template<int dim>
@@ -40,7 +40,7 @@ public:
   {}
 
   virtual void vector_value(const Point<dim> &p,
-                            Vector<double> &valuess) const;
+                            Vector<double> &valuess) const override;
 };
 
 template <int dim>
index f00658a2fcf1283134fba991c17ae2aa69e987ef..606ee2c3251cb22ad4b4bc3806a0b06b3ae8858c 100644 (file)
@@ -186,8 +186,8 @@ namespace nsp
   {
   public:
     Solution () : Function<dim>() {}
-    virtual double value (const Point<dim> &pto, const unsigned int component = 0) const;
-    virtual Tensor<1,dim> gradient (const Point<dim> &pto, const unsigned int component = 0) const;
+    virtual double value (const Point<dim> &pto, const unsigned int component = 0) const override;
+    virtual Tensor<1,dim> gradient (const Point<dim> &pto, const unsigned int component = 0) const override;
   };
 
   template <int dim>
@@ -237,12 +237,13 @@ namespace nsp
       std::vector< Vector< double > > &
     ) const;
 
-    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;
-    virtual UpdateFlags get_needed_update_flags () const;
+    get_data_component_interpretation () const override;
+
+    virtual UpdateFlags get_needed_update_flags () const override;
   };
 
 
@@ -385,7 +386,7 @@ namespace nsp
     BoundaryValues () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int  component = 0) const;
+                          const unsigned int  component = 0) const override;
   };
 
 
@@ -426,7 +427,7 @@ namespace nsp
   public:
     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>
index f42a63eb43c0349491c4a86c9b636ba22e4b49c8..ced8d42ff6d12bd169e0b32fa2b86390ff284601 100644 (file)
@@ -421,10 +421,10 @@ namespace LMM
     virtual ~BodyForce () {}
 
     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;
 
     const double rho;
     const double g;
@@ -483,10 +483,10 @@ namespace LMM
     virtual ~Traction () {}
 
     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;
 
     const double t;
   };
index 38d519cef244dc19aa244270bd49c74af0127eb9..2a234ee21148755c8c99b60278b1f9d73de5632d 100644 (file)
@@ -31,7 +31,7 @@ namespace MFMFE
     RightHandSide () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
   };
 
   template <int dim>
@@ -62,7 +62,7 @@ namespace MFMFE
     PressureBoundaryValues () : Function<dim>(1) {}
 
     virtual double value (const Point<dim>   &p,
-                          const unsigned int component = 0) const;
+                          const unsigned int component = 0) const override;
   };
 
   template <int dim>
@@ -90,10 +90,10 @@ namespace MFMFE
     ExactSolution () : Function<dim>(dim+1) {}
 
     virtual void vector_value (const Point<dim> &p,
-                               Vector<double> &value) const;
+                               Vector<double> &value) const override;
 
     virtual void vector_gradient (const Point<dim> &p,
-                                  std::vector<Tensor<1,dim,double>>  &grads) const;
+                                  std::vector<Tensor<1,dim,double>>  &grads) const override;
   };
 
   template <int dim>
@@ -158,7 +158,7 @@ namespace MFMFE
     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;
   };
 
   template <int dim>
index 6e21d18a6d124234b3d4cf558fbd4e1045c0c483..fbcb4fe26583ef589ae82918c60b24af2f5d514e 100644 (file)
@@ -806,7 +806,7 @@ namespace NonLinearPoroViscoElasticity
           {}\r
 \r
            double\r
-           get_viscous_dissipation() const\r
+           get_viscous_dissipation() const override\r
            {\r
                return 0.0;\r
            }\r
@@ -815,7 +815,7 @@ namespace NonLinearPoroViscoElasticity
           const double mu;\r
 \r
           SymmetricTensor<2, dim, NumberType>\r
-          get_tau_E_base(const Tensor<2,dim, NumberType> &F) const\r
+          get_tau_E_base(const Tensor<2,dim, NumberType> &F) const override\r
           {\r
              static const SymmetricTensor< 2, dim, double>\r
                 I (Physics::Elasticity::StandardTensors<dim>::I);\r
@@ -864,7 +864,7 @@ namespace NonLinearPoroViscoElasticity
           {}\r
 \r
            double\r
-           get_viscous_dissipation() const\r
+           get_viscous_dissipation() const override\r
            {\r
                return 0.0;\r
            }\r
@@ -874,7 +874,7 @@ namespace NonLinearPoroViscoElasticity
           std::vector<double> alpha;\r
 \r
           SymmetricTensor<2, dim, NumberType>\r
-          get_tau_E_base(const Tensor<2,dim, NumberType> &F) const\r
+          get_tau_E_base(const Tensor<2,dim, NumberType> &F) const override\r
           {\r
             const SymmetricTensor<2, dim, NumberType>\r
              B = symmetrize(F * transpose(F));\r
@@ -936,7 +936,7 @@ namespace NonLinearPoroViscoElasticity
             {}\r
 \r
           void\r
-          update_internal_equilibrium( const Tensor<2, dim, NumberType> &F )\r
+          update_internal_equilibrium( const Tensor<2, dim, NumberType> &F ) override\r
           {\r
               Material_Hyperelastic < dim, NumberType >::update_internal_equilibrium(F);\r
 \r
@@ -1048,13 +1048,13 @@ namespace NonLinearPoroViscoElasticity
                       this->Cinv_v_1[a][b]= Tensor<0,dim,double>(Cinv_v_1_AD[a][b]);\r
           }\r
 \r
-          void update_end_timestep()\r
+          void update_end_timestep() override\r
           {\r
               Material_Hyperelastic < dim, NumberType >::update_end_timestep();\r
               this->Cinv_v_1_converged = this->Cinv_v_1;\r
           }\r
 \r
-           double get_viscous_dissipation() const\r
+           double get_viscous_dissipation() const override\r
            {\r
                NumberType dissipation_term = get_tau_E_neq() * get_tau_E_neq(); //Double contract the two SymmetricTensor\r
                dissipation_term /= (2*viscosity_mode_1);\r
@@ -1073,7 +1073,7 @@ namespace NonLinearPoroViscoElasticity
           SymmetricTensor<2, dim, NumberType> tau_neq_1;\r
 \r
           SymmetricTensor<2, dim, NumberType>\r
-          get_tau_E_base(const Tensor<2,dim, NumberType> &F) const\r
+          get_tau_E_base(const Tensor<2,dim, NumberType> &F) const override\r
           {\r
               return ( get_tau_E_neq() + get_tau_E_eq(F) );\r
           }\r
@@ -2813,7 +2813,7 @@ namespace NonLinearPoroViscoElasticity
           virtual void\r
           evaluate_vector_field\r
                (const DataPostprocessorInputs::Vector<dim> &input_data,\r
-                std::vector<Vector<double> >               &computed_quantities) const\r
+                std::vector<Vector<double> >               &computed_quantities) const override\r
           {\r
             AssertDimension (input_data.solution_gradients.size(),\r
                              computed_quantities.size());\r
@@ -3925,7 +3925,7 @@ namespace NonLinearPoroViscoElasticity
           virtual ~VerificationEhlers1999TubeBase () {}\r
 \r
         private:\r
-          virtual void make_grid()\r
+          virtual void make_grid() override\r
           {\r
             GridGenerator::cylinder( this->triangulation,\r
                                      0.1,\r
@@ -3942,7 +3942,7 @@ namespace NonLinearPoroViscoElasticity
             this->triangulation.reset_manifold(0);\r
           }\r
 \r
-          virtual void define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices)\r
+          virtual void define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices) override\r
           {\r
             tracked_vertices[0][0] = 0.0*this->parameters.scale;\r
             tracked_vertices[0][1] = 0.0*this->parameters.scale;\r
@@ -3953,7 +3953,7 @@ namespace NonLinearPoroViscoElasticity
             tracked_vertices[1][2] = -0.5*this->parameters.scale;\r
           }\r
 \r
-          virtual void make_dirichlet_constraints(AffineConstraints<double> &constraints)\r
+          virtual void make_dirichlet_constraints(AffineConstraints<double> &constraints) override\r
           {\r
             if (this->time.get_timestep() < 2)\r
             {\r
@@ -3990,7 +3990,7 @@ namespace NonLinearPoroViscoElasticity
 \r
           virtual double\r
           get_prescribed_fluid_flow (const types::boundary_id &boundary_id,\r
-                                     const Point<dim>         &pt) const\r
+                                     const Point<dim>         &pt) const override\r
           {\r
               (void)pt;\r
               (void)boundary_id;\r
@@ -3998,20 +3998,20 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual types::boundary_id\r
-          get_reaction_boundary_id_for_output() const\r
+          get_reaction_boundary_id_for_output() const override\r
           {\r
               return 2;\r
           }\r
 \r
           virtual  std::pair<types::boundary_id,types::boundary_id>\r
-          get_drained_boundary_id_for_output() const\r
+          get_drained_boundary_id_for_output() const override\r
           {\r
               return std::make_pair(2,2);\r
           }\r
 \r
           virtual std::vector<double>\r
           get_dirichlet_load(const types::boundary_id   &boundary_id,\r
-                             const int                  &direction) const\r
+                             const int                  &direction) const override\r
           {\r
               std::vector<double> displ_incr(dim, 0.0);\r
               (void)boundary_id;\r
@@ -4038,7 +4038,7 @@ namespace NonLinearPoroViscoElasticity
             virtual Tensor<1,dim>\r
             get_neumann_traction (const types::boundary_id &boundary_id,\r
                                   const Point<dim>         &pt,\r
-                                  const Tensor<1,dim>      &N) const\r
+                                  const Tensor<1,dim>      &N) const override\r
             {\r
               if (this->parameters.load_type == "pressure")\r
               {\r
@@ -4070,7 +4070,7 @@ namespace NonLinearPoroViscoElasticity
             virtual Tensor<1,dim>\r
             get_neumann_traction (const types::boundary_id &boundary_id,\r
                                   const Point<dim>         &pt,\r
-                                  const Tensor<1,dim>      &N) const\r
+                                  const Tensor<1,dim>      &N) const override\r
             {\r
               if (this->parameters.load_type == "pressure")\r
               {\r
@@ -4106,7 +4106,7 @@ namespace NonLinearPoroViscoElasticity
 \r
         private:\r
           virtual void\r
-          make_grid()\r
+          make_grid() override\r
           {\r
              GridGenerator::hyper_rectangle(this->triangulation,\r
                                             Point<dim>(0.0, 0.0, 0.0),\r
@@ -4134,7 +4134,7 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual void\r
-          define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices)\r
+          define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices) override\r
           {\r
             tracked_vertices[0][0] = 0.0*this->parameters.scale;\r
             tracked_vertices[0][1] = 0.0*this->parameters.scale;\r
@@ -4146,7 +4146,7 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual void\r
-          make_dirichlet_constraints(AffineConstraints<double> &constraints)\r
+          make_dirichlet_constraints(AffineConstraints<double> &constraints) override\r
           {\r
             if (this->time.get_timestep() < 2)\r
             {\r
@@ -4201,7 +4201,7 @@ namespace NonLinearPoroViscoElasticity
           virtual Tensor<1,dim>\r
           get_neumann_traction (const types::boundary_id &boundary_id,\r
                                 const Point<dim>         &pt,\r
-                                const Tensor<1,dim>      &N) const\r
+                                const Tensor<1,dim>      &N) const override\r
           {\r
             if (this->parameters.load_type == "pressure")\r
             {\r
@@ -4218,7 +4218,7 @@ namespace NonLinearPoroViscoElasticity
 \r
           virtual double\r
           get_prescribed_fluid_flow (const types::boundary_id &boundary_id,\r
-                                     const Point<dim>         &pt) const\r
+                                     const Point<dim>         &pt) const override\r
           {\r
               (void)pt;\r
               (void)boundary_id;\r
@@ -4226,20 +4226,20 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual types::boundary_id\r
-          get_reaction_boundary_id_for_output() const\r
+          get_reaction_boundary_id_for_output() const override\r
           {\r
               return 100;\r
           }\r
 \r
           virtual  std::pair<types::boundary_id,types::boundary_id>\r
-          get_drained_boundary_id_for_output() const\r
+          get_drained_boundary_id_for_output() const override\r
           {\r
               return std::make_pair(101,101);\r
           }\r
 \r
           virtual std::vector<double>\r
           get_dirichlet_load(const types::boundary_id   &boundary_id,\r
-                             const int                  &direction) const\r
+                             const int                  &direction) const override\r
           {\r
               std::vector<double> displ_incr(dim, 0.0);\r
               (void)boundary_id;\r
@@ -4263,7 +4263,7 @@ namespace NonLinearPoroViscoElasticity
           virtual ~Franceschini2006Consolidation () {}\r
 \r
         private:\r
-          virtual void make_grid()\r
+          virtual void make_grid() override\r
           {\r
             const Point<dim-1> mesh_center(0.0, 0.0);\r
             const double radius = 0.5;\r
@@ -4310,7 +4310,7 @@ namespace NonLinearPoroViscoElasticity
             this->triangulation.refine_global(std::max (1U, this->parameters.global_refinement));\r
           }\r
 \r
-          virtual void define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices)\r
+          virtual void define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices) override\r
           {\r
             tracked_vertices[0][0] = 0.0*this->parameters.scale;\r
             tracked_vertices[0][1] = 0.0*this->parameters.scale;\r
@@ -4322,7 +4322,7 @@ namespace NonLinearPoroViscoElasticity
             tracked_vertices[1][2] = 0.0*this->parameters.scale;\r
           }\r
 \r
-          virtual void make_dirichlet_constraints(AffineConstraints<double> &constraints)\r
+          virtual void make_dirichlet_constraints(AffineConstraints<double> &constraints) override\r
           {\r
             if (this->time.get_timestep() < 2)\r
             {\r
@@ -4378,7 +4378,7 @@ namespace NonLinearPoroViscoElasticity
 \r
           virtual double\r
           get_prescribed_fluid_flow (const types::boundary_id &boundary_id,\r
-                                     const Point<dim>         &pt) const\r
+                                     const Point<dim>         &pt) const override\r
           {\r
               (void)pt;\r
               (void)boundary_id;\r
@@ -4386,20 +4386,20 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual types::boundary_id\r
-          get_reaction_boundary_id_for_output() const\r
+          get_reaction_boundary_id_for_output() const override\r
           {\r
               return 2;\r
           }\r
 \r
           virtual  std::pair<types::boundary_id,types::boundary_id>\r
-          get_drained_boundary_id_for_output() const\r
+          get_drained_boundary_id_for_output() const override\r
           {\r
               return std::make_pair(1,2);\r
           }\r
 \r
           virtual std::vector<double>\r
           get_dirichlet_load(const types::boundary_id   &boundary_id,\r
-                             const int                  &direction) const\r
+                             const int                  &direction) const override\r
           {\r
               std::vector<double> displ_incr(dim, 0.0);\r
               (void)boundary_id;\r
@@ -4412,7 +4412,7 @@ namespace NonLinearPoroViscoElasticity
           virtual Tensor<1,dim>\r
           get_neumann_traction (const types::boundary_id &boundary_id,\r
                                 const Point<dim>         &pt,\r
-                                const Tensor<1,dim>      &N) const\r
+                                const Tensor<1,dim>      &N) const override\r
           {\r
             if (this->parameters.load_type == "pressure")\r
             {\r
@@ -4459,7 +4459,7 @@ namespace NonLinearPoroViscoElasticity
 \r
         private:\r
           virtual void\r
-          make_grid()\r
+          make_grid() override\r
           {\r
             GridGenerator::hyper_cube(this->triangulation,\r
                                       0.0,\r
@@ -4487,7 +4487,7 @@ namespace NonLinearPoroViscoElasticity
 \r
           virtual double\r
           get_prescribed_fluid_flow (const types::boundary_id &boundary_id,\r
-                                     const Point<dim>         &pt) const\r
+                                     const Point<dim>         &pt) const override\r
           {\r
               (void)pt;\r
               (void)boundary_id;\r
@@ -4495,7 +4495,7 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual  std::pair<types::boundary_id,types::boundary_id>\r
-          get_drained_boundary_id_for_output() const\r
+          get_drained_boundary_id_for_output() const override\r
           {\r
               return std::make_pair(100,100);\r
           }\r
@@ -4515,7 +4515,7 @@ namespace NonLinearPoroViscoElasticity
 \r
         private:\r
           virtual void\r
-          define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices)\r
+          define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices) override\r
           {\r
             tracked_vertices[0][0] = 0.5*this->parameters.scale;\r
             tracked_vertices[0][1] = 0.5*this->parameters.scale;\r
@@ -4527,7 +4527,7 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual void\r
-          make_dirichlet_constraints(AffineConstraints<double> &constraints)\r
+          make_dirichlet_constraints(AffineConstraints<double> &constraints) override\r
           {\r
               if (this->time.get_timestep() < 2)\r
               {\r
@@ -4583,7 +4583,7 @@ namespace NonLinearPoroViscoElasticity
           virtual Tensor<1,dim>\r
           get_neumann_traction (const types::boundary_id &boundary_id,\r
                                 const Point<dim>         &pt,\r
-                                const Tensor<1,dim>      &N) const\r
+                                const Tensor<1,dim>      &N) const override\r
           {\r
               if (this->parameters.load_type == "pressure")\r
               {\r
@@ -4604,14 +4604,14 @@ namespace NonLinearPoroViscoElasticity
             }\r
 \r
           virtual types::boundary_id\r
-          get_reaction_boundary_id_for_output() const\r
+          get_reaction_boundary_id_for_output() const override\r
           {\r
               return 5;\r
           }\r
 \r
           virtual std::vector<double>\r
           get_dirichlet_load(const types::boundary_id   &boundary_id,\r
-                             const int                  &direction) const\r
+                             const int                  &direction) const override\r
           {\r
                 std::vector<double> displ_incr(dim,0.0);\r
 \r
@@ -4671,7 +4671,7 @@ namespace NonLinearPoroViscoElasticity
 \r
         private:\r
           virtual void\r
-          define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices)\r
+          define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices) override\r
           {\r
             tracked_vertices[0][0] = 0.5*this->parameters.scale;\r
             tracked_vertices[0][1] = 0.5*this->parameters.scale;\r
@@ -4683,7 +4683,7 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual void\r
-          make_dirichlet_constraints(AffineConstraints<double> &constraints)\r
+          make_dirichlet_constraints(AffineConstraints<double> &constraints) override\r
           {\r
               if (this->time.get_timestep() < 2)\r
               {\r
@@ -4735,7 +4735,7 @@ namespace NonLinearPoroViscoElasticity
           virtual Tensor<1,dim>\r
           get_neumann_traction (const types::boundary_id &boundary_id,\r
                                 const Point<dim>         &pt,\r
-                                const Tensor<1,dim>      &N) const\r
+                                const Tensor<1,dim>      &N) const override\r
           {\r
               if (this->parameters.load_type == "pressure")\r
               {\r
@@ -4756,14 +4756,14 @@ namespace NonLinearPoroViscoElasticity
             }\r
 \r
           virtual types::boundary_id\r
-          get_reaction_boundary_id_for_output() const\r
+          get_reaction_boundary_id_for_output() const override\r
           {\r
               return 5;\r
           }\r
 \r
           virtual std::vector<double>\r
           get_dirichlet_load(const types::boundary_id   &boundary_id,\r
-                             const int                  &direction) const\r
+                             const int                  &direction) const override\r
           {\r
                 std::vector<double> displ_incr(dim,0.0);\r
 \r
@@ -4821,7 +4821,7 @@ namespace NonLinearPoroViscoElasticity
 \r
         private:\r
           virtual void\r
-          define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices)\r
+          define_tracked_vertices(std::vector<Point<dim> > &tracked_vertices) override\r
           {\r
             tracked_vertices[0][0] = 0.75*this->parameters.scale;\r
             tracked_vertices[0][1] = 0.5*this->parameters.scale;\r
@@ -4833,7 +4833,7 @@ namespace NonLinearPoroViscoElasticity
           }\r
 \r
           virtual void\r
-          make_dirichlet_constraints(AffineConstraints<double> &constraints)\r
+          make_dirichlet_constraints(AffineConstraints<double> &constraints) override\r
           {\r
               if (this->time.get_timestep() < 2)\r
               {\r
@@ -4885,7 +4885,7 @@ namespace NonLinearPoroViscoElasticity
           virtual Tensor<1,dim>\r
           get_neumann_traction (const types::boundary_id &boundary_id,\r
                                 const Point<dim>         &pt,\r
-                                const Tensor<1,dim>      &N) const\r
+                                const Tensor<1,dim>      &N) const override\r
           {\r
               if (this->parameters.load_type == "pressure")\r
               {\r
@@ -4909,14 +4909,14 @@ namespace NonLinearPoroViscoElasticity
             }\r
 \r
           virtual types::boundary_id\r
-          get_reaction_boundary_id_for_output() const\r
+          get_reaction_boundary_id_for_output() const override\r
           {\r
               return 4;\r
           }\r
 \r
           virtual std::vector<double>\r
           get_dirichlet_load(const types::boundary_id   &boundary_id,\r
-                             const int                  &direction) const\r
+                             const int                  &direction) const override\r
           {\r
                 std::vector<double> displ_incr (dim, 0.0);\r
 \r
index 59d5a5cc268169c4e4c19a2e88020b85312fa179..bbe965dd879309172a277b8ad632842cc559b820 100644 (file)
@@ -1692,7 +1692,7 @@ namespace Cook_Membrane
     virtual void
     assemble_system_tangent_residual_one_cell(const typename DoFHandler<dim>::active_cell_iterator &cell,
                                               ScratchData_ASM &scratch,
-                                              PerTaskData_ASM &data)
+                                              PerTaskData_ASM &data) override
     {
       // Aliases for data referenced from the Solid class
       const unsigned int &n_q_points = data.solid->n_q_points;
@@ -1815,7 +1815,7 @@ namespace Cook_Membrane
     virtual void
     assemble_system_tangent_residual_one_cell(const typename DoFHandler<dim>::active_cell_iterator &cell,
                                               ScratchData_ASM &scratch,
-                                              PerTaskData_ASM &data)
+                                              PerTaskData_ASM &data) override
     {
       // Aliases for data referenced from the Solid class
       const unsigned int &n_q_points = data.solid->n_q_points;
@@ -1923,7 +1923,7 @@ namespace Cook_Membrane
     virtual void
     assemble_system_tangent_residual_one_cell(const typename DoFHandler<dim>::active_cell_iterator &cell,
                                               ScratchData_ASM &scratch,
-                                              PerTaskData_ASM &data)
+                                              PerTaskData_ASM &data) override
     {
       // Aliases for data referenced from the Solid class
       const unsigned int &n_q_points = data.solid->n_q_points;
index 5b978cc457ff4bfd36c7f9cff49edc9cd9b53fb9..eca6183078f3eb44f5de13af6b3093c62acf3ac0 100644 (file)
@@ -716,11 +716,11 @@ namespace ElastoPlastic
 
       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>
@@ -782,12 +782,12 @@ namespace ElastoPlastic
       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;
     };
 
 
@@ -868,12 +868,12 @@ namespace ElastoPlastic
       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;
@@ -937,12 +937,12 @@ namespace ElastoPlastic
 
       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 present_time,
                    end_time,
@@ -1026,12 +1026,12 @@ namespace ElastoPlastic
       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 present_time,
@@ -1120,12 +1120,12 @@ namespace ElastoPlastic
 
         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 present_time,
                      end_time,
@@ -1206,12 +1206,12 @@ namespace ElastoPlastic
         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 present_time,
@@ -1273,12 +1273,12 @@ namespace ElastoPlastic
 
       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 present_time,
                    end_time;
@@ -1345,12 +1345,12 @@ namespace ElastoPlastic
       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 present_time,
@@ -1426,12 +1426,12 @@ namespace ElastoPlastic
 
       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 present_time,
@@ -1510,12 +1510,12 @@ namespace ElastoPlastic
       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 present_time,
@@ -1596,7 +1596,7 @@ namespace ElastoPlastic
                     const Vector<double>       &solution,
                     const ConstitutiveLaw<dim> &constitutive_law,
                     const DoFHandler<dim>      &dof_handler_dual,
-                    Vector<double>             &rhs_dual) const;
+                    Vector<double>             &rhs_dual) const override;
 
       DeclException1 (ExcEvaluationPointNotFound,
                       Point<dim>,
@@ -1661,7 +1661,7 @@ namespace ElastoPlastic
                     const Vector<double>       &solution,
                     const ConstitutiveLaw<dim> &constitutive_law,
                     const DoFHandler<dim>      &dof_handler_dual,
-                    Vector<double>             &rhs_dual) const;
+                    Vector<double>             &rhs_dual) const override;
 
       DeclException1 (ExcEvaluationPointNotFound,
                       Point<dim>,
@@ -1755,7 +1755,7 @@ namespace ElastoPlastic
                     const Vector<double>       &solution,
                     const ConstitutiveLaw<dim> &constitutive_law,
                     const DoFHandler<dim>      &dof_handler_dual,
-                    Vector<double>             &rhs_dual) const;
+                    Vector<double>             &rhs_dual) const override;
 
     protected:
       const unsigned int face_id;
@@ -1883,7 +1883,7 @@ namespace ElastoPlastic
                     const Vector<double>       &solution,
                     const ConstitutiveLaw<dim> &constitutive_law,
                     const DoFHandler<dim>      &dof_handler_dual,
-                    Vector<double>             &rhs_dual) const;
+                    Vector<double>             &rhs_dual) const override;
 
     protected:
       const unsigned int face_id;
@@ -2029,7 +2029,7 @@ namespace ElastoPlastic
                     const Vector<double>       &solution,
                     const ConstitutiveLaw<dim> &constitutive_law,
                     const DoFHandler<dim>      &dof_handler_dual,
-                    Vector<double>             &rhs_dual) const;
+                    Vector<double>             &rhs_dual) const override;
 
     protected:
       const std::string base_mesh;
index d53f0ae0d599b1c0bd399504fff181e062d2403e..060f42c5f24e7200add4f861fd11dc6f7ac7005c 100644 (file)
@@ -320,10 +320,10 @@ namespace fluid
   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 25725fadcd3e750a3a0a69df4d8b294ffcb4c355..d23e5b7f377a9cd34e18b2418c875778962c3606 100644 (file)
@@ -8,7 +8,7 @@ public:
   InitialPhi (unsigned int PROBLEM, double sharpness=0.005) : Function<dim>(),
     sharpness(sharpness),
     PROBLEM(PROBLEM) {}
-  virtual double value (const Point<dim> &p, const unsigned int component=0) const;
+  virtual double value (const Point<dim> &p, const unsigned int component=0) const override;
   double sharpness;
   unsigned int PROBLEM;
 };
@@ -74,7 +74,7 @@ class BoundaryU : public Function <dim>
 {
 public:
   BoundaryU (unsigned int PROBLEM, double t=0) : Function<dim>(), PROBLEM(PROBLEM) {this->set_time(t);}
-  virtual double value (const Point<dim> &p, const unsigned int component=0) const;
+  virtual double value (const Point<dim> &p, const unsigned int component=0) const override;
   unsigned PROBLEM;
 };
 template <int dim>
@@ -106,7 +106,7 @@ class BoundaryV : public Function <dim>
 {
 public:
   BoundaryV (unsigned int PROBLEM, double t=0) : Function<dim>(), PROBLEM(PROBLEM) {this->set_time(t);}
-  virtual double value (const Point<dim> &p, const unsigned int component=0) const;
+  virtual double value (const Point<dim> &p, const unsigned int component=0) const override;
   unsigned int PROBLEM;
 };
 template <int dim>
@@ -144,7 +144,7 @@ public:
   virtual
   void
   evaluate_scalar_field (const DataPostprocessorInputs::Scalar<dim> &input_data,
-                         std::vector<Vector<double> >               &computed_quantities) const;
+                         std::vector<Vector<double> >               &computed_quantities) const override;
 
   double eps;
   double rho_air;

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.