]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
write faces for DX
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 14 May 2005 22:24:57 +0000 (22:24 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 14 May 2005 22:24:57 +0000 (22:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@10678 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/utilities/gridio.cc

index 54003af87e11c2069882aab6327e9416bb74ffb4..7634a45961d3c32817e747ef4555c7d1032ce7ff 100644 (file)
@@ -25,8 +25,11 @@ void convert(const char* infile,
   GridIn<dim> gin;
   gin.attach_triangulation(tr);
   gin.read(infile);
-
+  
   GridOut gout;
+  GridOutFlags::DX dx_flags(true, true, true, false, true);
+  gout.set_flags(dx_flags);
+  
   ofstream out(outfile);
   gout.write(tr, out, oformat);
 }

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.