Skip to content

Commit

Permalink
Deploying to gh-pages from @ ca01ecf 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
pancetta committed Nov 7, 2024
1 parent f2c5796 commit 5a44561
Show file tree
Hide file tree
Showing 392 changed files with 2,494 additions and 2,323 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/pySDC/core.convergence_controller.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_7_D.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.
2 changes: 1 addition & 1 deletion _images/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.
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.
16 changes: 16 additions & 0 deletions _modules/core/convergence_controller.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,22 @@ <h1>Source code for core.convergence_controller</h1><div class="highlight"><pre>
<span class="k">pass</span></div>


<div class="viewcode-block" id="ConvergenceController.post_run_processing">
<a class="viewcode-back" href="../../pySDC/core.convergence_controller.html#core.convergence_controller.ConvergenceController.post_run_processing">[docs]</a>
<span class="k">def</span> <span class="nf">post_run_processing</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">controller</span><span class="p">,</span> <span class="n">S</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Do whatever you want to after the run here.</span>

<span class="sd"> Args:</span>
<span class="sd"> controller (pySDC.Controller): The controller</span>
<span class="sd"> S (pySDC.Step): The current step</span>

<span class="sd"> Returns:</span>
<span class="sd"> None</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">pass</span></div>


<div class="viewcode-block" id="ConvergenceController.prepare_next_block">
<a class="viewcode-back" href="../../pySDC/core.convergence_controller.html#core.convergence_controller.ConvergenceController.prepare_next_block">[docs]</a>
<span class="k">def</span> <span class="nf">prepare_next_block</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">controller</span><span class="p">,</span> <span class="n">S</span><span class="p">,</span> <span class="n">size</span><span class="p">,</span> <span class="n">time</span><span class="p">,</span> <span class="n">Tend</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ <h1>Source code for implementations.controller_classes.controller_MPI</h1><div c
<span class="k">for</span> <span class="n">hook</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">hooks</span><span class="p">:</span>
<span class="n">hook</span><span class="o">.</span><span class="n">post_run</span><span class="p">(</span><span class="n">step</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">S</span><span class="p">,</span> <span class="n">level_number</span><span class="o">=</span><span class="mi">0</span><span class="p">)</span>

<span class="k">for</span> <span class="n">C</span> <span class="ow">in</span> <span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">convergence_controllers</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">convergence_controller_order</span><span class="p">]:</span>
<span class="n">C</span><span class="o">.</span><span class="n">post_run_processing</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">S</span><span class="p">,</span> <span class="n">comm</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="n">comm</span><span class="p">)</span>

<span class="n">comm_active</span><span class="o">.</span><span class="n">Free</span><span class="p">()</span>

<span class="k">return</span> <span class="n">uend</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">return_stats</span><span class="p">()</span></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ <h1>Source code for implementations.controller_classes.controller_nonMPI</h1><di
<span class="k">for</span> <span class="n">hook</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">hooks</span><span class="p">:</span>
<span class="n">hook</span><span class="o">.</span><span class="n">post_run</span><span class="p">(</span><span class="n">step</span><span class="o">=</span><span class="n">S</span><span class="p">,</span> <span class="n">level_number</span><span class="o">=</span><span class="mi">0</span><span class="p">)</span>

