From: Wolfgang Bangerth Date: Sun, 26 Jul 2015 16:03:29 +0000 (-0500) Subject: Adapt the recent changed to MappingFEField to be compatible with what we do here. X-Git-Tag: v8.4.0-rc2~718^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6b3b6ded6bf6d946c70d67ee1470c7bb05baab0;p=dealii.git Adapt the recent changed to MappingFEField to be compatible with what we do here. --- diff --git a/include/deal.II/fe/mapping_fe_field.h b/include/deal.II/fe/mapping_fe_field.h index 917cf17dcd..e997c1901f 100644 --- a/include/deal.II/fe/mapping_fe_field.h +++ b/include/deal.II/fe/mapping_fe_field.h @@ -340,13 +340,13 @@ public: /** * Storage for the indices of the local degrees of freedom. */ - std::vector local_dof_indices; + mutable std::vector local_dof_indices; /** * Storage for local degrees of freedom. */ - std::vector local_dof_values; + mutable std::vector local_dof_values; }; @@ -528,7 +528,7 @@ private: * Update internal degrees of freedom. */ void update_internal_dofs(const typename Triangulation::cell_iterator &cell, - typename MappingFEField::InternalData &data) const; + const typename MappingFEField::InternalData &data) const; /** * Reimplemented from Mapping. See the documentation of the base class for diff --git a/source/fe/mapping_fe_field.cc b/source/fe/mapping_fe_field.cc index 4d3976f8c4..8373f75050 100644 --- a/source/fe/mapping_fe_field.cc +++ b/source/fe/mapping_fe_field.cc @@ -1223,7 +1223,7 @@ template void MappingFEField::update_internal_dofs ( const typename Triangulation::cell_iterator &cell, - typename MappingFEField::InternalData &data) const + const typename MappingFEField::InternalData &data) const { Assert(euler_dof_handler != 0, ExcMessage("euler_dof_handler is empty"));