]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix how we pick the first cell to output in DataOut when it is filtered (see tests...
authorTimo Heister <timo.heister@gmail.com>
Wed, 16 Oct 2013 19:37:26 +0000 (19:37 +0000)
committerTimo Heister <timo.heister@gmail.com>
Wed, 16 Oct 2013 19:37:26 +0000 (19:37 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31269 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/numerics/data_out.cc

index 539ac2d973a561025f47b669038961c1ed340827..be256797bb887e0798432c0ff17a5f0e405608f3 100644 (file)
@@ -465,7 +465,7 @@ typename DataOut<dim,DH>::cell_iterator
 DataOut<dim,DH>::first_locally_owned_cell ()
 {
   typename DataOut<dim,DH>::cell_iterator
-  cell = this->triangulation->begin_active ();
+    cell = first_cell();
 
   // skip cells if the current one has no children (is active) and is a ghost
   // or artificial cell

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.