From: heister Date: Fri, 24 May 2013 13:55:20 +0000 (+0000) Subject: step-50: add gridout X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25de8ee5d2bfa238a9ef2fd044f705fd7e48cf49;p=dealii-svn.git step-50: add gridout git-svn-id: https://svn.dealii.org/trunk@29570 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);