]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a class GridOut that serves to simply output a triangulation without recourse...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Jun 1999 12:18:11 +0000 (12:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 23 Jun 1999 12:18:11 +0000 (12:18 +0000)
Also remove the epsgrid output from the DataOut class that served the same purpose.

git-svn-id: https://svn.dealii.org/trunk@1444 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/constraints.cc
tests/deal.II/grid_test.cc

index fe1d428e7dcc1b9f30096ed5e5d8f3fe5951c50f..0c38b40f9d1baa47841654863716fbd546f08e48 100644 (file)
@@ -26,7 +26,7 @@
 #include <lac/sparsematrix.h>
 #include <base/parameter_handler.h>
 #include <grid/dof_constraints.h>
-
+#include <basic/grid_io.h>
 
 #include <fstream>
 #include <cmath>
@@ -255,7 +255,7 @@ int main () {
          
          Triangulation<3> tria;
          make_tria (tria, step);
-         tria.print_gnuplot (cout);
+         GridOut::write_gnuplot (tria, cout);
          
          DoFHandler<3> dof (&tria);
          dof.distribute_dofs (*fe);
index 1f733eb0b4d1b46db3dc3e9fbcac8423686a48a4..8a72883d4f9cc1a6fe4bf78bd122b3e2205793f4 100644 (file)
@@ -14,6 +14,7 @@
 #include <grid/tria_iterator.h>
 #include <grid/tria.h>
 #include <grid/grid_generator.h>
+#include <basic/grid_io.h>
 #include <cmath>
 #include <cstdlib>
 
@@ -246,7 +247,7 @@ void test (const int test_case) {
     };
   
   
-  tria.print_gnuplot (cout);
+  GridOut::write_gnuplot (tria, cout);
     
   cout << "     Total number of cells        = " << tria.n_cells() << endl
        << "     Total number of active cells = " << tria.n_active_cells() << endl;

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.