From: Timo Heister Date: Mon, 5 Oct 2015 12:45:28 +0000 (-0400) Subject: fix mapping_q_generic codim2 X-Git-Tag: v8.4.0-rc2~341^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3e97fff06ae39bd355ed67a26fc7e69978847b;p=dealii.git fix mapping_q_generic codim2 - remove unused function do_transform_real_to_unit_cell_internal - actually report ExcNotImplemented for codim2 --- diff --git a/source/fe/mapping_q_generic.cc b/source/fe/mapping_q_generic.cc index 7f20043225..c59e399fc2 100644 --- a/source/fe/mapping_q_generic.cc +++ b/source/fe/mapping_q_generic.cc @@ -1380,24 +1380,6 @@ namespace } - - - - /** - * Implementation of transform_real_to_unit_cell for other values of - * dim, spacedim - */ - Point<1> - do_transform_real_to_unit_cell_internal - (const Triangulation<1,3>::cell_iterator &, - const Point<3> &, - const Point<1> &, - MappingQGeneric<1,3>::InternalData &) - { - Assert (false, ExcNotImplemented()); - return Point<1>(); - } - } @@ -1551,6 +1533,18 @@ transform_real_to_unit_cell_internal return do_transform_real_to_unit_cell_internal_codim1<2>(cell, p, initial_p_unit, *mdata); } +template<> +Point<1> +MappingQGeneric<1, 3>:: +transform_real_to_unit_cell_internal +(const Triangulation<1, 3>::cell_iterator &, + const Point<3> &, + const Point<1> &) const +{ + Assert (false, ExcNotImplemented()); + return Point<1>(); +} + namespace internal {