Skip to content

Commit 169766f

Browse files
committed
Website build
1 parent 19e618e commit 169766f

15 files changed

Lines changed: 10 additions & 12 deletions

6_finite_element_problems.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,13 +317,13 @@ <h3><span class="section-number">6.2.4. </span>Sparse matrices<a class="headerli
317317
are avoided.</p>
318318
<div class="admonition hint">
319319
<p class="admonition-title">Hint</p>
320-
<p>The <a class="reference external" href="http://scipy.github.io/devdocs/reference/sparse.html#module-scipy.sparse" title="(in SciPy v1.11.0.dev0+1660.4a6f2d1)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scipy.sparse</span></code></a> package provides convenient interfaces
320+
<p>The <a class="reference external" href="http://scipy.github.io/devdocs/reference/sparse.html#module-scipy.sparse" title="(in SciPy v1.11.0.dev0+1662.6a4b15c)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scipy.sparse</span></code></a> package provides convenient interfaces
321321
which enable Python code to employ a variety of sparse matrix
322322
formats using essentially identical operations to the dense matrix
323323
case. The skeleton code already contains commands to construct
324324
empty sparse matrices and to solve the resulting linear system. You
325325
may, if you wish, experiment with choosing other sparse formats
326-
from <a class="reference external" href="http://scipy.github.io/devdocs/reference/sparse.html#module-scipy.sparse" title="(in SciPy v1.11.0.dev0+1660.4a6f2d1)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scipy.sparse</span></code></a>, but it is very strongly suggested that
326+
from <a class="reference external" href="http://scipy.github.io/devdocs/reference/sparse.html#module-scipy.sparse" title="(in SciPy v1.11.0.dev0+1662.6a4b15c)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scipy.sparse</span></code></a>, but it is very strongly suggested that
327327
you do <strong>not</strong> switch to a dense numpy array; unless, that is, you
328328
particularly enjoy running out of memory on your computer!</p>
329329
</div>

9_mixed_problems.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ <h3><span class="section-number">9.4.1. </span>Assembling block systems<a class=
380380
</div>
381381
<p>This means that one can first create a full vector of length <span class="math notranslate nohighlight">\(n+m\)</span> and then
382382
slice it to create subvectors that can be used for assembly.</p>
383-
<p>Conversely, <a class="reference external" href="http://scipy.github.io/devdocs/reference/sparse.html#module-scipy.sparse" title="(in SciPy v1.11.0.dev0+1660.4a6f2d1)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scipy.sparse</span></code></a> provides the <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.sparse.bmat.html#scipy.sparse.bmat" title="(in SciPy v1.11.0.dev0+1660.4a6f2d1)"><code class="xref py py-func docutils literal notranslate"><span class="pre">bmat()</span></code></a>
383+
<p>Conversely, <a class="reference external" href="http://scipy.github.io/devdocs/reference/sparse.html#module-scipy.sparse" title="(in SciPy v1.11.0.dev0+1662.6a4b15c)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scipy.sparse</span></code></a> provides the <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.sparse.bmat.html#scipy.sparse.bmat" title="(in SciPy v1.11.0.dev0+1662.6a4b15c)"><code class="xref py py-func docutils literal notranslate"><span class="pre">bmat()</span></code></a>
384384
function which will stitch together a larger sparse matrix from blocks. In
385385
order to have the full indexing options you are likely to want for imposing the
386386
boundary conditions, you will probably want to specify that the resulting
@@ -408,15 +408,15 @@ <h3><span class="section-number">9.4.3. </span>Solving the matrix system<a class
408408
<p>The block matrix system that you eventually produce will be larger than many of
409409
those we have previously encountered, and will have non-zero entries further
410410
from the diagonal. This can cause the matrix solver to become expensive in both
411-
time and memory. Fortunately, <a class="reference external" href="http://scipy.github.io/devdocs/reference/sparse.linalg.html#module-scipy.sparse.linalg" title="(in SciPy v1.11.0.dev0+1660.4a6f2d1)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scipy.sparse.linalg</span></code></a> now incorporates an
411+
time and memory. Fortunately, <a class="reference external" href="http://scipy.github.io/devdocs/reference/sparse.linalg.html#module-scipy.sparse.linalg" title="(in SciPy v1.11.0.dev0+1662.6a4b15c)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">scipy.sparse.linalg</span></code></a> now incorporates an
412412
interface to <a class="reference external" href="https://portal.nersc.gov/project/sparse/superlu/">SuperLU</a>,
413413
which is a high-performance direct sparse solver. The recommended solution
414414
strategy is therefore:</p>
415415
<ol class="arabic simple">
416-
<li><p>Convert your block matrix to <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.sparse.csc_matrix.html#scipy.sparse.csc_matrix" title="(in SciPy v1.11.0.dev0+1660.4a6f2d1)"><code class="xref py py-class docutils literal notranslate"><span class="pre">scipy.sparse.csc_matrix</span></code></a>, which is the
416+
<li><p>Convert your block matrix to <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.sparse.csc_matrix.html#scipy.sparse.csc_matrix" title="(in SciPy v1.11.0.dev0+1662.6a4b15c)"><code class="xref py py-class docutils literal notranslate"><span class="pre">scipy.sparse.csc_matrix</span></code></a>, which is the
417417
format that SuperLU requires.</p></li>
418-
<li><p>Factorise the matrix using <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.sparse.linalg.splu.html#scipy.sparse.linalg.splu" title="(in SciPy v1.11.0.dev0+1660.4a6f2d1)"><code class="xref py py-func docutils literal notranslate"><span class="pre">scipy.sparse.linalg.splu()</span></code></a>.</p></li>
419-
<li><p>Use the resulting <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.sparse.linalg.SuperLU.html#scipy.sparse.linalg.SuperLU" title="(in SciPy v1.11.0.dev0+1660.4a6f2d1)"><code class="xref py py-class docutils literal notranslate"><span class="pre">SuperLU</span></code></a> object to finally solve
418+
<li><p>Factorise the matrix using <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.sparse.linalg.splu.html#scipy.sparse.linalg.splu" title="(in SciPy v1.11.0.dev0+1662.6a4b15c)"><code class="xref py py-func docutils literal notranslate"><span class="pre">scipy.sparse.linalg.splu()</span></code></a>.</p></li>
419+
<li><p>Use the resulting <a class="reference external" href="http://scipy.github.io/devdocs/reference/generated/scipy.sparse.linalg.SuperLU.html#scipy.sparse.linalg.SuperLU" title="(in SciPy v1.11.0.dev0+1662.6a4b15c)"><code class="xref py py-class docutils literal notranslate"><span class="pre">SuperLU</span></code></a> object to finally solve
420420
the system.</p></li>
421421
</ol>
422422
</section>

