]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix one more thing. cells may be inactive.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Nov 1999 17:43:06 +0000 (17:43 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Nov 1999 17:43:06 +0000 (17:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@1957 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out.cc

index 781dc2323e6a62fed5af83731becff1bc92d9f75..d33d5f2ccba19ab3c3e6540ebabe00a2c132923f 100644 (file)
@@ -169,7 +169,7 @@ void DataOut<dim>::build_patches (const unsigned int n_subdivisions)
                                   // create patches of and make sure
                                   // there is enough memory for that
   unsigned int n_patches = 0;
-  for (DoFHandler<dim>::active_cell_iterator cell=first_cell();
+  for (DoFHandler<dim>::cell_iterator cell=first_cell();
        cell != dofs->end();
        cell = next_cell(cell))
     ++n_patches;
@@ -200,7 +200,7 @@ void DataOut<dim>::build_patches (const unsigned int n_subdivisions)
                                   // actually create the patches
   vector<DataOutBase::Patch<dim> >::iterator patch = patches.begin();
   unsigned int                               cell_number = 0;
-  for (DoFHandler<dim>::active_cell_iterator cell=first_cell();
+  for (DoFHandler<dim>::cell_iterator cell=first_cell();
        cell != dofs->end(); cell=next_cell(cell), ++patch, ++cell_number)
     {
       Assert (patch != patches.end(), ExcInternalError());

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.