From fc5c51404ff068366a8927ec63856ced2ef6b730 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 13 Sep 2013 21:23:28 +0000 Subject: [PATCH] Bugfixes git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30696 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/mpi/mg_01.cc | 2 +- tests/mpi/mg_03.cc | 2 +- tests/mpi/mg_04.cc | 2 +- tests/mpi/mg_05.cc | 2 +- tests/mpi/p4est_2d_constraintmatrix_03.cc | 2 +- tests/mpi/p4est_2d_constraintmatrix_04.cc | 2 +- tests/mpi/p4est_3d_constraintmatrix_03.cc | 2 +- tests/mpi/p4est_3d_ghost_01.cc | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/mpi/mg_01.cc b/tests/mpi/mg_01.cc index ec3f5b36ba..1859be33fc 100644 --- a/tests/mpi/mg_01.cc +++ b/tests/mpi/mg_01.cc @@ -41,7 +41,7 @@ template void output(parallel::distributed::Triangulation &tr) { - const std::string filename = ("mg_01/mesh." + + const std::string filename = ("mesh." + Utilities::int_to_string (tr.locally_owned_subdomain(), 4) + ".fig"); diff --git a/tests/mpi/mg_03.cc b/tests/mpi/mg_03.cc index 94aae31a71..112aaf173c 100644 --- a/tests/mpi/mg_03.cc +++ b/tests/mpi/mg_03.cc @@ -56,7 +56,7 @@ template void output(parallel::distributed::Triangulation &tr) { - const std::string filename = ("mg_03/mesh." + + const std::string filename = ("mesh." + Utilities::int_to_string (tr.locally_owned_subdomain(), 4) + ".vtu"); diff --git a/tests/mpi/mg_04.cc b/tests/mpi/mg_04.cc index 1804669086..85249e8611 100644 --- a/tests/mpi/mg_04.cc +++ b/tests/mpi/mg_04.cc @@ -53,7 +53,7 @@ Additional Information: template void output(parallel::distributed::Triangulation &tr) { - const std::string filename = ("mg_04/mesh." + + const std::string filename = ("mesh." + Utilities::int_to_string (tr.locally_owned_subdomain(), 4) + ".vtu"); diff --git a/tests/mpi/mg_05.cc b/tests/mpi/mg_05.cc index 1eaa6ffd82..d14a225dff 100644 --- a/tests/mpi/mg_05.cc +++ b/tests/mpi/mg_05.cc @@ -53,7 +53,7 @@ Additional Information: template void output(parallel::distributed::Triangulation &tr) { - const std::string filename = ("mg_05/mesh." + + const std::string filename = ("mesh." + Utilities::int_to_string (tr.locally_owned_subdomain(), 4) + ".svg"); diff --git a/tests/mpi/p4est_2d_constraintmatrix_03.cc b/tests/mpi/p4est_2d_constraintmatrix_03.cc index da5a5c61f1..b166b2f2d2 100644 --- a/tests/mpi/p4est_2d_constraintmatrix_03.cc +++ b/tests/mpi/p4est_2d_constraintmatrix_03.cc @@ -193,7 +193,7 @@ void test() DataOut::type_dof_data, data_component_interpretation); data_out.build_patches (4); - const std::string filename = ("p4est_2d_constraintmatrix_03/solution." + + const std::string filename = ("solution." + Utilities::int_to_string (tr.locally_owned_subdomain(), 4) + ".d2"); diff --git a/tests/mpi/p4est_2d_constraintmatrix_04.cc b/tests/mpi/p4est_2d_constraintmatrix_04.cc index 0fd11247bd..d5940f956f 100644 --- a/tests/mpi/p4est_2d_constraintmatrix_04.cc +++ b/tests/mpi/p4est_2d_constraintmatrix_04.cc @@ -304,7 +304,7 @@ void test() data_out.add_data_vector(x_rel, solution_names); data_out.build_patches (1); - const std::string filename = ("p4est_2d_constraintmatrix_04/solution." + + const std::string filename = ("solution." + Utilities::int_to_string (tr.locally_owned_subdomain(), 4) + ".d2"); diff --git a/tests/mpi/p4est_3d_constraintmatrix_03.cc b/tests/mpi/p4est_3d_constraintmatrix_03.cc index 7f4b39f851..b30e4008e3 100644 --- a/tests/mpi/p4est_3d_constraintmatrix_03.cc +++ b/tests/mpi/p4est_3d_constraintmatrix_03.cc @@ -299,7 +299,7 @@ void test() data_out.add_data_vector(x_rel, solution_names); data_out.build_patches (1); - const std::string filename = ("p4est_3d_constraintmatrix_03/solution." + + const std::string filename = ("solution." + Utilities::int_to_string (tr.locally_owned_subdomain(), 4) + ".vtu"); diff --git a/tests/mpi/p4est_3d_ghost_01.cc b/tests/mpi/p4est_3d_ghost_01.cc index 56329089ad..08edd71fae 100644 --- a/tests/mpi/p4est_3d_ghost_01.cc +++ b/tests/mpi/p4est_3d_ghost_01.cc @@ -112,7 +112,7 @@ void test() << checksum << std::endl; - std::ofstream file("p4est_3d_ghost_01/1.gpl"); + std::ofstream file("1.pl"); GridOut().write_gnuplot (tr, file); } -- 2.39.5