From: Baerbel Jannsen Date: Mon, 2 Aug 2010 13:31:14 +0000 (+0000) Subject: added the previous solution to the data for the inner solver as well X-Git-Tag: v8.0.0~5756 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc85140687cb00e671a8cec7620a2549a3c6bce3;p=dealii.git added the previous solution to the data for the inner solver as well git-svn-id: https://svn.dealii.org/trunk@21608 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/algorithms/theta_timestepping.templates.h b/deal.II/lac/include/algorithms/theta_timestepping.templates.h index 8efc3a2ca1..c6c5d645ab 100644 --- a/deal.II/lac/include/algorithms/theta_timestepping.templates.h +++ b/deal.II/lac/include/algorithms/theta_timestepping.templates.h @@ -76,14 +76,17 @@ namespace Algorithms // timestep VECTOR* p = out(0); NamedData src1; - src1.add(p, "Previous time"); + src1.add(p, "Previous iterate"); src1.merge(in); + + NamedData src2; + src2.add(p, "Previous iterate"); + p = aux; NamedData out1; out1.add(p, "Result"); // The data provided to the inner // solver - NamedData src2; src2.add(p, "Previous time"); src2.merge(in);