]> https://gitweb.dealii.org/ - dealii.git/commitdiff
FE_Bernstein uses equidistant points
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 8 Apr 2016 15:20:40 +0000 (17:20 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 9 Apr 2016 13:49:10 +0000 (15:49 +0200)
source/fe/fe_bernstein.cc

index fdba3c32af1628a5ccf85d2a94079532b4d6d3ee..1e828e207a9769218217ecf16b2bbb58dbe67c28 100644 (file)
@@ -86,7 +86,7 @@ get_subface_interpolation_matrix (const FiniteElement<dim,spacedim> &x_source_fe
                ExcInterpolationNotImplemented ()));
 
       const Quadrature<dim-1>
-      quad_face_support(FE_Q<dim,spacedim>(source_fe->degree).get_unit_face_support_points ());
+      quad_face_support(FE_Q<dim,spacedim>(QIterated<1>(QTrapez<1>(),source_fe->degree)).get_unit_face_support_points ());
 
       // Rule of thumb for FP accuracy, that can be expected for a given
       // polynomial degree.  This value is used to cut off values close to

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.