]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Assembling of the laplace matrix is performed using a quadrature that now depends...
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Jul 2001 09:44:33 +0000 (09:44 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Jul 2001 09:44:33 +0000 (09:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@4848 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/mapping_q.cc

index 649292e0468b007568c58a494fe8d0484fc6ece3..2e93e12171283edb13a607b994edb95a8d5821bd 100644 (file)
@@ -584,7 +584,7 @@ MappingQ<dim>::compute_laplace_vector(std::vector<std::vector<double> > &lvs) co
                                   // compute the shape
                                   // gradients at the quadrature
                                   // points on the unit cell
-  const QGauss4<dim> quadrature;
+  const QGauss<dim> quadrature(degree+1);
   const unsigned int n_q_points=quadrature.n_quadrature_points;
   
   InternalData quadrature_data(n_shape_functions);

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.