From: Wolfgang Bangerth Date: Sun, 24 Jan 2016 01:05:36 +0000 (-0600) Subject: Remove now no longer used FE_PolyFace::update_once/each. X-Git-Tag: v8.4.0-rc2~52^2~6 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15c3d928441e1acf7a1c44c1293f57e83ee5354f;p=dealii.git Remove now no longer used FE_PolyFace::update_once/each. --- diff --git a/include/deal.II/fe/fe_poly_face.h b/include/deal.II/fe/fe_poly_face.h index 649097de66..902a4cbb6d 100644 --- a/include/deal.II/fe/fe_poly_face.h +++ b/include/deal.II/fe/fe_poly_face.h @@ -49,12 +49,6 @@ DEAL_II_NAMESPACE_OPEN * which cannot be implemented by this class but are left for implementation * in derived classes. * - * Furthermore, this class assumes that shape functions of the FiniteElement - * under consideration do not depend on the actual shape of the cells - * in real space, i.e. update_once() includes update_values. For - * FiniteElements whose shape functions depend on the cells in real space, the - * update_once() and update_each() functions must be overloaded. - * * @author Guido Kanschat, 2009 */ template @@ -106,7 +100,7 @@ protected: // generate a new data object and // initialize some fields InternalData *data = new InternalData; - 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(); @@ -191,53 +185,6 @@ protected: const typename FiniteElement::InternalDataBase &fe_internal, dealii::internal::FEValues::FiniteElementRelatedData &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: - *
    - * - *
  • if update_gradients is set, the result will contain - * update_gradients and update_covariant_transformation. - * The latter is required to transform the gradient on the unit cell to the - * real cell. Remark, that the action required by - * update_covariant_transformation is actually performed by the - * Mapping object used in conjunction with this finite element. - * - *
  • if update_hessians is set, the result will contain - * update_hessians and update_covariant_transformation. - * The rationale is the same as above and no higher derivatives of the - * transformation are required, since we use difference quotients for the - * actual computation. - * - *
- */ - UpdateFlags update_each (const UpdateFlags flags) const; - - /** * Fields of cell-independent data. * diff --git a/include/deal.II/fe/fe_poly_face.templates.h b/include/deal.II/fe/fe_poly_face.templates.h index 5b45aaaa86..6bf907655b 100644 --- a/include/deal.II/fe/fe_poly_face.templates.h +++ b/include/deal.II/fe/fe_poly_face.templates.h @@ -52,23 +52,6 @@ FE_PolyFace::get_degree () const template UpdateFlags FE_PolyFace::requires_update_flags (const UpdateFlags flags) const -{ - return update_once(flags) | update_each(flags); -} - - -template -UpdateFlags -FE_PolyFace::update_once (const UpdateFlags) const -{ - return update_default; -} - - - -template -UpdateFlags -FE_PolyFace::update_each (const UpdateFlags flags) const { UpdateFlags out = flags & update_values; if (flags & update_gradients)