From: Luca Heltai Date: Mon, 28 Mar 2016 11:32:47 +0000 (+0200) Subject: Removed unused declaration. Added assertions on flags. X-Git-Tag: v8.5.0-rc1~1131^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5b9b89a7991385d57d1e96b9576d11532227599;p=dealii.git Removed unused declaration. Added assertions on flags. --- diff --git a/include/deal.II/fe/mapping_manifold.h b/include/deal.II/fe/mapping_manifold.h index 93fb1ba8a3..9b81a82951 100644 --- a/include/deal.II/fe/mapping_manifold.h +++ b/include/deal.II/fe/mapping_manifold.h @@ -364,17 +364,6 @@ public: /** * @} */ - -protected: - - /** - * Transforms the point @p p on the real cell to the corresponding point on - * the unit cell @p cell by a Newton iteration. - */ - // Point - // transform_real_to_unit_cell_internal (const typename Triangulation::cell_iterator &cell, - // const Point &p, - // const Point &initial_p_unit) const; }; diff --git a/source/fe/mapping_manifold.cc b/source/fe/mapping_manifold.cc index 590c2ac4a4..eedf1fa43e 100644 --- a/source/fe/mapping_manifold.cc +++ b/source/fe/mapping_manifold.cc @@ -160,8 +160,7 @@ initialize_face (const UpdateFlags update_flags, template MappingManifold::MappingManifold () -{ -} +{} @@ -272,6 +271,15 @@ MappingManifold::requires_update_flags (const UpdateFlags in) cons out |= update_JxW_values; } + // Now throw an exception if we stumble upon something that was not + // implemented yet + Assert(!(out & ( + update_jacobian_grads | + update_jacobian_pushed_forward_grads | + update_jacobian_pushed_forward_2nd_derivatives | + update_jacobian_pushed_forward_3rd_derivatives + )), ExcNotImplemented()); + return out; }