]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use vtk output. Add a TODO.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Jun 2012 15:30:31 +0000 (15:30 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Jun 2012 15:30:31 +0000 (15:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@25624 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-47/step-47.cc

index d2974afb35ddf54f56d60bc5c2cc472c8edc91b1..cb905c9c48b7583511753a191a76b7142d4d676e 100644 (file)
@@ -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);
   }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.