From 6dbe63066a83a92f1091d13496132b5d67551c8b Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 4 Dec 2017 12:31:26 +0100 Subject: [PATCH] Adjust periodicity test. --- tests/mpi/periodicity_02.cc | 5 +++-- ...odicity_02.with_trilinos=true.mpirun=3.output | 16 ++++++++-------- ...odicity_02.with_trilinos=true.mpirun=5.output | 16 ++++++++-------- ...odicity_02.with_trilinos=true.mpirun=7.output | 16 ++++++++-------- 4 files changed, 27 insertions(+), 26 deletions(-) diff --git a/tests/mpi/periodicity_02.cc b/tests/mpi/periodicity_02.cc index 79ec6cabb0..ef1a9722c0 100644 --- a/tests/mpi/periodicity_02.cc +++ b/tests/mpi/periodicity_02.cc @@ -18,7 +18,7 @@ // check solution for periodicity. The used test case is based on step-22. // We consider a 2D quarter hyper shell and require periodicity with respect to // the left and lower boundary. -// We refine two times adaptively using the Kelly error estimator. +// We refine two times adaptively using the Kelly error estimator. Note that // #define PERIODIC @@ -696,10 +696,11 @@ namespace Step22 estimated_error_per_cell, fe.component_mask(pressure)); + // Note: this test does parallel::distributed::GridRefinement:: refine_and_coarsen_fixed_number (triangulation, estimated_error_per_cell, - 0.3, 0.0); + 0.32, 0.0); triangulation.execute_coarsening_and_refinement (); } diff --git a/tests/mpi/periodicity_02.with_trilinos=true.mpirun=3.output b/tests/mpi/periodicity_02.with_trilinos=true.mpirun=3.output index 53d4955a34..686e5d2fa7 100644 --- a/tests/mpi/periodicity_02.with_trilinos=true.mpirun=3.output +++ b/tests/mpi/periodicity_02.with_trilinos=true.mpirun=3.output @@ -15,16 +15,16 @@ Refinement cycle 1 0.00000 0.691406 -1.44635 0.00000 0.00000 0.753906 -1.32644 0.00000 0.00000 0.816406 -1.22489 0.00000 -0.00000 0.878906 -1.13782 0.00000 -0.00000 0.941406 -1.06222 0.00000 +0.00000 0.878906 -1.13779 0.00000 +0.00000 0.941406 -1.06225 0.00000 Refinement cycle 2 Assembling... Computing preconditioner... Solving... 0.00000 0.533203 -1.87547 0.00000 -0.00000 0.564453 -1.77163 0.00000 -0.00000 0.595703 -1.67869 0.00000 +0.00000 0.564453 -1.77166 0.00000 +0.00000 0.595703 -1.67867 0.00000 0.00000 0.626953 -1.59504 0.00000 0.00000 0.658203 -1.51928 0.00000 0.00000 0.689453 -1.45044 0.00000 @@ -33,8 +33,8 @@ Refinement cycle 2 0.00000 0.783203 -1.27680 0.00000 0.00000 0.814453 -1.22782 0.00000 0.00000 0.845703 -1.18244 0.00000 -0.00000 0.876953 -1.14033 0.00000 -0.00000 0.908203 -1.10120 0.00000 -0.00000 0.939453 -1.06444 0.00000 -0.00000 0.970703 -1.03006 0.00000 +0.00000 0.876953 -1.14032 0.00000 +0.00000 0.908203 -1.10107 0.00000 +0.00000 0.939453 -1.06445 0.00000 +0.00000 0.970703 -1.03018 0.00000 diff --git a/tests/mpi/periodicity_02.with_trilinos=true.mpirun=5.output b/tests/mpi/periodicity_02.with_trilinos=true.mpirun=5.output index 53d4955a34..686e5d2fa7 100644 --- a/tests/mpi/periodicity_02.with_trilinos=true.mpirun=5.output +++ b/tests/mpi/periodicity_02.with_trilinos=true.mpirun=5.output @@ -15,16 +15,16 @@ Refinement cycle 1 0.00000 0.691406 -1.44635 0.00000 0.00000 0.753906 -1.32644 0.00000 0.00000 0.816406 -1.22489 0.00000 -0.00000 0.878906 -1.13782 0.00000 -0.00000 0.941406 -1.06222 0.00000 +0.00000 0.878906 -1.13779 0.00000 +0.00000 0.941406 -1.06225 0.00000 Refinement cycle 2 Assembling... Computing preconditioner... Solving... 0.00000 0.533203 -1.87547 0.00000 -0.00000 0.564453 -1.77163 0.00000 -0.00000 0.595703 -1.67869 0.00000 +0.00000 0.564453 -1.77166 0.00000 +0.00000 0.595703 -1.67867 0.00000 0.00000 0.626953 -1.59504 0.00000 0.00000 0.658203 -1.51928 0.00000 0.00000 0.689453 -1.45044 0.00000 @@ -33,8 +33,8 @@ Refinement cycle 2 0.00000 0.783203 -1.27680 0.00000 0.00000 0.814453 -1.22782 0.00000 0.00000 0.845703 -1.18244 0.00000 -0.00000 0.876953 -1.14033 0.00000 -0.00000 0.908203 -1.10120 0.00000 -0.00000 0.939453 -1.06444 0.00000 -0.00000 0.970703 -1.03006 0.00000 +0.00000 0.876953 -1.14032 0.00000 +0.00000 0.908203 -1.10107 0.00000 +0.00000 0.939453 -1.06445 0.00000 +0.00000 0.970703 -1.03018 0.00000 diff --git a/tests/mpi/periodicity_02.with_trilinos=true.mpirun=7.output b/tests/mpi/periodicity_02.with_trilinos=true.mpirun=7.output index 53d4955a34..686e5d2fa7 100644 --- a/tests/mpi/periodicity_02.with_trilinos=true.mpirun=7.output +++ b/tests/mpi/periodicity_02.with_trilinos=true.mpirun=7.output @@ -15,16 +15,16 @@ Refinement cycle 1 0.00000 0.691406 -1.44635 0.00000 0.00000 0.753906 -1.32644 0.00000 0.00000 0.816406 -1.22489 0.00000 -0.00000 0.878906 -1.13782 0.00000 -0.00000 0.941406 -1.06222 0.00000 +0.00000 0.878906 -1.13779 0.00000 +0.00000 0.941406 -1.06225 0.00000 Refinement cycle 2 Assembling... Computing preconditioner... Solving... 0.00000 0.533203 -1.87547 0.00000 -0.00000 0.564453 -1.77163 0.00000 -0.00000 0.595703 -1.67869 0.00000 +0.00000 0.564453 -1.77166 0.00000 +0.00000 0.595703 -1.67867 0.00000 0.00000 0.626953 -1.59504 0.00000 0.00000 0.658203 -1.51928 0.00000 0.00000 0.689453 -1.45044 0.00000 @@ -33,8 +33,8 @@ Refinement cycle 2 0.00000 0.783203 -1.27680 0.00000 0.00000 0.814453 -1.22782 0.00000 0.00000 0.845703 -1.18244 0.00000 -0.00000 0.876953 -1.14033 0.00000 -0.00000 0.908203 -1.10120 0.00000 -0.00000 0.939453 -1.06444 0.00000 -0.00000 0.970703 -1.03006 0.00000 +0.00000 0.876953 -1.14032 0.00000 +0.00000 0.908203 -1.10107 0.00000 +0.00000 0.939453 -1.06445 0.00000 +0.00000 0.970703 -1.03018 0.00000 -- 2.39.5