[cig-commits] commit 2052 by bangerth to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Mon Nov 25 06:30:43 PST 2013


Revision 2052

Another piece of Juliane's branch r1679:
Set all solution vectors to the same value, including the second
previous one.

U   trunk/aspect/source/simulator/initial_conditions.cc


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2052&peg=2052

Diff:
Modified: trunk/aspect/source/simulator/initial_conditions.cc
===================================================================
--- trunk/aspect/source/simulator/initial_conditions.cc	2013-11-25 14:14:05 UTC (rev 2051)
+++ trunk/aspect/source/simulator/initial_conditions.cc	2013-11-25 14:30:03 UTC (rev 2052)
@@ -293,8 +293,9 @@
     // equals a known and desired value
     normalize_pressure(old_solution);
 
-    // set the current solution to the same value as the previous solution
+    // set all solution vectors to the same value as the previous solution
     solution = old_solution;
+    old_old_solution = old_solution;
   }
 }
 


More information about the CIG-COMMITS mailing list