Assert (cycle < 10, ExcInternalError());
filename += ".eps";
- cout << "Writing grid to <" << filename << ">..." << endl;
+ std::cout << "Writing grid to <" << filename << ">..." << std::endl;
std::ofstream eps_output (filename.c_str());
GridOut grid_out;
Assert (cycle < 10, ExcInternalError());
filename += ".gnuplot";
- cout << "Writing solution to <" << filename << ">..." << endl << endl;
+ std::cout << "Writing solution to <" << filename << ">..."
+ << std::endl << std::endl;
std::ofstream gnuplot_output (filename.c_str());
DataOut<dim> data_out;
// current time without
// disturbing the time
// measurement.
- cout << "Time of assemble_system1: " << assemble_timer() << endl;
+ std::cout << "Time of assemble_system1: "
+ << assemble_timer()
+ << std::endl;
solve (solution1);
// As preparation for the
// call the second assembling routine
assemble_system2 ();
// and access the current time.
- cout << "Time of assemble_system2: " << assemble_timer() << endl;
+ std::cout << "Time of assemble_system2: "
+ << assemble_timer()
+ << std::endl;
solve (solution2);
// To make sure that both
solution1-=solution2;
const double difference=solution1.linfty_norm();
if (difference>1e-13)
- cout << "solution1 and solution2 differ!!" << endl;
+ std::cout << "solution1 and solution2 differ!!" << std::endl;
// Finally we perform the
// output.