From: Wolfgang Bangerth Date: Wed, 17 Nov 2004 03:39:54 +0000 (+0000) Subject: Remove a check that was not only long satisfied, but also was in a function X-Git-Tag: v8.0.0~14691 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c7ca49a2af5763a84d88d150c06740d7bd610b4;p=dealii.git Remove a check that was not only long satisfied, but also was in a function (2d case) where it would never trigger (because it checked for dim==3). git-svn-id: https://svn.dealii.org/trunk@9781 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_q.cc b/deal.II/deal.II/source/fe/fe_q.cc index f46af80050..85a61d26e5 100644 --- a/deal.II/deal.II/source/fe/fe_q.cc +++ b/deal.II/deal.II/source/fe/fe_q.cc @@ -1215,25 +1215,6 @@ FE_Q<2>::initialize_constraints () .TableBase<2,double>::reinit (this->interface_constraints_size()); subface_interpolation.Tmmult (this->interface_constraints, face_interpolation); - - // in 3d we still have the - // constraint matrices, so make the - // check -//TODO[WB]: get rid of this, the check has worked a long time, so it's time to get rid of the file in which constraint_matrices are actually declared. - if (dim == 3) - if (this->degree < Matrices::n_constraint_matrices+1) - { - FullMatrix x; - x.TableBase<2,double>::reinit (this->interface_constraints_size()); - x.fill (Matrices::constraint_matrices[this->degree-1]); - - for (unsigned int i=0; iinterface_constraints(i,j)) - < - 1e-14, - ExcInternalError()); - } } #endif