From: Wolfgang Bangerth Date: Thu, 22 Nov 2001 16:30:59 +0000 (+0000) Subject: Fix several std:: places. X-Git-Tag: v8.0.0~18586 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=276520d4008af358abdf286921d847704c6aca7e;p=dealii.git Fix several std:: places. git-svn-id: https://svn.dealii.org/trunk@5248 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-12/step-12.cc b/deal.II/examples/step-12/step-12.cc index 8d568d396a..3d93e2cca4 100644 --- a/deal.II/examples/step-12/step-12.cc +++ b/deal.II/examples/step-12/step-12.cc @@ -1531,7 +1531,7 @@ void DGMethod::output_results (const unsigned int cycle) const 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; @@ -1544,7 +1544,8 @@ void DGMethod::output_results (const unsigned int cycle) const 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 data_out; @@ -1607,7 +1608,9 @@ void DGMethod::run () // 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 @@ -1624,7 +1627,9 @@ void DGMethod::run () // 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 @@ -1636,7 +1641,7 @@ void DGMethod::run () 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.