From 8665375850520cfede1731925c69cef4b7a1273a Mon Sep 17 00:00:00 2001 From: hartmann Date: Mon, 29 May 2000 16:04:19 +0000 Subject: [PATCH] fix sneaky bug in MT git-svn-id: https://svn.dealii.org/branches/Branch-3-0@2973 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/data_out.cc | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/source/numerics/data_out.cc b/deal.II/deal.II/source/numerics/data_out.cc index 388a062453..067d7e510b 100644 --- a/deal.II/deal.II/source/numerics/data_out.cc +++ b/deal.II/deal.II/source/numerics/data_out.cc @@ -198,9 +198,13 @@ void DataOut::build_some_patches (Data data) DoFHandler::cell_iterator cell=first_cell(); // get first cell in this thread - for (unsigned int i=0;iend()); ++i) + { + ++patch; + ++cell_number; + cell=next_cell(cell); + } + // now loop over all cells and // actually create the patches for (;cell != dofs->end();) @@ -247,9 +251,13 @@ void DataOut::build_some_patches (Data data) }; }; // next cell (patch) in this thread - for (unsigned int i=0;((iend())); - ++i,++patch,++cell_number,cell=next_cell(cell)); - + for (unsigned int i=0; + (iend()); ++i) + { + ++patch; + ++cell_number; + cell=next_cell(cell); + } }; } -- 2.39.5