]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Modify method accessibility in ShapeInfo 8853/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 25 Sep 2019 08:09:24 +0000 (10:09 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 25 Sep 2019 10:41:01 +0000 (12:41 +0200)
include/deal.II/matrix_free/shape_info.h
include/deal.II/matrix_free/shape_info.templates.h

index a601d2a591633358f82c47781958e1f264bdae7e..79804d776ca8edf70776ff22fd99e45d14280355 100644 (file)
@@ -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;
     };
 
 
index 8459115ac59153988cef35ec696e190e89acbfeb..959e2ebecaa4bc5c1878dde9f70d12368d6043bf 100644 (file)
@@ -531,7 +531,7 @@ namespace internal
 
     template <typename Number>
     bool
-    ShapeInfo<Number>::check_1d_shapes_collocation()
+    ShapeInfo<Number>::check_1d_shapes_collocation() const
     {
       if (dofs_per_component_on_cell != n_q_points)
         return false;

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.