deallog << "size[1]: " << v.block(1).size() << std::endl;
{
- std::ofstream file (("dat." + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file ((std::string("dat.") + Utilities::int_to_string(myid)).c_str());
file << "**** proc " << myid << std::endl;
v.print(file);
{
for (unsigned int i=0; i<Utilities::MPI::n_mpi_processes (MPI_COMM_WORLD); ++i)
{
- cat_file(("dat." + Utilities::int_to_string(i)).c_str());
+ cat_file((std::string("dat.") + Utilities::int_to_string(i)).c_str());
}
}
DoFTools::make_hanging_node_constraints (dofh, cm2);
{
- std::ofstream file((std::string("dat." + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file((std::string("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("dat." + Utilities::int_to_string(i)).c_str());
+ cat_file((std::string("dat.") + Utilities::int_to_string(i)).c_str());
}
}
if (myid==0)
{
- std::ofstream file((std::string("dat." + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file((std::string("dat.") + Utilities::int_to_string(myid)).c_str());
file << "**** proc " << myid << std::endl;
x_dub.print(file);
}
if (myid==0)
{
- cat_file((std::string("dat." + Utilities::int_to_string(0)).c_str());
+ cat_file((std::string("dat.") + Utilities::int_to_string(0)).c_str());
}
tr.set_boundary (0);
DoFTools::make_hanging_node_constraints (dofh, cm2);
{
- std::ofstream file((std::string("dat." + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file((std::string("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("dat." + Utilities::int_to_string(i)).c_str());
+ cat_file((std::string("dat.") + Utilities::int_to_string(i)).c_str());
}
}
IndexSet locally_active (dof.n_dofs());
DoFTools::extract_locally_active_dofs (dof, locally_active);
- std::ofstream file((std::string("dat." + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file((std::string("dat.") + Utilities::int_to_string(myid)).c_str());
file << "**** proc " << myid << ": \n\n";
file << "Constraints:\n";
constraints.print(file);
{
for (unsigned int i=0; i<numproc; ++i)
{
- cat_file((std::string("dat." + Utilities::int_to_string(i)).c_str());
+ cat_file((std::string("dat.") + Utilities::int_to_string(i)).c_str());
}
}
}
// write the info on ghost processors and import indices to file
{
- std::ofstream file(("dat." + Utilities::int_to_string(myid)).c_str());
+ std::ofstream file((std::string("dat.") + Utilities::int_to_string(myid)).c_str());
file << "**** proc " << myid << std::endl;
file << "ghost targets: ";
for (unsigned int i=0; i<v.ghost_targets().size(); ++i)
{
for (unsigned int i=0; i<numproc; ++i)
{
- cat_file(("dat." + Utilities::int_to_string(i)).c_str());
+ cat_file((std::string("dat.") + Utilities::int_to_string(i)).c_str());
}
}