]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bug fix: copy_indices vectors were not cleared before starting to insert new values.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 May 2007 16:13:22 +0000 (16:13 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 May 2007 16:13:22 +0000 (16:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@14664 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/mg_transfer_prebuilt.cc

index 9ab4e8f59997f767b92a8ba4fd04854359743da2..b665fefebd8463f110137508f55e6dab4df1e922 100644 (file)
@@ -158,6 +158,7 @@ void MGTransferPrebuilt<number>::build_matrices (
   std::vector<unsigned int> level_dof_indices  (dofs_per_cell);
   for (int level=mg_dof.get_tria().n_levels()-1; level>=0; --level)
     {
+      copy_indices[level].clear();
       typename MGDoFHandler<dim>::active_cell_iterator
        level_cell = mg_dof.begin_active(level);
       const typename MGDoFHandler<dim>::active_cell_iterator

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.