]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make MappingQGeneric::InternalData::polynomial_degree const 2998/head
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Mon, 22 Aug 2016 20:13:57 +0000 (14:13 -0600)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Mon, 22 Aug 2016 20:13:57 +0000 (14:13 -0600)
include/deal.II/fe/mapping_q_generic.h

index 54010338a625ae6d8c6ac16f4eb2776a0b2e458d..cc09663168e38ead321db5cad8e2d67572ecda41 100644 (file)
@@ -377,7 +377,7 @@ public:
      * The polynomial degree of the mapping. Since the objects here are also
      * used (with minor adjustments) by MappingQ, we need to store this.
      */
-    unsigned int polynomial_degree;
+    const unsigned int polynomial_degree;
 
     /**
      * Number of shape functions. If this is a Q1 mapping, then it is simply

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.