From 25de8ee5d2bfa238a9ef2fd044f705fd7e48cf49 Mon Sep 17 00:00:00 2001 From: heister Date: Fri, 24 May 2013 13:55:20 +0000 Subject: [PATCH] step-50: add gridout git-svn-id: https://svn.dealii.org/trunk@29570 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-50/step-50.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deal.II/examples/step-50/step-50.cc b/deal.II/examples/step-50/step-50.cc index d7593ead9a..03b0057bde 100644 --- a/deal.II/examples/step-50/step-50.cc +++ b/deal.II/examples/step-50/step-50.cc @@ -49,6 +49,7 @@ #include #include #include +#include #include #include @@ -299,6 +300,12 @@ namespace Step50 template void LaplaceProblem::setup_system () { + std::ofstream out ("grid.svg"); + GridOut grid_out; + grid_out.write_svg (triangulation, out); + + + mg_dof_handler.distribute_dofs (fe); mg_dof_handler.distribute_mg_dofs (fe); -- 2.39.5