]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix constraint matrices.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 Sep 2002 22:03:57 +0000 (22:03 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 12 Sep 2002 22:03:57 +0000 (22:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@6409 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_nedelec_2d.cc

index 9c8691bbace3a2c05b916d48a166a9602a4328fc..d24a486a27f50e039672015ad41ebb413780afa9 100644 (file)
@@ -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.
   };
 
 };

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.