From: wolf Date: Wed, 23 Jun 1999 12:18:11 +0000 (+0000) Subject: Add a class GridOut that serves to simply output a triangulation without recourse... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d6ef38e8dd05aac455a06771ed8e372def7b0a4;p=dealii-svn.git Add a class GridOut that serves to simply output a triangulation without recourse to the DoFHandler and the DataOut that uses the latter. Also, many simplifications can be done if no data is lying around to be printed as well. 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 --- diff --git a/tests/deal.II/constraints.cc b/tests/deal.II/constraints.cc index fe1d428e7d..0c38b40f9d 100644 --- a/tests/deal.II/constraints.cc +++ b/tests/deal.II/constraints.cc @@ -26,7 +26,7 @@ #include #include #include - +#include #include #include @@ -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); diff --git a/tests/deal.II/grid_test.cc b/tests/deal.II/grid_test.cc index 1f733eb0b4..8a72883d4f 100644 --- a/tests/deal.II/grid_test.cc +++ b/tests/deal.II/grid_test.cc @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -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;