Skip to content

Commit 6cd73be

Browse files
committed
Website build
1 parent a691993 commit 6cd73be

49 files changed

Lines changed: 1550 additions & 1338 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 82bc60f5d72d41292ca36b6717b1fbde
3+
config: de18bce13b8aa68725863cc8cf55d0bd
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

1_quadrature.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

8-
<title>1. Numerical quadrature &#8212; Finite element course 2024.0 documentation</title>
8+
<title>1. Numerical quadrature &#8212; Finite element course 2026.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="_static/fenics.css?v=7793b76c" />
1111
<link rel="stylesheet" type="text/css" href="_static/proof.css" />
1212
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
13-
<script src="_static/documentation_options.js?v=7ff0cb77"></script>
13+
<script src="_static/documentation_options.js?v=9c5a5fc5"></script>
1414
<script src="_static/doctools.js?v=9a2dae69"></script>
1515
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1616
<script src="_static/proof.js"></script>
@@ -390,7 +390,7 @@ <h2><span class="section-number">1.7. </span>Implementing quadrature rules in Py
390390
<p>You can implement
391391
<a class="reference internal" href="fe_utils.html#fe_utils.quadrature.QuadratureRule.integrate" title="fe_utils.quadrature.QuadratureRule.integrate"><code class="xref py py-meth docutils literal notranslate"><span class="pre">integrate()</span></code></a> in one line
392392
using a <a class="reference external" href="https://docs.python.org/3/tutorial/datastructures.html#list-comprehensions">list
393-
comprehension</a> and <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.dot.html#numpy.dot" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.dot()</span></code></a>.</p>
393+
comprehension</a> and <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.dot.html#numpy.dot" title="(in NumPy v2.4)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.dot()</span></code></a>.</p>
394394
</div>
395395
<div class="admonition hint">
396396
<p class="admonition-title">Hint</p>
@@ -416,7 +416,7 @@ <h2><span class="section-number">1.7. </span>Implementing quadrature rules in Py
416416
<div class="clearer"></div>
417417
</div>
418418
<div class="footer" role="contentinfo">
419-
&#169; Copyright 2014-2024, David A. Ham and Colin J. Cotter.
419+
&#169; Copyright 2014-2026, David A. Ham and Colin J. Cotter.
420420
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
421421
</div>
422422
</body>

2_finite_elements.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

8-
<title>2. Constructing finite elements &#8212; Finite element course 2024.0 documentation</title>
8+
<title>2. Constructing finite elements &#8212; Finite element course 2026.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="_static/fenics.css?v=7793b76c" />
1111
<link rel="stylesheet" type="text/css" href="_static/proof.css" />
1212
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
13-
<script src="_static/documentation_options.js?v=7ff0cb77"></script>
13+
<script src="_static/documentation_options.js?v=9c5a5fc5"></script>
1414
<script src="_static/doctools.js?v=9a2dae69"></script>
1515
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1616
<script src="_static/proof.js"></script>
@@ -357,7 +357,7 @@ <h2><span class="section-number">2.5. </span>Implementing finite elements in Pyt
357357
<code class="docutils literal notranslate"><span class="pre">test/test_04_init_finite_element.py</span></code>.</p>
358358
</div></div><div class="admonition hint">
359359
<p class="admonition-title">Hint</p>
360-
<p>The <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.linalg.inv.html#numpy.linalg.inv" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.linalg.inv()</span></code></a> function may be
360+
<p>The <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.linalg.inv.html#numpy.linalg.inv" title="(in NumPy v2.4)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.linalg.inv()</span></code></a> function may be
361361
used to invert the matrix.</p>
362362
</div>
363363
</section>
@@ -491,15 +491,15 @@ <h2><span class="section-number">2.8. </span>Gradients of basis functions<a clas
491491
<code class="docutils literal notranslate"><span class="pre">test/test_03_vandermonde_matrix.py</span></code>.</p>
492492
</div></div><div class="admonition hint">
493493
<p class="admonition-title">Hint</p>
494-
<p>The <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.ndarray.transpose.html#numpy.ndarray.transpose" title="(in NumPy v2.2)"><code class="xref py py-meth docutils literal notranslate"><span class="pre">transpose()</span></code></a> method of numpy arrays enables
494+
<p>The <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.ndarray.transpose.html#numpy.ndarray.transpose" title="(in NumPy v2.4)"><code class="xref py py-meth docutils literal notranslate"><span class="pre">transpose()</span></code></a> method of numpy arrays enables
495495
generalised transposes swapping any dimensions.</p>
496496
</div>
497497
<div class="admonition hint">
498498
<p class="admonition-title">Hint</p>
499499
<p>At least one of the natural ways of implementing this function
500500
results in a whole load of <code class="xref py py-data docutils literal notranslate"><span class="pre">nan</span></code> values in the generalised
501501
Vandermonde matrix. In this case, you might find
502-
<a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.nan_to_num.html#numpy.nan_to_num" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.nan_to_num()</span></code></a> useful.</p>
502+
<a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.nan_to_num.html#numpy.nan_to_num" title="(in NumPy v2.4)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.nan_to_num()</span></code></a> useful.</p>
503503
</div>
504504
<div class="proof proof-type-exercise" id="id14">
505505

