Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2aa8f6f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
pancetta committed Sep 24, 2023
1 parent c0baa43 commit 445df88
Show file tree
Hide file tree
Showing 314 changed files with 908 additions and 852 deletions.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/projects/Hamiltonian.doctree
Binary file not shown.
Binary file modified .doctrees/projects/doc_fput.doctree
Binary file not shown.
Binary file modified .doctrees/projects/doc_matrixPFASST_propagator.doctree
Binary file not shown.
Binary file modified .doctrees/projects/matrixPFASST.doctree
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/tutorial/doc_step_2_C.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/doc_step_3_B.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/doc_step_4_D.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/doc_step_7_A.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/doc_step_7_B.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/doc_step_7_C.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/doc_step_8_C.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/step_2.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/step_3.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/step_4.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/step_7.doctree
Binary file not shown.
Binary file modified .doctrees/tutorial/step_8.doctree
Binary file not shown.
Binary file modified _images/timings_SDC_variants_Fisher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/timings_SDC_variants_GrayScott.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 16 additions & 2 deletions _modules/implementations/problem_classes/nonlinear_ODE_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h1>Source code for implementations.problem_classes.nonlinear_ODE_1</h1><div cla
<span class="sd"> given by</span>

<span class="sd"> .. math::</span>
<span class="sd"> \frac{du(t)}{dt} = \sqrt(1 - u(t))</span>
<span class="sd"> \frac{du(t)}{dt} = \sqrt{1 - u(t)}</span>

<span class="sd"> with initial condition :math:`u(0) = 0`. The exact solution is</span>

Expand All @@ -71,6 +71,13 @@ <h1>Source code for implementations.problem_classes.nonlinear_ODE_1</h1><div cla
<span class="sd"> Tolerance for Newton&#39;s method to terminate.</span>
<span class="sd"> stop_at_nan : bool, optional</span>
<span class="sd"> Indicates that Newton solver has to stop if ``nan`` values arise.</span>

<span class="sd"> Attributes</span>
<span class="sd"> ----------</span>
<span class="sd"> newton_itercount : int</span>
<span class="sd"> Counts the Newton iterations.</span>
<span class="sd"> newton_ncalls : int</span>
<span class="sd"> Counts calls of Newton method.</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="n">dtype_u</span> <span class="o">=</span> <span class="n">mesh</span>
Expand All @@ -83,6 +90,9 @@ <h1>Source code for implementations.problem_classes.nonlinear_ODE_1</h1><div cla
<span class="s1">&#39;u0&#39;</span><span class="p">,</span> <span class="s1">&#39;newton_maxiter&#39;</span><span class="p">,</span> <span class="s1">&#39;newton_tol&#39;</span><span class="p">,</span> <span class="s1">&#39;stop_at_nan&#39;</span><span class="p">,</span> <span class="n">localVars</span><span class="o">=</span><span class="nb">locals</span><span class="p">(),</span> <span class="n">readOnly</span><span class="o">=</span><span class="kc">True</span>
<span class="p">)</span>

<span class="bp">self</span><span class="o">.</span><span class="n">newton_itercount</span> <span class="o">=</span> <span class="mi">0</span>
<span class="bp">self</span><span class="o">.</span><span class="n">newton_ncalls</span> <span class="o">=</span> <span class="mi">0</span>

<div class="viewcode-block" id="nonlinear_ODE_1.u_exact">
<a class="viewcode-back" href="../../../pySDC/implementations.problem_classes.nonlinear_ODE_1.html#implementations.problem_classes.nonlinear_ODE_1.nonlinear_ODE_1.u_exact">[docs]</a>
<span class="k">def</span> <span class="nf">u_exact</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">t</span><span class="p">):</span>
Expand Down Expand Up @@ -174,13 +184,17 @@ <h1>Source code for implementations.problem_classes.nonlinear_ODE_1</h1><div cla
<span class="c1"># increase iteration count</span>
<span class="n">n</span> <span class="o">+=</span> <span class="mi">1</span>

<span class="bp">self</span><span class="o">.</span><span class="n">newton_itercount</span> <span class="o">+=</span> <span class="mi">1</span>

