From: Wolfgang Bangerth Date: Thu, 14 Aug 2008 16:49:41 +0000 (+0000) Subject: Switch on BDF2 scheme -- it seems to work. X-Git-Tag: v8.0.0~8882 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cae6fe61f5f76853975d3402eafba3718a0a35f;p=dealii.git Switch on BDF2 scheme -- it seems to work. git-svn-id: https://svn.dealii.org/trunk@16550 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 308502274b..07bf4bd7ba 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -1763,9 +1763,7 @@ void BoussinesqFlowProblem::assemble_system () template void BoussinesqFlowProblem::assemble_rhs_T () { - // TODO: right now, always do explicit - // Euler - const bool use_bdf2_scheme = (timestep_number == 0 ? true : false); + const bool use_bdf2_scheme = (timestep_number != 0); system_matrix.block(2,2) = 0;