From 7130976b91028b1a0f08f97bf897dcf9075b9fa5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 4 Oct 2016 14:42:48 -0600 Subject: [PATCH] Remove unused variables. Do not compute unused data in FEValues. --- tests/manifold/spherical_manifold_02.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/manifold/spherical_manifold_02.cc b/tests/manifold/spherical_manifold_02.cc index 0fae0d8702..c0ae0f3572 100644 --- a/tests/manifold/spherical_manifold_02.cc +++ b/tests/manifold/spherical_manifold_02.cc @@ -124,10 +124,7 @@ void test (MappingEnum::type mapping_name, unsigned int refinements=1) FEValues<2,3> fe_values (*mapping, fe, cell_quadrature, update_values | - update_gradients | - update_quadrature_points | update_JxW_values); - const unsigned int dofs_per_cell = fe.dofs_per_cell; const unsigned int n_q_points = cell_quadrature.size(); double surface_area = 0; @@ -138,7 +135,6 @@ void test (MappingEnum::type mapping_name, unsigned int refinements=1) { double patch_surface = 0; fe_values.reinit (cell); - const std::vector > &qp = fe_values.get_quadrature_points(); for (unsigned int q_point=0; q_point