]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an unnecessary local variable.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 25 Jun 2003 20:16:59 +0000 (20:16 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 25 Jun 2003 20:16:59 +0000 (20:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@7815 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_tools.cc

index b99d04b73ece0d90807624dc9dbe2067d67b7de6..42abdc651c5944772b6f395612a0034471ec7db9 100644 (file)
@@ -457,7 +457,6 @@ void FETools::extrapolate(const DoFHandler<dim> &dof1,
   interpolate(dof1, u1, dof2, constraints, u3);
 
   const unsigned int dofs_per_cell  = dof2.get_fe().dofs_per_cell;
-  const Triangulation<dim> &tria=dof1.get_tria();
   Vector<typename OutVector::value_type> dof_values(dofs_per_cell);
 
                                   // make sure that each cell on the
@@ -473,7 +472,7 @@ void FETools::extrapolate(const DoFHandler<dim> &dof1,
   } 
 
                                   // then traverse grid bottom up
-  for (unsigned int level=0; level<tria.n_levels()-1; ++level)
+  for (unsigned int level=0; level<dof1.get_tria().n_levels()-1; ++level)
     {
       typename DoFHandler<dim>::cell_iterator cell=dof2.begin(level),
                                              endc=dof2.end(level);

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.