From: Timo Heister Date: Mon, 5 Sep 2016 17:36:57 +0000 (-0400) Subject: fix tests X-Git-Tag: v8.5.0-rc1~699^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3033%2Fhead;p=dealii.git fix tests --- diff --git a/tests/mappings/mapping_q1_eulerian_01.cc b/tests/mappings/mapping_q1_eulerian_01.cc index 80a5383b68..100a441058 100644 --- a/tests/mappings/mapping_q1_eulerian_01.cc +++ b/tests/mappings/mapping_q1_eulerian_01.cc @@ -105,8 +105,7 @@ void test () // now the actual test DataOut data_out; data_out.attach_dof_handler(dof_handler); - std::vector names (dim, "displacement"); - data_out.add_data_vector(displacements,names); + data_out.add_data_vector(displacements, "displacement"); // output with all cells curved data_out.build_patches(euler,1,DataOut::curved_inner_cells); diff --git a/tests/mappings/mapping_q1_eulerian_01.output b/tests/mappings/mapping_q1_eulerian_01.output index 3c5900d04e..c75b284d7a 100644 --- a/tests/mappings/mapping_q1_eulerian_01.output +++ b/tests/mappings/mapping_q1_eulerian_01.output @@ -18,7 +18,7 @@ DEAL::dim=2 # # For a description of the GNUPLOT format see the GNUPLOT manual. # -# +# -2.000 -2.000 -1.000 -1.000 2.000 -2.000 1.000 -1.000 @@ -33,7 +33,7 @@ DEAL::dim=3 # # For a description of the GNUPLOT format see the GNUPLOT manual. # -# +# -2.000 -2.000 -2.000 -1.000 -1.000 -1.000 2.000 -2.000 -2.000 1.000 -1.000 -1.000 diff --git a/tests/mappings/mapping_q_eulerian_01.cc b/tests/mappings/mapping_q_eulerian_01.cc index 34f0038348..d254bed0eb 100644 --- a/tests/mappings/mapping_q_eulerian_01.cc +++ b/tests/mappings/mapping_q_eulerian_01.cc @@ -103,8 +103,7 @@ void test () // now the actual test DataOut data_out; data_out.attach_dof_handler(dof_handler); - std::vector names (dim, "displacement"); - data_out.add_data_vector(displacements,names); + data_out.add_data_vector(displacements, "displacement"); // output with all cells curved data_out.build_patches(euler,1,DataOut::curved_inner_cells); diff --git a/tests/mappings/mapping_q_eulerian_01.output b/tests/mappings/mapping_q_eulerian_01.output index 3c5900d04e..c75b284d7a 100644 --- a/tests/mappings/mapping_q_eulerian_01.output +++ b/tests/mappings/mapping_q_eulerian_01.output @@ -18,7 +18,7 @@ DEAL::dim=2 # # For a description of the GNUPLOT format see the GNUPLOT manual. # -# +# -2.000 -2.000 -1.000 -1.000 2.000 -2.000 1.000 -1.000 @@ -33,7 +33,7 @@ DEAL::dim=3 # # For a description of the GNUPLOT format see the GNUPLOT manual. # -# +# -2.000 -2.000 -2.000 -1.000 -1.000 -1.000 2.000 -2.000 -2.000 1.000 -1.000 -1.000 diff --git a/tests/mappings/mapping_q_eulerian_02.cc b/tests/mappings/mapping_q_eulerian_02.cc index 86a1fb86d8..cb1ac73ced 100644 --- a/tests/mappings/mapping_q_eulerian_02.cc +++ b/tests/mappings/mapping_q_eulerian_02.cc @@ -105,8 +105,7 @@ void test () // now the actual test DataOut data_out; data_out.attach_dof_handler(dof_handler); - std::vector names (dim, "displacement"); - data_out.add_data_vector(displacements,names); + data_out.add_data_vector(displacements, "displacement"); // output with all cells curved data_out.build_patches(euler,1,DataOut::curved_inner_cells); diff --git a/tests/mappings/mapping_q_eulerian_02.output b/tests/mappings/mapping_q_eulerian_02.output index 7349634163..b8aaa51e2e 100644 --- a/tests/mappings/mapping_q_eulerian_02.output +++ b/tests/mappings/mapping_q_eulerian_02.output @@ -18,7 +18,7 @@ DEAL::dim=2 # # For a description of the GNUPLOT format see the GNUPLOT manual. # -# +# -0.5000 -0.5000 0.5000 0.5000 1.500 -1.500 0.5000 -0.5000 @@ -33,7 +33,7 @@ DEAL::dim=3 # # For a description of the GNUPLOT format see the GNUPLOT manual. # -# +# -0.5000 -0.5000 -0.5000 0.5000 0.5000 0.5000 1.500 -1.500 -1.500 0.5000 -0.5000 -0.5000 diff --git a/tests/mappings/mapping_q_eulerian_03.cc b/tests/mappings/mapping_q_eulerian_03.cc index df100f4137..8904abb8dc 100644 --- a/tests/mappings/mapping_q_eulerian_03.cc +++ b/tests/mappings/mapping_q_eulerian_03.cc @@ -106,8 +106,7 @@ void test () // now the actual test DataOut data_out; data_out.attach_dof_handler(dof_handler); - std::vector names (dim, "displacement"); - data_out.add_data_vector(displacements,names); + data_out.add_data_vector(displacements, "displacement"); // output with all cells curved data_out.build_patches(euler,5,DataOut::curved_inner_cells); diff --git a/tests/mappings/mapping_q_eulerian_03.output b/tests/mappings/mapping_q_eulerian_03.output index dc6d7e4b71..a0d79bb4a2 100644 --- a/tests/mappings/mapping_q_eulerian_03.output +++ b/tests/mappings/mapping_q_eulerian_03.output @@ -22,7 +22,7 @@ DEAL::dim=2 # # For a description of the GNUPLOT format see the GNUPLOT manual. # -# +# -3.000 -3.000 -2.000 -2.000 -1.800 -2.360 -1.200 -1.360 -0.6000 -2.040 -0.4000 -1.040 @@ -73,7 +73,7 @@ DEAL::dim=3 # # For a description of the GNUPLOT format see the GNUPLOT manual. # -# +# -4.000 -4.000 -4.000 -3.000 -3.000 -3.000 -2.400 -3.360 -3.360 -1.800 -2.360 -2.360