]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Reduce computation time of step-18 based tests 4436/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Mon, 29 May 2017 08:34:56 +0000 (10:34 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Mon, 29 May 2017 08:34:56 +0000 (10:34 +0200)
tests/physics/step-18-rotation_matrix.cc
tests/physics/step-18-rotation_matrix.with_petsc=true.with_petsc_with_complex=false.output
tests/physics/step-18.cc
tests/physics/step-18.with_petsc=true.with_petsc_with_complex=false.output

index b8d70f6dd8abc675145c4185cd66fad7535fe6fc..00747abf00ce90f618cfd114195b4f39175b0a90 100644 (file)
@@ -304,7 +304,7 @@ namespace Step18
   {
     present_time = 0;
     present_timestep = 1;
-    end_time = 10;
+    end_time = 5;
     timestep_no = 0;
     do_initial_timestep ();
     while (present_time < end_time)
@@ -581,7 +581,7 @@ namespace Step18
     ++timestep_no;
     pcout << "Timestep " << timestep_no << " at time " << present_time
           << std::endl;
-    for (unsigned int cycle=0; cycle<2; ++cycle)
+    for (unsigned int cycle=0; cycle<1; ++cycle)
       {
         pcout << "  Cycle " << cycle << ':' << std::endl;
         if (cycle == 0)
index 91219e30f882b3d898ed8c4b66de160453de8ade..560500d994952f319c42a0136dc7eef1c22d4f9d 100644 (file)
@@ -1,10 +1,5 @@
 
-DEAL::Timestep 2: 0.00982 -1.35e-06 -0.100
-DEAL::Timestep 3: 0.0201 -3.32e-06 -0.200
-DEAL::Timestep 4: 0.0308 -5.19e-06 -0.300
-DEAL::Timestep 5: 0.0424 -5.68e-06 -0.400
-DEAL::Timestep 6: 0.0554 7.87e-07 -0.500
-DEAL::Timestep 7: 0.0720 3.84e-05 -0.600
-DEAL::Timestep 8: 0.0979 0.000188 -0.700
-DEAL::Timestep 9: 0.139 0.000618 -0.800
-DEAL::Timestep 10: 0.178 0.00126 -0.900
+DEAL::Timestep 2: 0.00982 -7.31e-08 -0.100
+DEAL::Timestep 3: 0.0201 6.50e-08 -0.200
+DEAL::Timestep 4: 0.0308 2.51e-07 -0.300
+DEAL::Timestep 5: 0.0424 9.18e-07 -0.400
index 75fbf0c3c19886118d4eab97fa0f7153da03561f..a937356fc0eb5b1597309c0279529857f256a2f9 100644 (file)
@@ -331,7 +331,7 @@ namespace Step18
   {
     present_time = 0;
     present_timestep = 1;
-    end_time = 10;
+    end_time = 5;
     timestep_no = 0;
     do_initial_timestep ();
     while (present_time < end_time)
@@ -608,7 +608,7 @@ namespace Step18
     ++timestep_no;
     pcout << "Timestep " << timestep_no << " at time " << present_time
           << std::endl;
-    for (unsigned int cycle=0; cycle<2; ++cycle)
+    for (unsigned int cycle=0; cycle<1; ++cycle)
       {
         pcout << "  Cycle " << cycle << ':' << std::endl;
         if (cycle == 0)
index 91219e30f882b3d898ed8c4b66de160453de8ade..560500d994952f319c42a0136dc7eef1c22d4f9d 100644 (file)
@@ -1,10 +1,5 @@
 
-DEAL::Timestep 2: 0.00982 -1.35e-06 -0.100
-DEAL::Timestep 3: 0.0201 -3.32e-06 -0.200
-DEAL::Timestep 4: 0.0308 -5.19e-06 -0.300
-DEAL::Timestep 5: 0.0424 -5.68e-06 -0.400
-DEAL::Timestep 6: 0.0554 7.87e-07 -0.500
-DEAL::Timestep 7: 0.0720 3.84e-05 -0.600
-DEAL::Timestep 8: 0.0979 0.000188 -0.700
-DEAL::Timestep 9: 0.139 0.000618 -0.800
-DEAL::Timestep 10: 0.178 0.00126 -0.900
+DEAL::Timestep 2: 0.00982 -7.31e-08 -0.100
+DEAL::Timestep 3: 0.0201 6.50e-08 -0.200
+DEAL::Timestep 4: 0.0308 2.51e-07 -0.300
+DEAL::Timestep 5: 0.0424 9.18e-07 -0.400

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.