From: Timo Heister Date: Sun, 23 Jan 2011 21:38:17 +0000 (+0000) Subject: step-32: simplify temperature calculation. X-Git-Tag: v8.0.0~4446 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9855763356ffcfe035be1858bd84196aaaf1ebb9;p=dealii.git step-32: simplify temperature calculation. git-svn-id: https://svn.dealii.org/trunk@23250 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index 068f301e6d..5e10d8ad8c 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -1135,12 +1135,8 @@ BoussinesqFlowProblem::get_extrapolated_temperature_range () const if (timestep_number != 0) { - double min_local_temperature = (1. + time_step/old_time_step) * - old_temperature_solution.linfty_norm() - + - time_step/old_time_step * - old_old_temperature_solution.linfty_norm(), - max_local_temperature = -min_local_temperature; + double min_local_temperature = 1e30, + max_local_temperature = -1e30; typename DoFHandler::active_cell_iterator cell = temperature_dof_handler.begin_active(),