From: Wolfgang Bangerth Date: Thu, 26 Jan 2006 21:15:20 +0000 (+0000) Subject: Remove debug output. Move object declaration closer to use. X-Git-Tag: v8.0.0~12488 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bccbee92fff97ff89a883d777043504be1a0670;p=dealii.git Remove debug output. Move object declaration closer to use. git-svn-id: https://svn.dealii.org/trunk@12187 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/grid_transform.cc b/tests/deal.II/grid_transform.cc index f495c1048a..c10bbe5eec 100644 --- a/tests/deal.II/grid_transform.cc +++ b/tests/deal.II/grid_transform.cc @@ -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 >::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 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);