From: Martin Kronbichler Date: Fri, 1 Oct 2021 13:27:04 +0000 (+0200) Subject: MappingQ: Make fill_fe_*values protected as in other mapping classes X-Git-Tag: v9.4.0-rc1~967^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a71dc0e9ce0b7f164b0f0015295c3f8be3bcb8de;p=dealii.git MappingQ: Make fill_fe_*values protected as in other mapping classes --- diff --git a/include/deal.II/fe/mapping_q.h b/include/deal.II/fe/mapping_q.h index 6dfe954b3a..29eccf2bad 100644 --- a/include/deal.II/fe/mapping_q.h +++ b/include/deal.II/fe/mapping_q.h @@ -231,6 +231,31 @@ public: * @} */ + /** + * As opposed to the other fill_fe_values() and fill_fe_face_values() + * functions that rely on pre-computed information of InternalDataBase, this + * function chooses the flexible evaluation path on the cell and points + * passed in to the current function. + * + * @param[in] cell The cell where to evaluate the mapping + * + * @param[in] unit_points The points in reference coordinates where the + * transformation (Jacobians, positions) should be computed. + * + * @param[in] update_flags The kind of information that should be computed. + * + * @param[out] output_data A struct containing the evaluated quantities such + * as the Jacobian resulting from application of the mapping on the given + * cell with its underlying manifolds. + */ + void + fill_mapping_data_for_generic_points( + const typename Triangulation::cell_iterator &cell, + const ArrayView> & unit_points, + const UpdateFlags update_flags, + dealii::internal::FEValuesImplementation::MappingRelatedData + &output_data) const; + /** * @name Interface with FEValues and friends * @{ @@ -536,7 +561,7 @@ public: mutable AlignedVector volume_elements; }; - +protected: // documentation can be found in Mapping::requires_update_flags() virtual UpdateFlags requires_update_flags(const UpdateFlags update_flags) const override; @@ -590,37 +615,10 @@ public: dealii::internal::FEValuesImplementation::MappingRelatedData &output_data) const override; - - /** - * As opposed to the other fill_fe_values() and fill_fe_face_values() - * functions that rely on pre-computed information of InternalDataBase, this - * function chooses the flexible evaluation path on the cell and points - * passed in to the current function. - * - * @param[in] cell The cell where to evaluate the mapping - * - * @param[in] unit_points The points in reference coordinates where the - * transformation (Jacobians, positions) should be computed. - * - * @param[in] update_flags The kind of information that should be computed. - * - * @param[out] output_data A struct containing the evaluated quantities such - * as the Jacobian resulting from application of the mapping on the given - * cell with its underlying manifolds. - */ - void - fill_mapping_data_for_generic_points( - const typename Triangulation::cell_iterator &cell, - const ArrayView> & unit_points, - const UpdateFlags update_flags, - dealii::internal::FEValuesImplementation::MappingRelatedData - &output_data) const; - /** * @} */ -protected: /** * The degree of the polynomials used as shape functions for the mapping of * cells.