]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix bug for damping
authorfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Nov 2013 16:47:28 +0000 (16:47 +0000)
committerfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Nov 2013 16:47:28 +0000 (16:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@31592 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index 795047c5299ed8b4afbee1c1da1ec33cb48a8828..25da577c989547ef2b52720d0cb0e84db48fb176 100644 (file)
@@ -1820,8 +1820,8 @@ namespace Step42
                   break;
               }
 
-            old_solution = solution;
             solution = tmp_vector;
+            old_solution = solution;
           }
 
         old_active_set = active_set;

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.