]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make FEValuesViews::* objects movable. 16298/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 26 Nov 2023 17:23:13 +0000 (10:23 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 26 Nov 2023 17:24:00 +0000 (10:24 -0700)
include/deal.II/fe/fe_values_views.h

index c9b6745af36b9d04b038a00f4daff6fdacfd0292..2de5def53c8a34f9196013aaa698c4651c4c838f 100644 (file)
@@ -548,13 +548,13 @@ namespace FEValuesViews
     /**
      * A pointer to the FEValuesBase object we operate on.
      */
-    const SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
+    SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
 
     /**
      * The single scalar component this view represents of the FEValuesBase
      * object.
      */
-    const unsigned int component;
+    unsigned int component;
 
     /**
      * Store the data about shape functions.
@@ -1271,13 +1271,13 @@ namespace FEValuesViews
     /**
      * A pointer to the FEValuesBase object we operate on.
      */
-    const SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
+    SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
 
     /**
      * The first component of the vector this view represents of the
      * FEValuesBase object.
      */
-    const unsigned int first_vector_component;
+    unsigned int first_vector_component;
 
     /**
      * Store the data about shape functions.
@@ -1584,13 +1584,13 @@ namespace FEValuesViews
     /**
      * A pointer to the FEValuesBase object we operate on.
      */
-    const SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
+    SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
 
     /**
      * The first component of the vector this view represents of the
      * FEValuesBase object.
      */
-    const unsigned int first_tensor_component;
+    unsigned int first_tensor_component;
 
     /**
      * Store the data about shape functions.
@@ -1958,13 +1958,13 @@ namespace FEValuesViews
     /**
      * A pointer to the FEValuesBase object we operate on.
      */
-    const SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
+    SmartPointer<const FEValuesBase<dim, spacedim>> fe_values;
 
     /**
      * The first component of the vector this view represents of the
      * FEValuesBase object.
      */
-    const unsigned int first_tensor_component;
+    unsigned int first_tensor_component;
 
     /**
      * Store the data about shape functions.

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.