]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Small changes.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 28 Apr 1998 13:22:28 +0000 (13:22 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 28 Apr 1998 13:22:28 +0000 (13:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@217 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/error-estimation/Makefile
deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc
deal.II/deal.II/Attic/examples/error-estimation/make_ps [new file with mode: 0644]
tests/big-tests/error-estimation/Makefile
tests/big-tests/error-estimation/error-estimation.cc
tests/big-tests/error-estimation/make_ps [new file with mode: 0644]

index a8d321929c97f65c5b307bf0d4e32f7a221e75d6..250a66411aab23f1e854a76f19aa2b3fe9f5267f 100644 (file)
@@ -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
index 8d69f8e19a985339c76757385b5e2c009989534a..c515c76c9ffbea65d4af861a1605afa567d92d7b 100644 (file)
@@ -182,7 +182,7 @@ void PoissonEquation<dim>::assemble (dVector             &,
 template <int dim>
 PoissonProblem<dim>::PoissonProblem () :
                tria(0), dof(0), rhs(0),
-               boundary_values(0), boundary(Point<dim>(),1) {};
+               boundary_values(0), boundary() {};
 
 
 
@@ -240,7 +240,7 @@ void PoissonProblem<dim>::run (const unsigned int start_level) {
   
   cout << "    Making grid... ";
   tria->set_boundary (&boundary);
-  tria->create_hyper_ball (Point<dim>(),+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 (file)
index 0000000..f633e71
--- /dev/null
@@ -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"
+
index a8d321929c97f65c5b307bf0d4e32f7a221e75d6..250a66411aab23f1e854a76f19aa2b3fe9f5267f 100644 (file)
@@ -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
index 8d69f8e19a985339c76757385b5e2c009989534a..c515c76c9ffbea65d4af861a1605afa567d92d7b 100644 (file)
@@ -182,7 +182,7 @@ void PoissonEquation<dim>::assemble (dVector             &,
 template <int dim>
 PoissonProblem<dim>::PoissonProblem () :
                tria(0), dof(0), rhs(0),
-               boundary_values(0), boundary(Point<dim>(),1) {};
+               boundary_values(0), boundary() {};
 
 
 
@@ -240,7 +240,7 @@ void PoissonProblem<dim>::run (const unsigned int start_level) {
   
   cout << "    Making grid... ";
   tria->set_boundary (&boundary);
-  tria->create_hyper_ball (Point<dim>(),+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 (file)
index 0000000..f633e71
--- /dev/null
@@ -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"
+

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.