]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Mark functions with override. 92/head
authorMarc Fehling <mafehling.git@gmail.com>
Thu, 27 Apr 2023 06:17:24 +0000 (00:17 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Thu, 27 Apr 2023 06:17:24 +0000 (00:17 -0600)
Distributed_Moving_Laser_Heating/boundaryInit.h

index 2e53f418a60b972e36e542bdd5bb19d745febd3e..a1a192bfb5464251eb03118fe9369185e482b01a 100644 (file)
@@ -20,7 +20,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;
 };
 
 template <int dim>
@@ -30,7 +30,7 @@ public:
   InitialValues () : Function<dim>() {}
 
   virtual double value (const Point<dim>   &p,
-                        const unsigned int  component = 0) const;
+                        const unsigned int  component = 0) const override;
 };
 
 
@@ -67,7 +67,7 @@ public:
   RhoC () : 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>
@@ -98,7 +98,7 @@ public:
   K_T () : 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>

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.