From b106cb1a43b064a96a7175bd938a9992ad432bfc Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 23 Jan 2016 18:54:54 -0600 Subject: [PATCH] Remove now no longer used FE_FaceQ::update_once/each. --- include/deal.II/fe/fe_face.h | 53 +++--------------------------------- source/fe/fe_face.cc | 18 ------------ 2 files changed, 4 insertions(+), 67 deletions(-) diff --git a/include/deal.II/fe/fe_face.h b/include/deal.II/fe/fe_face.h index f9fe8fcaba..52b4100043 100644 --- a/include/deal.II/fe/fe_face.h +++ b/include/deal.II/fe/fe_face.h @@ -257,7 +257,7 @@ protected: // generate a new data object and initialize some fields typename FiniteElement<1,spacedim>::InternalDataBase *data = new typename FiniteElement<1,spacedim>::InternalDataBase; - data->update_each = update_once(update_flags) | update_each(update_flags); // FIX: only update_each required + data->update_each = requires_update_flags(update_flags); const unsigned int n_q_points = quadrature.size(); AssertDimension(n_q_points, 1); @@ -315,58 +315,13 @@ protected: const typename FiniteElement<1,spacedim>::InternalDataBase &fe_internal, dealii::internal::FEValues::FiniteElementRelatedData<1, spacedim> &output_data) const; - - /** - * Determine the values that need to be computed on the unit cell to be able - * to compute all values required by flags. - * - * For the purpose of this function, refer to the documentation in - * FiniteElement. - * - * This class assumes that shape functions of this FiniteElement do - * not depend on the actual shape of the cells in real space. - * Therefore, the effect in this element is as follows: if - * update_values is set in flags, copy it to the result. - * All other flags of the result are cleared, since everything else must be - * computed for each cell. - */ - UpdateFlags update_once (const UpdateFlags flags) const; - - /** - * Determine the values that need to be computed on every cell to be able to - * compute all values required by flags. - * - * For the purpose of this function, refer to the documentation in - * FiniteElement. - * - * This class assumes that shape functions of this FiniteElement do - * not depend on the actual shape of the cells in real space. - * - * The effect in this element is as follows: - * - */ - UpdateFlags update_each (const UpdateFlags flags) const; - private: /** * Return vector with dofs per vertex, line, quad, hex. */ - static std::vector get_dpo_vector (const unsigned int deg); + static + std::vector + get_dpo_vector (const unsigned int deg); }; diff --git a/source/fe/fe_face.cc b/source/fe/fe_face.cc index e3e40dd428..f13d345f30 100644 --- a/source/fe/fe_face.cc +++ b/source/fe/fe_face.cc @@ -440,27 +440,9 @@ FE_FaceQ<1,spacedim>::get_constant_modes () const -template -UpdateFlags -FE_FaceQ<1,spacedim>::update_once (const UpdateFlags) const -{ - return update_default; -} - - - template UpdateFlags FE_FaceQ<1,spacedim>::requires_update_flags (const UpdateFlags flags) const -{ - return update_once(flags) | update_each(flags); -} - - - -template -UpdateFlags -FE_FaceQ<1,spacedim>::update_each (const UpdateFlags flags) const { UpdateFlags out = flags & update_values; if (flags & update_gradients) -- 2.39.5