]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added the previous solution to the data for the inner solver as well
authorBaerbel Jannsen <baerbel.janssen@gmail.com>
Mon, 2 Aug 2010 13:31:14 +0000 (13:31 +0000)
committerBaerbel Jannsen <baerbel.janssen@gmail.com>
Mon, 2 Aug 2010 13:31:14 +0000 (13:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@21608 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 8efc3a2ca197b287176b66b6697e7a358aaf661f..c6c5d645ab3b42346261997c21c1a32182c8971b 100644 (file)
@@ -76,14 +76,17 @@ namespace Algorithms
                                     // timestep
     VECTOR* p = out(0);
     NamedData<VECTOR*> src1;
-    src1.add(p, "Previous time");
+    src1.add(p, "Previous iterate");
     src1.merge(in);
+
+    NamedData<VECTOR*> src2;
+    src2.add(p, "Previous iterate");
+
     p = aux;
     NamedData<VECTOR*> out1;
     out1.add(p, "Result");
                                     // The data provided to the inner
                                     // solver
-    NamedData<VECTOR*> src2;
     src2.add(p, "Previous time");
     src2.merge(in);
 

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.