// $Id$
// Version: $Name$
//
-// Copyright (C) 2009, 2010 by the deal.II authors
+// Copyright (C) 2009, 2010, 2011 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
DoFTools::make_hanging_node_constraints (dofh, cm2);
{
- std::ofstream file((std::string("p4est_2d_constraintmatrix_01/dat.") + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file((std::string("p4est_2d_constraintmatrix_01/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 << std::endl;
cm.print(file);
file << "****" << std::endl;
{
for (unsigned int i=0;i<numproc;++i)
{
- cat_file((std::string("p4est_2d_constraintmatrix_01/dat.") + Utilities::int_to_string(i)).c_str());
+ cat_file((std::string("p4est_2d_constraintmatrix_01/ncpu_") + Utilities::int_to_string(Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(i)).c_str());
}
}
if (myid==0)
{
- std::ofstream file((std::string("p4est_2d_constraintmatrix_03/dat.") + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file((std::string("p4est_2d_constraintmatrix_03/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 << std::endl;
x_dub.print(file);
}
if (myid==0)
{
- cat_file((std::string("p4est_2d_constraintmatrix_03/dat.") + Utilities::int_to_string(0)).c_str());
+ cat_file((std::string("p4est_2d_constraintmatrix_03/ncpu_") + Utilities::int_to_string(Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(0)).c_str());
}
tr.set_boundary (0);
DoFTools::make_hanging_node_constraints (dofh, cm2);
{
- std::ofstream file((std::string("p4est_3d_constraintmatrix_01/dat.") + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file((std::string("p4est_3d_constraintmatrix_01/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 << std::endl;
cm.print(file);
file << "****" << std::endl;
{
for (unsigned int i=0;i<numproc;++i)
{
- cat_file((std::string("p4est_3d_constraintmatrix_01/dat.") + Utilities::int_to_string(i)).c_str());
+ cat_file((std::string("p4est_3d_constraintmatrix_01/ncpu_") + Utilities::int_to_string(Utilities::System::get_n_mpi_processes (MPI_COMM_WORLD)) + "/dat." + Utilities::int_to_string(i)).c_str());
}
}
{
for (unsigned int i=0;i<numproc;++i)
{
- cat_file((std::string("p4est_3d_constraintmatrix_04/dat.") + Utilities::int_to_string(i)).c_str());
+ cat_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(i)).c_str());
}
}
}