From e354aa498508b8efeea99e2f8ef586eb6a76cca0 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 12 Sep 2002 22:03:57 +0000 Subject: [PATCH] Fix constraint matrices. git-svn-id: https://svn.dealii.org/trunk@6409 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_nedelec_2d.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_nedelec_2d.cc b/deal.II/deal.II/source/fe/fe_nedelec_2d.cc index 9c8691bbac..d24a486a27 100644 --- a/deal.II/deal.II/source/fe/fe_nedelec_2d.cc +++ b/deal.II/deal.II/source/fe/fe_nedelec_2d.cc @@ -93,8 +93,10 @@ sizeof(FE_Nedelec<2>::Matrices::embedding[0]); // Here, the same applies as for the embedding matrices: since the DoF // values are not only multiplied by the values of the shape function // on the unit cell, but also by the transformation, we have to -// multiply the value on the large face by two to get the same value -// back on the small face +// multiply the value on the large face by 1/2 to get the same value +// back on the small face. in other words, if a DoF has weight 1 on +// the big cell, then it has to have weight 1/2 on the small ones, in +// order to give the same value of the shape function in real space namespace FE_Nedelec_2d { static const double constraint_q1[] = @@ -108,7 +110,7 @@ namespace FE_Nedelec_2d // issue with the // transformation described // above - 2., 2. + 1./2., 1./2. }; }; -- 2.39.5