]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove debug output.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 12 Mar 2010 16:51:21 +0000 (16:51 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 12 Mar 2010 16:51:21 +0000 (16:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@20812 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/grid_in_3d_02.cc

index 129cfe5cc9f648ba369bfe191aa5991d8a80e3fa..9f3de938a007587ed9703a97c7ebd659f5416819 100644 (file)
 #include <grid/grid_generator.h>
 #include <base/logstream.h>
 
+// #include <fe/fe_q.h>
+// #include <numerics/data_out.h>
+
+
 #include <fstream>
 #include <iomanip>
 
@@ -68,9 +72,17 @@ void test (const char *filename)
       hash += (index * i * c->vertex_index(i)) % (tria.n_active_cells()+1);
   deallog << "  hash=" << hash << std::endl;
 
-  GridOut grid_out;
-  std::ofstream gnufile("square.gnuplot");
-  grid_out.write_gnuplot (tria, gnufile);
+//   DoFHandler<dim> dh (tria);
+//   FE_Q<dim> fe(1);
+//   dh.distribute_dofs (fe);
+
+//   DataOut<dim> d_o;
+//   d_o.attach_dof_handler (dh);
+//   Vector<double> zero (dh.n_dofs());
+//   d_o.add_data_vector (zero, "Zero");
+//   d_o.build_patches ();
+//   std::ofstream gnufile("xx.vtk");
+//   d_o.write_vtk (gnufile);
 }
 
 

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.