From 9e034a6f8bed209b5262ea63be10a205eddf69c7 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 22 Nov 2001 16:30:59 +0000 Subject: [PATCH] Fix several std:: places. git-svn-id: https://svn.dealii.org/trunk@5248 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-12/step-12.cc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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. -- 2.39.5