From cc85140687cb00e671a8cec7620a2549a3c6bce3 Mon Sep 17 00:00:00 2001 From: Baerbel Jannsen Date: Mon, 2 Aug 2010 13:31:14 +0000 Subject: [PATCH] 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 --- .../lac/include/algorithms/theta_timestepping.templates.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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); -- 2.39.5