]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add overrides for FE files
authorGraham Harper <grahambenharper@gmail.com>
Tue, 10 Jul 2018 21:31:06 +0000 (21:31 +0000)
committerGraham Harper <grahambenharper@gmail.com>
Tue, 10 Jul 2018 21:31:06 +0000 (21:31 +0000)
include/deal.II/fe/fe_bernardi_raugel.h
source/fe/fe_bernardi_raugel.cc

index b7cc3a41fd5c6b603d73b9e8adb56b9d30e46225..acf5b83b33720018c08b33e6d43e2628f4d3ce25 100644 (file)
@@ -69,16 +69,16 @@ public:
    * by appropriate values.
    */
   virtual std::string
-  get_name() const;
+  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 bcc27fb2bdce2587982459b86e1f431cb8b09ca0..f75e734ea2b921aff846aba8f68af2f380039ca3 100644 (file)
@@ -70,7 +70,7 @@ FE_BernardiRaugel<dim>::FE_BernardiRaugel(const unsigned int p)
 
 template <int dim>
 std::string
-FE_BernardiRaugel<dim>::get_name() const
+FE_BernardiRaugel<dim>::get_name() const override
 {
   std::ostringstream namebuf;
   namebuf << "FE_BR<" << dim << ">(" << 1 << ")";
@@ -81,7 +81,7 @@ FE_BernardiRaugel<dim>::get_name() const
 
 template <int dim>
 std::unique_ptr<FiniteElement<dim, dim>>
-FE_BernardiRaugel<dim>::clone() const
+FE_BernardiRaugel<dim>::clone() const override
 {
   return std_cxx14::make_unique<FE_BernardiRaugel<dim>>(*this);
 }
@@ -92,7 +92,7 @@ template <int dim>
 void
 FE_BernardiRaugel<dim>::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
 {
   Assert(support_point_values.size() == this->generalized_support_points.size(),
          ExcDimensionMismatch(support_point_values.size(),

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.