<span class="k">if</span> <span class="n">np</span><span class="o">.</span><span class="n">isnan</span><span class="p">(</span><span class="n">res</span><span class="p">)</span> <span class="ow">and</span> <span class="bp">self</span><span class="o">.</span><span class="n">stop_at_nan</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">ProblemError</span><span class="p">(</span><span class="s1">&#39;Newton got nan after </span><span class="si">%i</span><span class="s1"> iterations, aborting...&#39;</span> <span class="o">%</span> <span class="n">n</span><span class="p">)</span>
<span class="k">elif</span> <span class="n">np</span><span class="o">.</span><span class="n">isnan</span><span class="p">(</span><span class="n">res</span><span class="p">):</span>
<span class="bp">self</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="s1">&#39;Newton got nan after </span><span class="si">%i</span><span class="s1"> iterations...&#39;</span> <span class="o">%</span> <span class="n">n</span><span class="p">)</span>

<span class="k">if</span> <span class="n">n</span> <span class="o">==</span> <span class="bp">self</span><span class="o">.</span><span class="n">newton_maxiter</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">ProblemError</span><span class="p">(</span><span class="s1">&#39;Newton did not converge after </span><span class="si">%i</span><span class="s1"> iterations, error is </span><span class="si">%s</span><span class="s1">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">n</span><span class="p">,</span> <span class="n">res</span><span class="p">))</span>
<span class="bp">self</span><span class="o">.</span><span class="n">logger</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="s1">&#39;Newton did not converge after </span><span class="si">%i</span><span class="s1"> iterations, error is </span><span class="si">%s</span><span class="s1">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">n</span><span class="p">,</span> <span class="n">res</span><span class="p">))</span>

<span class="bp">self</span><span class="o">.</span><span class="n">newton_ncalls</span> <span class="o">+=</span> <span class="mi">1</span>

<span class="k">return</span> <span class="n">u</span></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion coverage/coverage-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions coverage/d_020efe120a771d8a_fput_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_hamiltonian_and_energy_output_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -328,7 +328,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_hamiltonian_and_energy_output_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_hamiltonian_output_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -196,7 +196,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_hamiltonian_output_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_020efe120a771d8a_hamiltonian_output_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_harmonic_oscillator_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -170,7 +170,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_harmonic_oscillator_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_020efe120a771d8a_harmonic_oscillator_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_simple_problems_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -254,7 +254,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_simple_problems_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_020efe120a771d8a_simple_problems_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_solar_system_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -323,7 +323,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_solar_system_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_020efe120a771d8a_solar_system_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_stop_at_error_hook_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -365,7 +365,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_020efe120a771d8a_stop_at_error_hook_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_020efe120a771d8a_stop_at_error_hook_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_74ce84641ea8e5a0_controller_MPI_scorep_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -117,7 +117,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_74ce84641ea8e5a0_controller_MPI_scorep_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_064a9f2a35945611_FaultHooks_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_064a9f2a35945611_generate_statistics_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -135,7 +135,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_064a9f2a35945611_generate_statistics_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_064a9f2a35945611_generate_statistics_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_064a9f2a35945611_implicit_sweeper_faults_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -485,7 +485,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_064a9f2a35945611_implicit_sweeper_faults_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_064a9f2a35945611_implicit_sweeper_faults_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_064a9f2a35945611_visualization_helper_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -416,7 +416,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_064a9f2a35945611_visualization_helper_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_064a9f2a35945611_visualization_helper_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_a8a430cd9834ab6a_A_spatial_problem_setup_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -217,7 +217,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_a8a430cd9834ab6a_A_spatial_problem_setup_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_0a363dd8c140c711_HookClass_DAE_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_0a363dd8c140c711_ProblemDAE_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -173,7 +173,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_0a363dd8c140c711_ProblemDAE_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
4 changes: 2 additions & 2 deletions coverage/d_0a363dd8c140c711_ProblemDAE_py.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_0eb34c630be51b75_simple_DAE_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
<aside class="hidden">
<button type="button" class="button_next_chunk" data-shortcut="j"/>
Expand Down Expand Up @@ -114,7 +114,7 @@ <h2>
<a id="nextFileLink" class="nav" href="d_0eb34c630be51b75_simple_DAE_py.html">&#xbb; next</a>
&nbsp; &nbsp; &nbsp;
<a class="nav" href="https://coverage.readthedocs.io/en/7.3.1">coverage.py v7.3.1</a>,
created at 2023-09-22 15:54 +0000
created at 2023-09-24 10:02 +0000
</p>
</div>
</footer>
Expand Down
Loading

0 comments on commit 445df88

Please sign in to comment.