From: kanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Fri, 23 May 2014 19:09:31 +0000 (+0000)
Subject: forward theta to internal operators and fix the order in src2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5839cf6cb35e87752630b49b3795c9baa34fce0;p=dealii-svn.git

forward theta to internal operators and fix the order in src2

git-svn-id: https://svn.dealii.org/trunk@32976 0785d39b-7218-0410-832d-ea1e28bc413d
---

diff --git a/deal.II/include/deal.II/algorithms/theta_timestepping.templates.h b/deal.II/include/deal.II/algorithms/theta_timestepping.templates.h
index 9d007be8a9..78d92783bf 100644
--- a/deal.II/include/deal.II/algorithms/theta_timestepping.templates.h
+++ b/deal.II/include/deal.II/algorithms/theta_timestepping.templates.h
@@ -93,17 +93,19 @@ namespace Algorithms
     src1.add<const VECTOR *>(&solution, "Previous iterate");
     src1.add<const double *>(&d_explicit.time, "Time");
     src1.add<const double *>(&d_explicit.step, "Timestep");
+    src1.add<const double *>(&vtheta, "Theta");
     src1.merge(in);
 
     AnyData src2;
-    src2.add<const VECTOR *>(&solution, "Previous iterate");
 
     AnyData out1;
     out1.add<VECTOR *>(aux, "Solution");
     // The data provided to the inner solver
     src2.add<const VECTOR *>(aux, "Previous time");
+    src2.add<const VECTOR *>(&solution, "Previous iterate");
     src2.add<const double *>(&d_implicit.time, "Time");
     src2.add<const double *>(&d_implicit.step, "Timestep");
+    src2.add<const double *>(&vtheta, "Theta");
     src2.merge(in);
 
     if (output != 0)