From 1154fb8c5b5568d5a928ca05824e1d71234dad9d Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 11 Sep 2008 00:54:06 +0000 Subject: [PATCH] Remove some code that can't work in parallel currently. git-svn-id: https://svn.dealii.org/trunk@16803 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-32/step-32.cc | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 6e1112c05a..a708b800d5 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -1308,19 +1308,20 @@ void BoussinesqFlowProblem::solve () << " CG iterations for temperature." << std::endl; - double min_temperature = temperature_solution(0), - max_temperature = temperature_solution(0); - for (unsigned int i=0; i (min_temperature, - temperature_solution(i)); - max_temperature = std::max (max_temperature, - temperature_solution(i)); - } +// the following code doesn't work in parallel, of course +// double min_temperature = temperature_solution(0), +// max_temperature = temperature_solution(0); +// for (unsigned int i=0; i (min_temperature, +// temperature_solution(i)); +// max_temperature = std::max (max_temperature, +// temperature_solution(i)); +// } - pcout << " Temperature range: " - << min_temperature << ' ' << max_temperature - << std::endl; +// pcout << " Temperature range: " +// << min_temperature << ' ' << max_temperature +// << std::endl; } } -- 2.39.5