From: bangerth Date: Thu, 14 Aug 2008 16:49:41 +0000 (+0000) Subject: Switch on BDF2 scheme -- it seems to work. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7b8b728b952a5f91c6132c97d1a354c4ad096e9;p=dealii-svn.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;