From 5ec839146246a5455277ace2b88512a88ce62809 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 13 Jun 2012 15:30:31 +0000 Subject: [PATCH] Use vtk output. Add a TODO. git-svn-id: https://svn.dealii.org/trunk@25624 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-47/step-47.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deal.II/examples/step-47/step-47.cc b/deal.II/examples/step-47/step-47.cc index d2974afb35..cb905c9c48 100644 --- a/deal.II/examples/step-47/step-47.cc +++ b/deal.II/examples/step-47/step-47.cc @@ -964,6 +964,7 @@ namespace Step47 computed_quantities[q](0) = (uh[q](0) + +//TODO: shift in weight function is missing! uh[q](1) * std::fabs(level_set(evaluation_points[q]))); computed_quantities[q](1) = (computed_quantities[q](0) @@ -981,8 +982,7 @@ namespace Step47 std::string filename = "solution-"; filename += ('0' + cycle); - //filename += ".vtk"; - filename += ".gmv"; + filename += ".vtk"; std::ofstream output (filename.c_str()); @@ -994,8 +994,7 @@ namespace Step47 data_out.add_data_vector (solution, postprocessor); data_out.build_patches (5); - //data_out.write_vtk (output); - data_out.write_gmv (output); + data_out.write_vtk (output); } -- 2.39.5