From: bangerth Date: Fri, 25 Aug 2006 15:51:51 +0000 (+0000) Subject: Two other small issues X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c38a99317e32ac28468b43ed101bcbbcaf2fd4c;p=dealii-svn.git Two other small issues git-svn-id: https://svn.dealii.org/trunk@13746 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_poly_tensor.cc b/deal.II/deal.II/source/fe/fe_poly_tensor.cc index 64bbae107e..43b4eb58d1 100644 --- a/deal.II/deal.II/source/fe/fe_poly_tensor.cc +++ b/deal.II/deal.II/source/fe/fe_poly_tensor.cc @@ -407,7 +407,7 @@ FE_PolyTensor::fill_fe_values ( // Recompute determinant const double J = (mapping_type == contravariant ? - data.cell_JxW_values[k] / quadrature.weight(k) + data.JxW_values[k] / quadrature.weight(k) : 1.0); @@ -479,10 +479,9 @@ FE_PolyTensor::fill_fe_values ( // Recompute determinant const double J = (mapping_type == contravariant ? - data.cell_JxW_values[k] / quadrature.weight(k) + data.JxW_values[k] / quadrature.weight(k) : 1.0); - double J = data.JxW_values[k] / quadrature.weight(k); data.shape_gradients[first+d][k] = sign_change[i] * shape_grads2[k][d] / J; } @@ -496,9 +495,9 @@ FE_PolyTensor::fill_fe_values ( } } - const typename QProjector::DataSetDescriptor dsd; if (flags & update_second_derivatives) - this->compute_2nd (mapping, cell, dsd.cell(), + this->compute_2nd (mapping, cell, + typename QProjector::DataSetDescriptor().cell(), mapping_data, fe_data, data); }