]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove debug output. Move object declaration closer to use.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 26 Jan 2006 21:15:20 +0000 (21:15 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 26 Jan 2006 21:15:20 +0000 (21:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@12187 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/grid_transform.cc

index f495c1048aeb9b07b0f7be11788af14cf74c002a..c10bbe5eecce898dad65d399e17fd9ca39ed0783 100644 (file)
@@ -39,13 +39,6 @@ int main ()
   GridGenerator::hyper_shell(tria, origin, inner_radius, outer_radius, 8);
   tria.refine_global(2);
   
-  GridOut grid_out;
-  if (false)
-    {
-      std::ofstream eps_stream1("grid_untransformed/output");
-      grid_out.write_eps(tria, eps_stream1, &mapping);
-    }
-  
                                   // build up a map of vertex indices
                                   // of boundary vertices to the new
                                   // boundary points
@@ -99,18 +92,11 @@ int main ()
          }
     }
 
-                                  // test output
-  if (false)
-    {
-      std::cout << "New points:" << std::endl;
-      std::map<unsigned int,Point<dim> >::const_iterator map_iter;
-      for (map_iter=new_points.begin(); map_iter!=new_points.end(); ++map_iter)
-       std::cout << "vertex " << map_iter->first << ": " << map_iter->second << std::endl;
-    }
-
   GridGenerator::laplace_transformation (tria, new_points);
   HyperBallBoundary<dim> inner_ball(n_center, n_radius);
   tria.set_boundary(1, inner_ball);
+
+  GridOut grid_out;
   std::ofstream eps_stream2("grid_transform/output");
   grid_out.write_eps(tria, eps_stream2, &mapping);
 

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.