From 12ef25305d152c43a4e0b61b477d038a6c10358a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 2 Apr 1998 17:33:32 +0000 Subject: [PATCH] Finished fine-tuning for today. git-svn-id: https://svn.dealii.org/trunk@130 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/Attic/examples/poisson/problem.cc | 16 ++++++------ tests/big-tests/poisson/make_ps | 25 +++++++++++++++++++ tests/big-tests/poisson/problem.cc | 16 ++++++------ 3 files changed, 43 insertions(+), 14 deletions(-) create mode 100644 tests/big-tests/poisson/make_ps diff --git a/deal.II/deal.II/Attic/examples/poisson/problem.cc b/deal.II/deal.II/Attic/examples/poisson/problem.cc index 3d4a4ea1ec..77fcbcf35d 100644 --- a/deal.II/deal.II/Attic/examples/poisson/problem.cc +++ b/deal.II/deal.II/Attic/examples/poisson/problem.cc @@ -17,15 +17,15 @@ class CurvedLine : if (y::make_random_grid () { template void PoissonProblem::run (ParameterHandler &prm) { - cout << "Test case = " << prm.get ("Test run") << endl + cout << "Test case = " << prm.get ("Test run") << endl; cout << " Making grid..." << endl; @@ -240,9 +240,11 @@ void PoissonProblem::run (ParameterHandler &prm) { cout << " Solving..." << endl; solve (); - cout << " Writing to file <" << prm.get("Output file") << ">..." << endl; + cout << " Writing to file <" << prm.get("Output file") << ">..." + << endl + << endl; + DataOut out; - ofstream gnuplot(prm.get("Output file")); fill_data (out); out.write_gnuplot (gnuplot); diff --git a/tests/big-tests/poisson/make_ps b/tests/big-tests/poisson/make_ps new file mode 100644 index 0000000000..ebe72be4af --- /dev/null +++ b/tests/big-tests/poisson/make_ps @@ -0,0 +1,25 @@ +set data style lines +set noxtics +set noytics +set noztics +set nokey +set para +set term postscript eps + +!echo " Making " +set output "fig.zoom_in.eps" +splot "gnuplot.zoom_in" + +!echo " Making " +set output "fig.ball.eps" +splot "gnuplot.ball" + +!echo " Making " +set output "fig.curved_line.eps" +splot "gnuplot.curved_line" + +!echo " Making " +set output "fig.random.eps" +splot "gnuplot.random" + + diff --git a/tests/big-tests/poisson/problem.cc b/tests/big-tests/poisson/problem.cc index 3d4a4ea1ec..77fcbcf35d 100644 --- a/tests/big-tests/poisson/problem.cc +++ b/tests/big-tests/poisson/problem.cc @@ -17,15 +17,15 @@ class CurvedLine : if (y::make_random_grid () { template void PoissonProblem::run (ParameterHandler &prm) { - cout << "Test case = " << prm.get ("Test run") << endl + cout << "Test case = " << prm.get ("Test run") << endl; cout << " Making grid..." << endl; @@ -240,9 +240,11 @@ void PoissonProblem::run (ParameterHandler &prm) { cout << " Solving..." << endl; solve (); - cout << " Writing to file <" << prm.get("Output file") << ">..." << endl; + cout << " Writing to file <" << prm.get("Output file") << ">..." + << endl + << endl; + DataOut out; - ofstream gnuplot(prm.get("Output file")); fill_data (out); out.write_gnuplot (gnuplot); -- 2.39.5