Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 14, 2025
0 parents commit 140cefa
Show file tree
Hide file tree
Showing 141 changed files with 24,096 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 66cf0215499f9d5ab5854e1778471a42
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
86 changes: 86 additions & 0 deletions _modules/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<!DOCTYPE html>

<html lang="en" data-content_root="../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; Irksome 20202.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="../_static/fenics.css?v=c6f455f8" />
<script src="../_static/documentation_options.js?v=41c113e4"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<!--[if lte IE 6]>
<link rel="stylesheet" href="../_static/ie6.css" type="text/css" media="screen" charset="utf-8" />
<![endif]-->

<link rel="stylesheet" href="../_static/featured.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45089752-1', 'https://github.com/firedrakeproject/Irksome');
ga('send', 'pageview');
</script>


<link rel="shortcut icon" href="../_static/icon.ico" />


</head><body>
<div class="wrapper">

<center><a href="../index.html"><img src="../_static/fence.png" width="450px" alt="Irksome Project Banner" /></a></center>

<div id="access">
<div class="menu">
<ul>
<li class="page_item"><a href="https://github.com/firedrakeproject/Irksome" title="GitHub">GitHub</a></li>
</ul>
</div><!-- .menu -->
</div><!-- #access -->
</div><!-- #wrapper -->


<div class="document">
<div class="_modules/index">

<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">

<h1>All modules for which code is available</h1>
<ul><li><a href="irksome/ButcherTableaux.html">irksome.ButcherTableaux</a></li>
<li><a href="irksome/bcs.html">irksome.bcs</a></li>
<li><a href="irksome/deriv.html">irksome.deriv</a></li>
<li><a href="irksome/dirk_imex_tableaux.html">irksome.dirk_imex_tableaux</a></li>
<li><a href="irksome/dirk_stepper.html">irksome.dirk_stepper</a></li>
<li><a href="irksome/discontinuous_galerkin_stepper.html">irksome.discontinuous_galerkin_stepper</a></li>
<li><a href="irksome/explicit_stepper.html">irksome.explicit_stepper</a></li>
<li><a href="irksome/galerkin_stepper.html">irksome.galerkin_stepper</a></li>
<li><a href="irksome/getForm.html">irksome.getForm</a></li>
<li><a href="irksome/imex.html">irksome.imex</a></li>
<li><a href="irksome/manipulation.html">irksome.manipulation</a></li>
<li><a href="irksome/pc.html">irksome.pc</a></li>
<li><a href="irksome/pep_explicit_rk.html">irksome.pep_explicit_rk</a></li>
<li><a href="irksome/stage.html">irksome.stage</a></li>
<li><a href="irksome/stepper.html">irksome.stepper</a></li>
<li><a href="irksome/tools.html">irksome.tools</a></li>
<li><a href="irksome/wso_dirk_tableaux.html">irksome.wso_dirk_tableaux</a></li>
</ul>

<div class="clearer"></div>
</div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020-, Robert C Kirby and others.
</div>
</body>
</html>
382 changes: 382 additions & 0 deletions _modules/irksome/ButcherTableaux.html

Large diffs are not rendered by default.

193 changes: 193 additions & 0 deletions _modules/irksome/bcs.html

Large diffs are not rendered by default.

207 changes: 207 additions & 0 deletions _modules/irksome/deriv.html

Large diffs are not rendered by default.

143 changes: 143 additions & 0 deletions _modules/irksome/dirk_imex_tableaux.html

Large diffs are not rendered by default.

295 changes: 295 additions & 0 deletions _modules/irksome/dirk_stepper.html

Large diffs are not rendered by default.

377 changes: 377 additions & 0 deletions _modules/irksome/discontinuous_galerkin_stepper.html

Large diffs are not rendered by default.

94 changes: 94 additions & 0 deletions _modules/irksome/explicit_stepper.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!DOCTYPE html>

<html lang="en" data-content_root="../../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>irksome.explicit_stepper &#8212; Irksome 20202.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
<link rel="stylesheet" type="text/css" href="../../_static/fenics.css?v=c6f455f8" />
<script src="../../_static/documentation_options.js?v=41c113e4"></script>
<script src="../../_static/doctools.js?v=9bcbadda"></script>
<script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<!--[if lte IE 6]>
<link rel="stylesheet" href="../../_static/ie6.css" type="text/css" media="screen" charset="utf-8" />
<![endif]-->

