From 9b4993bec31b17c200db1e961402aad900c698bd Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 12 Sep 2011 01:27:16 +0000 Subject: [PATCH] Fix an oversight. git-svn-id: https://svn.dealii.org/trunk@24308 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/mpi/p4est_3d_constraintmatrix_04.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mpi/p4est_3d_constraintmatrix_04.cc b/tests/mpi/p4est_3d_constraintmatrix_04.cc index 3a86a13b91..3ca799f46a 100644 --- a/tests/mpi/p4est_3d_constraintmatrix_04.cc +++ b/tests/mpi/p4est_3d_constraintmatrix_04.cc @@ -69,7 +69,7 @@ void test () IndexSet locally_active (dof.n_dofs()); DoFTools::extract_locally_active_dofs (dof, locally_active); - std::ofstream file (("p4est_3d_constraintmatrix_04/dat."+Utilities::int_to_string(myid,1)).c_str()); + std::ofstream file((std::string("p4est_3d_constraintmatrix_04/ncpu_") + Utilities::int_to_string(Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(myid)).c_str()); file << "**** proc " << myid << ": \n\n"; file << "Constraints:\n"; constraints.print(file); -- 2.39.5