]> https://gitweb.dealii.org/ - dealii.git/commitdiff
variable renamed
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 9 Mar 2005 14:45:31 +0000 (14:45 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 9 Mar 2005 14:45:31 +0000 (14:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@10059 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/mg_dof_tools.cc

index 6c0d3ee1f9864e519eb3f1b02a74f12f92698732..9e667dd66760d97a6bbb566f6017e502d6b05c66 100644 (file)
@@ -394,16 +394,16 @@ MGTools::make_flux_sparsity_pattern_edge (
   const unsigned int dofs_per_cell = dof.get_fe().dofs_per_cell;
   std::vector<unsigned int> dofs_on_this_cell(dofs_per_cell);
   std::vector<unsigned int> dofs_on_other_cell(dofs_per_cell);
-  Table<2,bool> support_on_face(total_dofs, GeometryInfo<dim>::faces_per_cell);
+  Table<2,bool> support_on_face(dofs_per_cell, GeometryInfo<dim>::faces_per_cell);
   
   typename MGDoFHandler<dim>::cell_iterator cell = dof.begin(level),
                                            endc = dof.end(level);
 
-   Table<2,DoFTools::Coupling> flux_dof_mask(total_dofs, total_dofs);
+   Table<2,DoFTools::Coupling> flux_dof_mask(dofs_per_cell, dofs_per_cell);
 
    DoFTools::compute_dof_couplings(flux_dof_mask, flux_mask, fe);
   
-  for (unsigned int i=0; i<total_dofs; ++i)
+  for (unsigned int i=0; i<dofs_per_cell; ++i)
     for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell;++f)
       support_on_face(i,f) = fe.has_support_on_face(i,f);
   

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.