<link rel="stylesheet" href="../../_static/featured.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45089752-1', 'https://github.com/firedrakeproject/Irksome');
ga('send', 'pageview');
</script>


<link rel="shortcut icon" href="../../_static/icon.ico" />


</head><body>
<div class="wrapper">

<center><a href="../../index.html"><img src="../../_static/fence.png" width="450px" alt="Irksome Project Banner" /></a></center>

<div id="access">
<div class="menu">
<ul>
<li class="page_item"><a href="https://github.com/firedrakeproject/Irksome" title="GitHub">GitHub</a></li>
</ul>
</div><!-- .menu -->
</div><!-- #access -->
</div><!-- #wrapper -->


<div class="document">
<div class="_modules/irksome/explicit_stepper">

<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">

<h1>Source code for irksome.explicit_stepper</h1><div class="highlight"><pre>
<span></span><span class="kn">from</span><span class="w"> </span><span class="nn">.dirk_stepper</span><span class="w"> </span><span class="kn">import</span> <span class="n">DIRKTimeStepper</span>


<span class="c1"># We can reuse the DIRK stepper to do one-stage at a time, but since we&#39;re</span>
<span class="c1"># just solving a mass matrix at each time step we can optimize to</span>
<span class="c1"># never rebuild the jacobian or preconditioner.</span>
<div class="viewcode-block" id="ExplicitTimeStepper">
<a class="viewcode-back" href="../../irksome.html#irksome.explicit_stepper.ExplicitTimeStepper">[docs]</a>
<span class="k">class</span><span class="w"> </span><span class="nc">ExplicitTimeStepper</span><span class="p">(</span><span class="n">DIRKTimeStepper</span><span class="p">):</span>
<span class="k">def</span><span class="w"> </span><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">F</span><span class="p">,</span> <span class="n">butcher_tableau</span><span class="p">,</span> <span class="n">t</span><span class="p">,</span> <span class="n">dt</span><span class="p">,</span> <span class="n">u0</span><span class="p">,</span> <span class="n">bcs</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">solver_parameters</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">appctx</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
<span class="k">assert</span> <span class="n">butcher_tableau</span><span class="o">.</span><span class="n">is_explicit</span>
<span class="c1"># we just have one mass matrix we&#39;re reusing for each time step and</span>
<span class="c1"># each stage, so we can nudge this along</span>
<span class="n">solver_parameters</span> <span class="o">=</span> <span class="p">{}</span> <span class="k">if</span> <span class="n">solver_parameters</span> <span class="ow">is</span> <span class="kc">None</span> <span class="k">else</span> <span class="n">solver_parameters</span>
<span class="n">solver_parameters</span><span class="p">[</span><span class="s2">&quot;snes_lag_jacobian_persists&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="s2">&quot;true&quot;</span>
<span class="n">solver_parameters</span><span class="p">[</span><span class="s2">&quot;snes_lag_jacobian&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="o">-</span><span class="mi">2</span>
<span class="n">solver_parameters</span><span class="p">[</span><span class="s2">&quot;snes_lag_preconditioner_persists&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="s2">&quot;true&quot;</span>
<span class="n">solver_parameters</span><span class="p">[</span><span class="s2">&quot;snes_lag_preconditioner&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="o">-</span><span class="mi">2</span>
<span class="nb">super</span><span class="p">(</span><span class="n">ExplicitTimeStepper</span><span class="p">,</span> <span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span>
<span class="n">F</span><span class="p">,</span> <span class="n">butcher_tableau</span><span class="p">,</span> <span class="n">t</span><span class="p">,</span> <span class="n">dt</span><span class="p">,</span> <span class="n">u0</span><span class="p">,</span> <span class="n">bcs</span><span class="o">=</span><span class="n">bcs</span><span class="p">,</span>
<span class="n">solver_parameters</span><span class="o">=</span><span class="n">solver_parameters</span><span class="p">,</span> <span class="n">appctx</span><span class="o">=</span><span class="n">appctx</span><span class="p">,</span>
<span class="n">nullspace</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span></div>

</pre></div>

<div class="clearer"></div>
</div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2020-, Robert C Kirby and others.
</div>
</body>
</html>
Loading

0 comments on commit 140cefa

Please sign in to comment.