From a1687574705717e2273677e5c2e79afda5428dba Mon Sep 17 00:00:00 2001 From: Graham Harper Date: Tue, 10 Jul 2018 21:31:06 +0000 Subject: [PATCH] Add overrides for FE files --- include/deal.II/fe/fe_bernardi_raugel.h | 6 +++--- source/fe/fe_bernardi_raugel.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/deal.II/fe/fe_bernardi_raugel.h b/include/deal.II/fe/fe_bernardi_raugel.h index b7cc3a41fd..acf5b83b33 100644 --- a/include/deal.II/fe/fe_bernardi_raugel.h +++ b/include/deal.II/fe/fe_bernardi_raugel.h @@ -69,16 +69,16 @@ public: * by appropriate values. */ virtual std::string - get_name() const; + get_name() const override; virtual std::unique_ptr> - clone() const; + clone() const override; // documentation inherited from the base class virtual void convert_generalized_support_point_values_to_dof_values( const std::vector> &support_point_values, - std::vector & nodal_values) const; + std::vector & nodal_values) const override; private: /** diff --git a/source/fe/fe_bernardi_raugel.cc b/source/fe/fe_bernardi_raugel.cc index bcc27fb2bd..f75e734ea2 100644 --- a/source/fe/fe_bernardi_raugel.cc +++ b/source/fe/fe_bernardi_raugel.cc @@ -70,7 +70,7 @@ FE_BernardiRaugel::FE_BernardiRaugel(const unsigned int p) template std::string -FE_BernardiRaugel::get_name() const +FE_BernardiRaugel::get_name() const override { std::ostringstream namebuf; namebuf << "FE_BR<" << dim << ">(" << 1 << ")"; @@ -81,7 +81,7 @@ FE_BernardiRaugel::get_name() const template std::unique_ptr> -FE_BernardiRaugel::clone() const +FE_BernardiRaugel::clone() const override { return std_cxx14::make_unique>(*this); } @@ -92,7 +92,7 @@ template void FE_BernardiRaugel::convert_generalized_support_point_values_to_dof_values( const std::vector> &support_point_values, - std::vector & nodal_values) const + std::vector & nodal_values) const override { Assert(support_point_values.size() == this->generalized_support_points.size(), ExcDimensionMismatch(support_point_values.size(), -- 2.39.5