From: Wolfgang Bangerth Date: Tue, 28 Apr 1998 13:22:28 +0000 (+0000) Subject: Small changes. X-Git-Tag: v8.0.0~23037 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaf93ccbf8339dac749b58438c782491c05757a6;p=dealii.git Small changes. git-svn-id: https://svn.dealii.org/trunk@217 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/Attic/examples/error-estimation/Makefile b/deal.II/deal.II/Attic/examples/error-estimation/Makefile index a8d321929c..250a66411a 100644 --- a/deal.II/deal.II/Attic/examples/error-estimation/Makefile +++ b/deal.II/deal.II/Attic/examples/error-estimation/Makefile @@ -23,7 +23,7 @@ run-parameters = # To execute additional action apart from running the program, fill # in this list: -additional-run-action = +additional-run-action = gnuplot make_ps # To specify which files are to be deleted by "make clean" (apart from # the usual ones: object files, executables, backups, etc), fill in the diff --git a/deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc b/deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc index 8d69f8e19a..c515c76c9f 100644 --- a/deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc +++ b/deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc @@ -182,7 +182,7 @@ void PoissonEquation::assemble (dVector &, template PoissonProblem::PoissonProblem () : tria(0), dof(0), rhs(0), - boundary_values(0), boundary(Point(),1) {}; + boundary_values(0), boundary() {}; @@ -240,7 +240,7 @@ void PoissonProblem::run (const unsigned int start_level) { cout << " Making grid... "; tria->set_boundary (&boundary); - tria->create_hyper_ball (Point(),+1); + tria->create_hyper_ball (); tria->refine_global (start_level); cout << tria->n_active_cells() << " active cells." << endl; diff --git a/deal.II/deal.II/Attic/examples/error-estimation/make_ps b/deal.II/deal.II/Attic/examples/error-estimation/make_ps new file mode 100644 index 0000000000..f633e71235 --- /dev/null +++ b/deal.II/deal.II/Attic/examples/error-estimation/make_ps @@ -0,0 +1,10 @@ +set xlabel "Number of degrees of freedom" +set ylabel "Error" +set data style linespoints +set logscale xy + +set term postscript eps +set output "error-estimation.eps" + +plot "gnuplot.history" using 1:2 title "L1 error","gnuplot.history" using 1:3 title "L2 error","gnuplot.history" using 1:4 title "Linfty error","gnuplot.history" using 1:5 title "H1 seminorm error","gnuplot.history" using 1:6 title "H1 error","gnuplot.history" using 1:7 title "Estimated H1 error" + diff --git a/tests/big-tests/error-estimation/Makefile b/tests/big-tests/error-estimation/Makefile index a8d321929c..250a66411a 100644 --- a/tests/big-tests/error-estimation/Makefile +++ b/tests/big-tests/error-estimation/Makefile @@ -23,7 +23,7 @@ run-parameters = # To execute additional action apart from running the program, fill # in this list: -additional-run-action = +additional-run-action = gnuplot make_ps # To specify which files are to be deleted by "make clean" (apart from # the usual ones: object files, executables, backups, etc), fill in the diff --git a/tests/big-tests/error-estimation/error-estimation.cc b/tests/big-tests/error-estimation/error-estimation.cc index 8d69f8e19a..c515c76c9f 100644 --- a/tests/big-tests/error-estimation/error-estimation.cc +++ b/tests/big-tests/error-estimation/error-estimation.cc @@ -182,7 +182,7 @@ void PoissonEquation::assemble (dVector &, template PoissonProblem::PoissonProblem () : tria(0), dof(0), rhs(0), - boundary_values(0), boundary(Point(),1) {}; + boundary_values(0), boundary() {}; @@ -240,7 +240,7 @@ void PoissonProblem::run (const unsigned int start_level) { cout << " Making grid... "; tria->set_boundary (&boundary); - tria->create_hyper_ball (Point(),+1); + tria->create_hyper_ball (); tria->refine_global (start_level); cout << tria->n_active_cells() << " active cells." << endl; diff --git a/tests/big-tests/error-estimation/make_ps b/tests/big-tests/error-estimation/make_ps new file mode 100644 index 0000000000..f633e71235 --- /dev/null +++ b/tests/big-tests/error-estimation/make_ps @@ -0,0 +1,10 @@ +set xlabel "Number of degrees of freedom" +set ylabel "Error" +set data style linespoints +set logscale xy + +set term postscript eps +set output "error-estimation.eps" + +plot "gnuplot.history" using 1:2 title "L1 error","gnuplot.history" using 1:3 title "L2 error","gnuplot.history" using 1:4 title "Linfty error","gnuplot.history" using 1:5 title "H1 seminorm error","gnuplot.history" using 1:6 title "H1 error","gnuplot.history" using 1:7 title "Estimated H1 error" +