<span class="k">for</span> <span class="n">S</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">MS</span><span class="p">:</span>
<span class="k">for</span> <span class="n">C</span> <span class="ow">in</span> <span class="p">[</span><span class="bp">self</span><span class="o">.</span><span class="n">convergence_controllers</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">convergence_controller_order</span><span class="p">]:</span>
<span class="n">C</span><span class="o">.</span><span class="n">post_run_processing</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">S</span><span class="p">,</span> <span class="n">MS</span><span class="o">=</span><span class="n">MS_active</span><span class="p">)</span>

<span class="k">return</span> <span class="n">uend</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">return_stats</span><span class="p">()</span></div>


Expand Down
21 changes: 21 additions & 0 deletions _modules/implementations/sweeper_classes/Runge_Kutta.html
Original file line number Diff line number Diff line change
Expand Up @@ -964,12 +964,33 @@ <h1>Source code for implementations.sweeper_classes.Runge_Kutta</h1><div class="
<div class="viewcode-block" id="ARK2">
<a class="viewcode-back" href="../../../pySDC/implementations.sweeper_classes.Runge_Kutta.html#implementations.sweeper_classes.Runge_Kutta.ARK2">[docs]</a>
<span class="k">class</span> <span class="nc">ARK2</span><span class="p">(</span><span class="n">RungeKuttaIMEX</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Second order two stage singly diagonally implicit globally stiffly accurate IMEX RK method with explicit first stage.</span>
<span class="sd"> Can be used to integrate simple DAEs because explicit and implicit part are both stiffly accurate.</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="n">generator_IMP</span> <span class="o">=</span> <span class="n">RK_SCHEMES</span><span class="p">[</span><span class="s2">&quot;ARK222EDIRK&quot;</span><span class="p">]()</span>
<span class="n">generator_EXP</span> <span class="o">=</span> <span class="n">RK_SCHEMES</span><span class="p">[</span><span class="s2">&quot;ARK222ERK&quot;</span><span class="p">]()</span>

<span class="n">nodes</span><span class="p">,</span> <span class="n">weights</span><span class="p">,</span> <span class="n">matrix</span> <span class="o">=</span> <span class="n">generator_IMP</span><span class="o">.</span><span class="n">genCoeffs</span><span class="p">()</span>
<span class="n">_</span><span class="p">,</span> <span class="n">weights_explicit</span><span class="p">,</span> <span class="n">matrix_explicit</span> <span class="o">=</span> <span class="n">generator_EXP</span><span class="o">.</span><span class="n">genCoeffs</span><span class="p">()</span></div>



<div class="viewcode-block" id="ARK3">
<a class="viewcode-back" href="../../../pySDC/implementations.sweeper_classes.Runge_Kutta.html#implementations.sweeper_classes.Runge_Kutta.ARK3">[docs]</a>
<span class="k">class</span> <span class="nc">ARK3</span><span class="p">(</span><span class="n">RungeKuttaIMEX</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Third order four stage singly diagonally implicit globally stiffly accurate IMEX RK method with explicit first stage.</span>
<span class="sd"> Can be used to integrate simple DAEs because explicit and implicit part are both stiffly accurate.</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="n">generator_IMP</span> <span class="o">=</span> <span class="n">RK_SCHEMES</span><span class="p">[</span><span class="s2">&quot;ARK443ESDIRK&quot;</span><span class="p">]()</span>
<span class="n">generator_EXP</span> <span class="o">=</span> <span class="n">RK_SCHEMES</span><span class="p">[</span><span class="s2">&quot;ARK443ERK&quot;</span><span class="p">]()</span>

<span class="n">nodes</span><span class="p">,</span> <span class="n">weights</span><span class="p">,</span> <span class="n">matrix</span> <span class="o">=</span> <span class="n">generator_IMP</span><span class="o">.</span><span class="n">genCoeffs</span><span class="p">()</span>
<span class="n">_</span><span class="p">,</span> <span class="n">weights_explicit</span><span class="p">,</span> <span class="n">matrix_explicit</span> <span class="o">=</span> <span class="n">generator_EXP</span><span class="o">.</span><span class="n">genCoeffs</span><span class="p">()</span></div>

</pre></div>

<div class="clearer"></div>
Expand Down
38 changes: 19 additions & 19 deletions coverage/class_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2>
</h2>
<p class="text">
<a class="nav" href="https://coverage.readthedocs.io/en/7.6.4">coverage.py v7.6.4</a>,
created at 2024-11-06 12:12 +0000
created at 2024-11-07 07:16 +0000
</p>
</div>
</header>
Expand Down Expand Up @@ -181,16 +181,16 @@ <h2>
<td class="name left"><a href="z_8d0d803e4e125e5c_convergence_controller_py.html#t30"><data value='ConvergenceController'>ConvergenceController</data></a></td>
<td>70</td>
<td>18</td>
<td>15</td>
<td>16</td>
<td class="right" data-ratio="52 70">74%</td>
</tr>
<tr class="region">
<td class="name left"><a href="z_8d0d803e4e125e5c_convergence_controller_py.html">pySDC/core/convergence_controller.py</a></td>
<td class="name left"><a href="z_8d0d803e4e125e5c_convergence_controller_py.html"><data value=''><span class='no-noun'>(no class)</span></data></a></td>
<td>35</td>
<td>36</td>
<td>0</td>
<td>0</td>
<td class="right" data-ratio="35 35">100%</td>
<td class="right" data-ratio="36 36">100%</td>
</tr>
<tr class="region">
<td class="name left"><a href="z_8d0d803e4e125e5c_errors_py.html">pySDC/core/errors.py</a></td>
Expand Down Expand Up @@ -499,10 +499,10 @@ <h2>
<tr class="region">
<td class="name left"><a href="z_d6839539e65473f5_controller_MPI_py.html#t10">pySDC/implementations/controller_classes/controller_MPI.py</a></td>
<td class="name left"><a href="z_d6839539e65473f5_controller_MPI_py.html#t10"><data value='controller_MPI'>controller_MPI</data></a></td>
<td>360</td>
<td>362</td>
<td>130</td>
<td>7</td>
<td class="right" data-ratio="230 360">64%</td>
<td class="right" data-ratio="232 362">64%</td>
</tr>
<tr class="region">
<td class="name left"><a href="z_d6839539e65473f5_controller_MPI_py.html">pySDC/implementations/controller_classes/controller_MPI.py</a></td>
Expand All @@ -515,10 +515,10 @@ <h2>
<tr class="region">
<td class="name left"><a href="z_d6839539e65473f5_controller_nonMPI_py.html#t12">pySDC/implementations/controller_classes/controller_nonMPI.py</a></td>
<td class="name left"><a href="z_d6839539e65473f5_controller_nonMPI_py.html#t12"><data value='controller_nonMPI'>controller_nonMPI</data></a></td>
<td>272</td>
<td>275</td>
<td>3</td>
<td>13</td>
<td class="right" data-ratio="269 272">99%</td>
<td class="right" data-ratio="272 275">99%</td>
</tr>
<tr class="region">
<td class="name left"><a href="z_d6839539e65473f5_controller_nonMPI_py.html">pySDC/implementations/controller_classes/controller_nonMPI.py</a></td>
Expand Down Expand Up @@ -2779,10 +2779,10 @@ <h2>
<tr class="region">
<td class="name left"><a href="z_b9c274c7ffe3e178_Runge_Kutta_py.html">pySDC/implementations/sweeper_classes/Runge_Kutta.py</a></td>
<td class="name left"><a href="z_b9c274c7ffe3e178_Runge_Kutta_py.html"><data value=''><span class='no-noun'>(no class)</span></data></a></td>
<td>170</td>
<td>175</td>
<td>0</td>
<td>0</td>
<td class="right" data-ratio="170 170">100%</td>
<td class="right" data-ratio="175 175">100%</td>
</tr>
<tr class="region">
<td class="name left"><a href="z_b9c274c7ffe3e178_Runge_Kutta_Nystrom_py.html#t10">pySDC/implementations/sweeper_classes/Runge_Kutta_Nystrom.py</a></td>
Expand Down Expand Up @@ -3707,10 +3707,10 @@ <h2>
<tr class="region">
<td class="name left"><a href="z_f7d64113b0673500_run_experiment_py.html">pySDC/projects/GPU/run_experiment.py</a></td>
<td class="name left"><a href="z_f7d64113b0673500_run_experiment_py.html"><data value=''><span class='no-noun'>(no class)</span></data></a></td>
<td>37</td>
<td>37</td>
<td>35</td>
<td>35</td>
<td>49</td>
<td class="right" data-ratio="0 37">0%</td>
<td class="right" data-ratio="0 35">0%</td>
</tr>
<tr class="region">
<td class="name left"><a href="z_020efe120a771d8a_fput_py.html">pySDC/projects/Hamiltonian/fput.py</a></td>
Expand Down Expand Up @@ -5597,23 +5597,23 @@ <h2>
<tr class="total">
<td class="name left">Total</td>
<td class="name left">&nbsp;</td>
<td>27986</td>
<td>6210</td>
<td>5476</td>
<td class="right" data-ratio="21776 27986">78%</td>
<td>27995</td>
<td>6208</td>
<td>5477</td>
<td class="right" data-ratio="21787 27995">78%</td>
</tr>
</tfoot>
</table>
<p id="no_rows">
No items found using the specified filter.
</p>
<p>56 empty classes skipped.</p>
<p>57 empty classes skipped.</p>
</main>
<footer>
<div class="content">
<p>
<a class="nav" href="https://coverage.readthedocs.io/en/7.6.4">coverage.py v7.6.4</a>,
created at 2024-11-06 12:12 +0000
created at 2024-11-07 07:16 +0000
</p>
</div>
<aside class="hidden">
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.
Loading

0 comments on commit 5a44561

Please sign in to comment.