]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused variables. Do not compute unused data in FEValues.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Oct 2016 20:42:48 +0000 (14:42 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 4 Oct 2016 20:50:12 +0000 (14:50 -0600)
tests/manifold/spherical_manifold_02.cc

index 0fae0d8702a98ed63174494d7718b912dbb51e4f..c0ae0f35726da416da07d4866d8520847728bd2d 100644 (file)
@@ -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<Point<3> > &qp = fe_values.get_quadrature_points();
 
 
       for (unsigned int q_point=0; q_point<n_q_points; ++q_point)

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.