]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Revert to using default args.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 24 May 2001 08:30:12 +0000 (08:30 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 24 May 2001 08:30:12 +0000 (08:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@4728 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-6/step-6.cc

index caeb14a9b1a90b849127b591877f4fae2941c738..c0e2ede8cd12c7cdd4ffa0b4a6ba8ed85adc1d82 100644 (file)
@@ -861,7 +861,10 @@ void LaplaceProblem<dim>::run ()
                                           // as well. We place the
                                           // center of the circle at
                                           // the origin and have the
-                                          // radius be one.
+                                          // radius be one (these are
+                                          // the two hidden arguments
+                                          // to the function, which
+                                          // have default values).
                                           //
                                           // You will notice by
                                           // looking at the coarse
@@ -877,7 +880,7 @@ void LaplaceProblem<dim>::run ()
                                           // any space dimension,
                                           // which was not the case
                                           // before.
-         GridGenerator::hyper_ball (triangulation, Point<dim>(), 1);
+         GridGenerator::hyper_ball (triangulation);
 
          static const HyperBallBoundary<dim> boundary;
          triangulation.set_boundary (0, boundary);

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.