From f6b3b6ded6bf6d946c70d67ee1470c7bb05baab0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 26 Jul 2015 11:03:29 -0500 Subject: [PATCH] Adapt the recent changed to MappingFEField to be compatible with what we do here. --- include/deal.II/fe/mapping_fe_field.h | 6 +++--- source/fe/mapping_fe_field.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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")); -- 2.39.5