From: Ralf Hartmann Date: Wed, 18 Jul 2001 09:44:33 +0000 (+0000) Subject: Assembling of the laplace matrix is performed using a quadrature that now depends... X-Git-Tag: v8.0.0~18950 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f350cb7351085003f5ad7ad8b3a3736b3341d7b4;p=dealii.git Assembling of the laplace matrix is performed using a quadrature that now depends on the degree of mapping employed. git-svn-id: https://svn.dealii.org/trunk@4848 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/mapping_q.cc b/deal.II/deal.II/source/fe/mapping_q.cc index 649292e046..2e93e12171 100644 --- a/deal.II/deal.II/source/fe/mapping_q.cc +++ b/deal.II/deal.II/source/fe/mapping_q.cc @@ -584,7 +584,7 @@ MappingQ::compute_laplace_vector(std::vector > &lvs) co // compute the shape // gradients at the quadrature // points on the unit cell - const QGauss4 quadrature; + const QGauss quadrature(degree+1); const unsigned int n_q_points=quadrature.n_quadrature_points; InternalData quadrature_data(n_shape_functions);