From: bangerth Date: Mon, 12 Sep 2011 01:27:16 +0000 (+0000) Subject: Fix an oversight. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b4993bec31b17c200db1e961402aad900c698bd;p=dealii-svn.git Fix an oversight. git-svn-id: https://svn.dealii.org/trunk@24308 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);