]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Adapt the recent changed to MappingFEField to be compatible with what we do here.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 26 Jul 2015 16:03:29 +0000 (11:03 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 26 Jul 2015 16:03:29 +0000 (11:03 -0500)
include/deal.II/fe/mapping_fe_field.h
source/fe/mapping_fe_field.cc

index 917cf17dcd1413e91e13e96cc6fba367d3ac7d93..e997c1901f625924f21697c3927605ae97ffc66e 100644 (file)
@@ -340,13 +340,13 @@ public:
     /**
      * Storage for the indices of the local degrees of freedom.
      */
-    std::vector<types::global_dof_index> local_dof_indices;
+    mutable std::vector<types::global_dof_index> local_dof_indices;
 
 
     /**
      * Storage for local degrees of freedom.
      */
-    std::vector<double> local_dof_values;
+    mutable std::vector<double> local_dof_values;
   };
 
 
@@ -528,7 +528,7 @@ private:
    * Update internal degrees of freedom.
    */
   void update_internal_dofs(const typename Triangulation<dim,spacedim>::cell_iterator &cell,
-                            typename MappingFEField<dim, spacedim>::InternalData &data) const;
+                            const typename MappingFEField<dim, spacedim>::InternalData &data) const;
 
   /**
    * Reimplemented from Mapping. See the documentation of the base class for
index 4d3976f8c456631b225fb3e655437fb64a6f2cba..8373f75050a784f033ada15367e777fee2c919b6 100644 (file)
@@ -1223,7 +1223,7 @@ template<int dim, int spacedim, class VECTOR, class DH>
 void
 MappingFEField<dim,spacedim,VECTOR,DH>::update_internal_dofs (
   const typename Triangulation<dim,spacedim>::cell_iterator &cell,
-  typename MappingFEField<dim, spacedim>::InternalData &data) const
+  const typename MappingFEField<dim, spacedim>::InternalData &data) const
 {
   Assert(euler_dof_handler != 0, ExcMessage("euler_dof_handler is empty"));
 

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.