From: kanschat Date: Wed, 7 Dec 2011 16:33:42 +0000 (+0000) Subject: defer "not implemented" to underlying function X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfd10762079f028a4db79056478899132bc010a1;p=dealii-svn.git defer "not implemented" to underlying function git-svn-id: https://svn.dealii.org/trunk@24795 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/fe/fe_poly.templates.h b/deal.II/include/deal.II/fe/fe_poly.templates.h index f24c672e14..2628881502 100644 --- a/deal.II/include/deal.II/fe/fe_poly.templates.h +++ b/deal.II/include/deal.II/fe/fe_poly.templates.h @@ -242,7 +242,7 @@ inline void FE_Poly,1,2>::fill_fe_values (const Mapping<1,2> &mapping, - const Triangulation<1,2>::cell_iterator &/*cell*/, + const Triangulation<1,2>::cell_iterator &cell, const Quadrature<1> &quadrature, Mapping<1,2>::InternalDataBase &mapping_data, Mapping<1,2>::InternalDataBase &fedata, @@ -270,11 +270,8 @@ FE_Poly,1,2>::fill_fe_values } if (flags & update_hessians && cell_similarity != CellSimilarity::translation) - { - AssertThrow(false, ExcNotImplemented()); -/* this->compute_2nd (mapping, cell, QProjector::DataSetDescriptor::cell(), */ -/* mapping_data, fe_data, data); */ - } + this->compute_2nd (mapping, cell, QProjector<1>::DataSetDescriptor::cell(), + mapping_data, fe_data, data); } @@ -284,7 +281,7 @@ inline void FE_Poly,2,3>::fill_fe_values (const Mapping<2,3> &mapping, - const Triangulation<2,3>::cell_iterator &/* cell */, + const Triangulation<2,3>::cell_iterator &cell, const Quadrature<2> &quadrature, Mapping<2,3>::InternalDataBase &mapping_data, Mapping<2,3>::InternalDataBase &fedata, @@ -311,12 +308,8 @@ FE_Poly,2,3>::fill_fe_values } if (flags & update_hessians && cell_similarity != CellSimilarity::translation) - { - AssertThrow(false, ExcNotImplemented()); -/* this->compute_2nd (mapping, cell, QProjector::DataSetDescriptor::cell(), */ -/* mapping_data, fe_data, data); */ - } - + this->compute_2nd (mapping, cell, QProjector<2>::DataSetDescriptor::cell(), + mapping_data, fe_data, data); } @@ -325,7 +318,7 @@ inline void FE_Poly,1,2>::fill_fe_values ( const Mapping<1,2> &mapping, - const Triangulation<1,2>::cell_iterator & /*cell*/, + const Triangulation<1,2>::cell_iterator &cell, const Quadrature<1> &quadrature, Mapping<1,2>::InternalDataBase &mapping_data, Mapping<1,2>::InternalDataBase &fedata, @@ -347,20 +340,15 @@ FE_Poly,1,2>::fill_fe_values ( if (flags & update_values) for (unsigned int i=0; icompute_2nd (mapping, cell, QProjector::DataSetDescriptor::cell(), */ -/* mapping_data, fe_data, data); */ - } + this->compute_2nd (mapping, cell, QProjector<1>::DataSetDescriptor::cell(), + mapping_data, fe_data, data); } @@ -369,7 +357,7 @@ inline void FE_Poly,2,3>::fill_fe_values (const Mapping<2,3> &mapping, - const Triangulation<2,3>::cell_iterator &/* cell */, + const Triangulation<2,3>::cell_iterator &cell, const Quadrature<2> &quadrature, Mapping<2,3>::InternalDataBase &mapping_data, Mapping<2,3>::InternalDataBase &fedata, @@ -394,12 +382,8 @@ FE_Poly,2,3>::fill_fe_values } if (flags & update_hessians && cell_similarity != CellSimilarity::translation) - { - AssertThrow(false, ExcNotImplemented()); -/* this->compute_2nd (mapping, cell, QProjector::DataSetDescriptor::cell(), */ -/* mapping_data, fe_data, data); */ - } - + this->compute_2nd (mapping, cell, QProjector<2>::DataSetDescriptor::cell(), + mapping_data, fe_data, data); }