From 6d6ef38e8dd05aac455a06771ed8e372def7b0a4 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 23 Jun 1999 12:18:11 +0000 Subject: [PATCH] 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 --- tests/deal.II/constraints.cc | 4 ++-- tests/deal.II/grid_test.cc | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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; -- 2.39.5