From: Peter Munch Date: Wed, 25 Sep 2019 08:09:24 +0000 (+0200) Subject: Modify method accessibility in ShapeInfo X-Git-Tag: v9.2.0-rc1~1027^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8853%2Fhead;p=dealii.git Modify method accessibility in ShapeInfo --- diff --git a/include/deal.II/matrix_free/shape_info.h b/include/deal.II/matrix_free/shape_info.h index a601d2a591..79804d776c 100644 --- a/include/deal.II/matrix_free/shape_info.h +++ b/include/deal.II/matrix_free/shape_info.h @@ -356,6 +356,7 @@ namespace internal */ dealii::Table<2, unsigned int> face_to_cell_index_hermite; + private: /** * Check whether we have symmetries in the shape values. In that case, * also fill the shape_???_eo fields. @@ -370,7 +371,7 @@ namespace internal * that save some operations in the evaluation. */ bool - check_1d_shapes_collocation(); + check_1d_shapes_collocation() const; }; diff --git a/include/deal.II/matrix_free/shape_info.templates.h b/include/deal.II/matrix_free/shape_info.templates.h index 8459115ac5..959e2ebeca 100644 --- a/include/deal.II/matrix_free/shape_info.templates.h +++ b/include/deal.II/matrix_free/shape_info.templates.h @@ -531,7 +531,7 @@ namespace internal template bool - ShapeInfo::check_1d_shapes_collocation() + ShapeInfo::check_1d_shapes_collocation() const { if (dofs_per_component_on_cell != n_q_points) return false;