]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix missing std::'s.
authorthird-party <third-party@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 12 Sep 2001 13:56:37 +0000 (13:56 +0000)
committerthird-party <third-party@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 12 Sep 2001 13:56:37 +0000 (13:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@4977 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-10/step-10.cc

index 74d0867dad078edd0cece50021598c03cc3df1d9..25afd71837ac37a478fbd72b117dcaef23574efa 100644 (file)
@@ -44,7 +44,7 @@ void gnuplot_output()
        ++refinement, triangulation.refine_global(1))
     {
       std::cout << "Refinement level: " << refinement << std::endl;
-      string filename_base="ball";
+      std::string filename_base="ball";
       filename_base += ('0'+refinement);
       
       for (unsigned int order=1; order<4; ++order)
@@ -52,10 +52,10 @@ void gnuplot_output()
          std::cout << "Order = " << order;
          
          const MappingQ<dim> mapping (order);
-         string filename=filename_base+"_mapping_q";
+         std::string filename=filename_base+"_mapping_q";
          filename += ('0'+order);
          filename += ".dat";
-         ofstream gnuplot_file(filename.c_str());
+         std::ofstream gnuplot_file(filename.c_str());
 
          std::cout << ".   Writing gnuplot file <"
                    << filename << ">..." << std::endl;
@@ -137,7 +137,7 @@ void compute_pi_by_perimeter ()
   const QGauss4<dim-1> quadrature;
   for (unsigned int order=1; order<5; ++order)
     {
-      std::cout << "Order = " << order << endl;
+      std::cout << "Order = " << order << std::endl;
       Triangulation<dim> triangulation;
       GridGenerator::hyper_ball (triangulation);
   

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.