_sources/index.rst.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,12 @@
139139
of the Mastery question in 2021, i.e. finite element methods for
140140
Stokes equations. The topic was different in previous years.
141141

142-
* `2015 exam paper <_static/FE2015-exam-revised.pdf>`__ and `solutions <_static/FE2015-exam-soln.pdf>`__
143-
* `2016 exam paper <_static/FE2016-exam.pdf>`__ and `solutions <_static/FE2016-exam-soln.pdf>`__
144142
* `2017 exam paper <_static/FEExam-2017.pdf>`__ and `solutions <_static/FEExam-2017-soln.pdf>`__
145143
* `2018 exam paper <_static/FEExam-2018.pdf>`__ and `solutions <_static/FEExam-2018-soln.pdf>`__
146144
* `2019 exam paper <_static/FEExam-2019.pdf>`__ and `solutions <_static/FEExam-2019-solns.pdf>`__
147145
* `2020 exam paper <_static/FEExam-2020.pdf>`__ and `solutions <_static/FEExam-2020-solns.pdf>`__
148146
* `2021 exam paper <_static/FEExam-2021.pdf>`__ and `solutions <_static/FEExam-2021-solns.pdf>`__
147+
* `2022 exam paper <_static/FEExam-2022.pdf>`__ and `solutions <_static/FEExam-2022-soln.pdf>`__
149148
* `revision checklist <_static/revision-checklist.pdf>`__
150149

151150
.. only:: html

_static/FEExam-2017-soln.pdf

-55.4 KB
Binary file not shown.

_static/FEExam-2017.pdf

-59.1 KB
Binary file not shown.

_static/FEExam-2018-soln.pdf

-7.1 KB
Binary file not shown.

_static/FEExam-2018.pdf

-6.75 KB
Binary file not shown.

_static/FEExam-2019-solns.pdf

-184 KB
Binary file not shown.

_static/FEExam-2019.pdf

-45.2 KB
Binary file not shown.

_static/FEExam-2021-solns.pdf

-7.61 KB
Binary file not shown.

0 commit comments

Comments
 (0)