From 6b3e97fff06ae39bd355ed67a26fc7e69978847b Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 5 Oct 2015 08:45:28 -0400 Subject: [PATCH] fix mapping_q_generic codim2 - remove unused function do_transform_real_to_unit_cell_internal - actually report ExcNotImplemented for codim2 --- source/fe/mapping_q_generic.cc | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) 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 { -- 2.39.5