@@ -532,7 +532,7 @@ <h2><span class="section-number">2.8. </span>Gradients of basis functions<a clas
532532
</div>
533533
</details><div class="admonition hint">
534534
<p class="admonition-title">Hint</p>
535-
<p>The <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.einsum.html#numpy.einsum" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.einsum()</span></code></a> function implements generalised tensor
535+
<p>The <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.einsum.html#numpy.einsum" title="(in NumPy v2.4)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.einsum()</span></code></a> function implements generalised tensor
536536
contractions using <a class="reference external" href="http://mathworld.wolfram.com/EinsteinSummation.html">Einstein summation notation</a>. For
537537
example:</p>
538538
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">A</span> <span class="o">=</span> <span class="n">numpy</span><span class="o">.</span><span class="n">einsum</span><span class="p">(</span><span class="s2">&quot;ijk,jl-&gt;ilk&quot;</span><span class="p">,</span> <span class="n">T</span><span class="p">,</span> <span class="n">C</span><span class="p">)</span>
@@ -604,7 +604,7 @@ <h2><span class="section-number">2.9. </span>Interpolating functions to the fini
604604
<div class="clearer"></div>
605605
</div>
606606
<div class="footer" role="contentinfo">
607-
&#169; Copyright 2014-2024, David A. Ham and Colin J. Cotter.
607+
&#169; Copyright 2014-2026, David A. Ham and Colin J. Cotter.
608608
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
609609
</div>
610610
</body>

3_meshes.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

8-
<title>3. Meshes &#8212; Finite element course 2024.0 documentation</title>
8+
<title>3. Meshes &#8212; Finite element course 2026.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="_static/fenics.css?v=7793b76c" />
1111
<link rel="stylesheet" type="text/css" href="_static/proof.css" />
1212
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
13-
<script src="_static/documentation_options.js?v=7ff0cb77"></script>
13+
<script src="_static/documentation_options.js?v=9c5a5fc5"></script>
1414
<script src="_static/doctools.js?v=9a2dae69"></script>
1515
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1616
<script src="_static/proof.js"></script>
@@ -228,7 +228,7 @@ <h2><span class="section-number">3.4. </span>A mesh implementation in Python<a c
228228
<div class="clearer"></div>
229229
</div>
230230
<div class="footer" role="contentinfo">
231-
&#169; Copyright 2014-2024, David A. Ham and Colin J. Cotter.
231+
&#169; Copyright 2014-2026, David A. Ham and Colin J. Cotter.
232232
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
233233
</div>
234234
</body>

4_function_spaces.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

