From: Wolfgang Bangerth Date: Mon, 22 Jun 2009 14:49:49 +0000 (+0000) Subject: Write the output_results() function. X-Git-Tag: v8.0.0~7602 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=589bfe54c3194c720b0d0a3bde5700729f15026c;p=dealii.git Write the output_results() function. git-svn-id: https://svn.dealii.org/trunk@18948 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-36/step-36.cc b/deal.II/examples/step-36/step-36.cc index f9f6d047bb..a82f8b7d21 100644 --- a/deal.II/examples/step-36/step-36.cc +++ b/deal.II/examples/step-36/step-36.cc @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -184,7 +185,7 @@ void EigenvalueProblem::assemble_system () template void EigenvalueProblem::solve () { -// do whatever is necessary here +// do whatever is necessary here } @@ -193,7 +194,19 @@ void EigenvalueProblem::solve () template void EigenvalueProblem::output_results () const { -// do whatever is necessary here + DataOut data_out; + + data_out.attach_dof_handler (dof_handler); + + for (unsigned int i=0; i