From bff67d49d7e84828f8e86655762d175b8552dfb0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 23 Jan 2016 10:07:21 -0600 Subject: [PATCH] Remove a default constructor that likely doesn't do very much good. --- include/deal.II/fe/fe_base.h | 7 ------- source/fe/fe_data.cc | 22 ---------------------- 2 files changed, 29 deletions(-) diff --git a/include/deal.II/fe/fe_base.h b/include/deal.II/fe/fe_base.h index 843fe07ada..5ccbeab06f 100644 --- a/include/deal.II/fe/fe_base.h +++ b/include/deal.II/fe/fe_base.h @@ -310,13 +310,6 @@ public: */ BlockIndices block_indices_data; - /** - * Default constructor. Constructs an element with no dofs. Checking - * n_dofs_per_cell() is therefore a good way to check if something went - * wrong. - */ - FiniteElementData (); - /** * Constructor, computing all necessary values from the distribution of dofs * to geometrical objects. diff --git a/source/fe/fe_data.cc b/source/fe/fe_data.cc index 91525a4daf..b04752ba21 100644 --- a/source/fe/fe_data.cc +++ b/source/fe/fe_data.cc @@ -18,28 +18,6 @@ DEAL_II_NAMESPACE_OPEN -template -FiniteElementData::FiniteElementData () - : - dofs_per_vertex(0), - dofs_per_line(0), - dofs_per_quad(0), - dofs_per_hex(0), - first_line_index(0), - first_quad_index(0), - first_hex_index(0), - first_face_line_index(0), - first_face_quad_index(0), - dofs_per_face(0), - dofs_per_cell (0), - components(0), - degree(0), - conforming_space(unknown), - cached_primitivity(false) -{} - - - template FiniteElementData:: FiniteElementData (const std::vector &dofs_per_object, -- 2.39.5