From e46dcfacd7290b22e72b69728fd59ed56da16fb5 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Wed, 25 Sep 2019 10:09:24 +0200 Subject: [PATCH] Modify method accessibility in ShapeInfo --- include/deal.II/matrix_free/shape_info.h | 3 ++- include/deal.II/matrix_free/shape_info.templates.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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; -- 2.39.5