]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a variable that was not only not needed but the initialization
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 18 Dec 2000 14:18:57 +0000 (14:18 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 18 Dec 2000 14:18:57 +0000 (14:18 +0000)
of which led to an exception.

git-svn-id: https://svn.dealii.org/trunk@3558 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index 1a9d46969b4b110820a5f20e30bb987c62cf9388..c7dc364a4195c1a9635398f054f78bc5d688ab7a 100644 (file)
@@ -1050,8 +1050,7 @@ DoFTools::compute_intergrid_constraints (const DoFHandler<dim>              &coa
                     n_fine_dofs   = fine_grid.n_dofs();
 
                                   // local numbers of dofs
-  const unsigned int coarse_dofs_per_cell = coarse_fe.dofs_per_cell,
-                    fine_dofs_per_cell   = fine_fe.dofs_per_cell;
+  const unsigned int fine_dofs_per_cell   = fine_fe.dofs_per_cell;
 
                                   // alias the number of dofs per
                                   // cell belonging to the
@@ -1203,13 +1202,6 @@ DoFTools::compute_intergrid_constraints (const DoFHandler<dim>              &coa
                                   // set up this mapping
   if (true)
     {
-                                      // list of local dof numbers
-                                      // belonging to the parameter
-                                      // part of the FE on the fine grid
-      vector<unsigned int> parameter_dofs;
-      for (unsigned int i=0; i<coarse_dofs_per_cell; ++i)
-       parameter_dofs.push_back(fine_fe.component_to_system_index(coarse_component,i));
-
       vector<unsigned int> local_dof_indices(fine_fe.dofs_per_cell);
       unsigned int next_free_index=0;
       for (typename DoFHandler<dim>::active_cell_iterator cell=fine_grid.begin_active();

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.