From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4e8cd3d44ffbfde39997cd905f079cbfa1e9da0;p=dealii-svn.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);