]> https://gitweb.dealii.org/ - dealii.git/commitdiff
enable QGaussSimplex<0> 11914/head
authorMagdalena Schreter <schreter.magdalena@gmail.com>
Mon, 15 Mar 2021 13:45:44 +0000 (14:45 +0100)
committerMagdalena Schreter <schreter.magdalena@gmail.com>
Wed, 17 Mar 2021 07:59:31 +0000 (08:59 +0100)
source/base/quadrature_lib.cc

index e228aa3d0a01a0b485f2b13201a8fa723901d496..0f69c4e9c9b743076eedbc92f3d10a949aca1887 100644 (file)
@@ -1355,7 +1355,7 @@ QGaussSimplex<dim>::QGaussSimplex(const unsigned int n_points_1D)
   : QSimplex<dim>(Quadrature<dim>())
 {
   // fill quadrature points and quadrature weights
-  if (dim == 1)
+  if (dim == 0 || dim == 1)
     {
       const dealii::QGauss<dim> quad(n_points_1D);
 
@@ -1838,6 +1838,7 @@ template class QSplit<1>;
 template class QSplit<2>;
 template class QSplit<3>;
 
+template class QGaussSimplex<0>;
 template class QGaussSimplex<1>;
 template class QGaussSimplex<2>;
 template class QGaussSimplex<3>;

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.