]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use 5 refinements in step-61 as default. 9129/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 3 Dec 2019 00:05:19 +0000 (17:05 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 3 Dec 2019 00:06:29 +0000 (17:06 -0700)
examples/step-61/doc/results.dox
examples/step-61/step-61.cc

index d7807542eb50c9c458b8ce1f7c41cb252dad168d..d77f37291ef38b5a872a25eab69898cc62c536fd 100644 (file)
@@ -21,7 +21,8 @@ $\mbox{WG}(Q_2,Q_2;RT_{[2]})$.
 
 The following figures show interior pressures and face pressures using the
 $\mbox{WG}(Q_0,Q_0;RT_{[0]})$ element. The mesh is refined 2 times (top)
-and 4 times (bottom), respectively. When the mesh is coarse, one can see
+and 4 times (bottom), respectively. (This number can be adjusted in the
+`make_grid()` function.) When the mesh is coarse, one can see
 the face pressures $p^\partial$ neatly between the values of the interior
 pressures $p^\circ$ on the two adjacent cells.
 
@@ -45,7 +46,8 @@ in the interior of the cell, as expected.
 
 <h4>Convergence table</h4>
 
-We run the code with finer meshes and get the following convergence rates of pressure, 
+We run the code with differently refined meshes (chosen in the `make_grid()` function)
+and get the following convergence rates of pressure, 
 velocity, and flux (as defined in the introduction).
 
 <table align="center" class="doxtable">
index 5c77011b1585c321c015d8f200b60f05d0b29c7a..b075c9c583e819e3a5e7814eebd1271590482c59 100644 (file)
@@ -275,7 +275,7 @@ namespace Step61
   void WGDarcyEquation<dim>::make_grid()
   {
     GridGenerator::hyper_cube(triangulation, 0, 1);
-    triangulation.refine_global(2);
+    triangulation.refine_global(5);
 
     std::cout << "   Number of active cells: " << triangulation.n_active_cells()
               << std::endl

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.