]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
forward theta to internal operators and fix the order in src2
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 May 2014 19:09:31 +0000 (19:09 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 May 2014 19:09:31 +0000 (19:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@32976 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/algorithms/theta_timestepping.templates.h

index 9d007be8a93165a3c2813e2acbd9d630e23107fd..78d92783bf71e6cd2f5b4bff25748191d0fbfcb9 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.