]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a note to step-86. 17528/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 14 Aug 2024 16:08:11 +0000 (10:08 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 14 Aug 2024 16:08:11 +0000 (10:08 -0600)
examples/step-86/doc/results.dox

index d578a0c6592b3ca85c2d3fb2f20023e574d545b6..b7b57f6f00ff28d9ea6ec9b12fc16c134e5497d1 100644 (file)
@@ -234,7 +234,14 @@ ourselves to blame for that by setting
 @code
       set match final time        = false
 @endcode
-in the input file.
+in the input file. If hitting the end time exactly is important to us,
+setting the flag to `true` resolves this issue.
+
+We can even reason why PETSc eventually chooses a time step of around
+0.025: The boundary values undergo a complete cosine cycle within 0.5
+time units; we should expect that it takes around ten or twenty time
+steps to resolve each period of a cycle to reasonable accuracy, and
+this leads to the time step choice PETSc finds.
 
 Not all combinations of methods, time step adaptation algorithms, and
 other parameters are valid, but the main messages from the experiment

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.