From: Jean-Paul Pelteret Date: Mon, 29 May 2017 08:34:56 +0000 (+0200) Subject: Reduce computation time of step-18 based tests X-Git-Tag: v9.0.0-rc1~1561^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a13fa1df1f13539b9da665e2a1f98f2d0232de69;p=dealii.git Reduce computation time of step-18 based tests --- diff --git a/tests/physics/step-18-rotation_matrix.cc b/tests/physics/step-18-rotation_matrix.cc index b8d70f6dd8..00747abf00 100644 --- a/tests/physics/step-18-rotation_matrix.cc +++ b/tests/physics/step-18-rotation_matrix.cc @@ -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) diff --git a/tests/physics/step-18-rotation_matrix.with_petsc=true.with_petsc_with_complex=false.output b/tests/physics/step-18-rotation_matrix.with_petsc=true.with_petsc_with_complex=false.output index 91219e30f8..560500d994 100644 --- a/tests/physics/step-18-rotation_matrix.with_petsc=true.with_petsc_with_complex=false.output +++ b/tests/physics/step-18-rotation_matrix.with_petsc=true.with_petsc_with_complex=false.output @@ -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 diff --git a/tests/physics/step-18.cc b/tests/physics/step-18.cc index 75fbf0c3c1..a937356fc0 100644 --- a/tests/physics/step-18.cc +++ b/tests/physics/step-18.cc @@ -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) diff --git a/tests/physics/step-18.with_petsc=true.with_petsc_with_complex=false.output b/tests/physics/step-18.with_petsc=true.with_petsc_with_complex=false.output index 91219e30f8..560500d994 100644 --- a/tests/physics/step-18.with_petsc=true.with_petsc_with_complex=false.output +++ b/tests/physics/step-18.with_petsc=true.with_petsc_with_complex=false.output @@ -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