8-
<title>4. Function spaces: associating data with meshes &#8212; Finite element course 2024.0 documentation</title>
8+
<title>4. Function spaces: associating data with meshes &#8212; Finite element course 2026.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="_static/fenics.css?v=7793b76c" />
1111
<link rel="stylesheet" type="text/css" href="_static/proof.css" />
1212
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
13-
<script src="_static/documentation_options.js?v=7ff0cb77"></script>
13+
<script src="_static/documentation_options.js?v=9c5a5fc5"></script>
1414
<script src="_static/doctools.js?v=9a2dae69"></script>
1515
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1616
<script src="_static/proof.js"></script>
@@ -292,11 +292,11 @@ <h2><span class="section-number">4.5. </span>Implementing function spaces in Pyt
292292
<div class="admonition hint">
293293
<p class="admonition-title">Hint</p>
294294
<p><a class="reference internal" href="fe_utils.html#fe_utils.function_spaces.FunctionSpace.cell_nodes" title="fe_utils.function_spaces.FunctionSpace.cell_nodes"><code class="xref py py-attr docutils literal notranslate"><span class="pre">cell_nodes</span></code></a> needs to
295-
be integer-valued. If you choose to use <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.zeros.html#numpy.zeros" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.zeros()</span></code></a>
295+
be integer-valued. If you choose to use <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.zeros.html#numpy.zeros" title="(in NumPy v2.4)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.zeros()</span></code></a>
296296
to create a matrix which you then populate with values, you
297297
need to explicitly specify that you want a matrix of
298298
integers. This can be achieved by passing the <code class="docutils literal notranslate"><span class="pre">dtype</span></code> argument
299-
to <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.zeros.html#numpy.zeros" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.zeros()</span></code></a>. For example <code class="docutils literal notranslate"><span class="pre">numpy.zeros((nrows,</span> <span class="pre">ncols),</span> <span class="pre">dtype=int)</span></code>.</p>
299+
to <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.zeros.html#numpy.zeros" title="(in NumPy v2.4)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.zeros()</span></code></a>. For example <code class="docutils literal notranslate"><span class="pre">numpy.zeros((nrows,</span> <span class="pre">ncols),</span> <span class="pre">dtype=int)</span></code>.</p>
300300
</div>
301301
<p class="rubric">Footnotes</p>
302302
<aside class="footnote-list brackets">
@@ -319,7 +319,7 @@ <h2><span class="section-number">4.5. </span>Implementing function spaces in Pyt
319319
<div class="clearer"></div>
320320
</div>
321321
<div class="footer" role="contentinfo">
322-
&#169; Copyright 2014-2024, David A. Ham and Colin J. Cotter.
322+
&#169; Copyright 2014-2026, David A. Ham and Colin J. Cotter.
323323
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
324324
</div>
325325
</body>

5_functions.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<meta charset="utf-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

8-
<title>5. Functions in finite element spaces &#8212; Finite element course 2024.0 documentation</title>
8+
<title>5. Functions in finite element spaces &#8212; Finite element course 2026.0 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=03e43079" />
1010
<link rel="stylesheet" type="text/css" href="_static/fenics.css?v=7793b76c" />
1111
<link rel="stylesheet" type="text/css" href="_static/proof.css" />
1212
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
13-
<script src="_static/documentation_options.js?v=7ff0cb77"></script>
13+
<script src="_static/documentation_options.js?v=9c5a5fc5"></script>
1414
<script src="_static/doctools.js?v=9a2dae69"></script>
1515
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1616
<script src="_static/proof.js"></script>
@@ -358,10 +358,10 @@ <h3><span class="section-number">5.3.3. </span>Implementing integration<a class=
358358
basis functions at each quadrature point.</p></li>
359359
<li><p>Visit each cell in turn.</p></li>
360360
<li><p>Construct the <a class="reference internal" href="fe_utils.html#fe_utils.mesh.Mesh.jacobian" title="fe_utils.mesh.Mesh.jacobian"><code class="xref py py-meth docutils literal notranslate"><span class="pre">jacobian()</span></code></a> for that cell
361-
and take the absolute value of its determinant (<a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.absolute.html#numpy.absolute" title="(in NumPy v2.2)"><code class="xref py py-data docutils literal notranslate"><span class="pre">numpy.absolute</span></code></a>
362-
and <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.linalg.det.html#numpy.linalg.det" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.linalg.det()</span></code></a> will be useful here).</p></li>
361+
and take the absolute value of its determinant (<a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.absolute.html#numpy.absolute" title="(in NumPy v2.4)"><code class="xref py py-data docutils literal notranslate"><span class="pre">numpy.absolute</span></code></a>
362+
and <a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.linalg.det.html#numpy.linalg.det" title="(in NumPy v2.4)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.linalg.det()</span></code></a> will be useful here).</p></li>
363363
<li><p>Sum all of the arrays you have constructed over the correct
364-
indices to a contribution to the integral (<a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.einsum.html#numpy.einsum" title="(in NumPy v2.2)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.einsum()</span></code></a>
364+
indices to a contribution to the integral (<a class="reference external" href="https://numpy.org/doc/stable/reference/generated/numpy.einsum.html#numpy.einsum" title="(in NumPy v2.4)"><code class="xref py py-func docutils literal notranslate"><span class="pre">numpy.einsum()</span></code></a>
365365
may be useful for this).</p></li>
366366
</ol>
367367
</div>
@@ -384,7 +384,7 @@ <h3><span class="section-number">5.3.3. </span>Implementing integration<a class=
384384
<div class="clearer"></div>
385385
</div>
386386
<div class="footer" role="contentinfo">
387-
&#169; Copyright 2014-2024, David A. Ham and Colin J. Cotter.
387+
&#169; Copyright 2014-2026, David A. Ham and Colin J. Cotter.
388388
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.4.7.
389389
</div>
390390
</body>

0 commit comments

Comments
 (0)