Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FEniCS GitHub Actions committed Nov 25, 2024
1 parent f9f855b commit 72ed5fa
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions dolfinx/main/cpp/demos/demo_biharmonic.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ <h3>Weak formulation<a class="headerlink" href="#weak-formulation" title="Link t
\forall \ K \in \mathcal{T} \right\}
\]</div>
<p>and considering the boundary conditions</p>
<div class="amsmath math notranslate nohighlight" id="equation-ca0d0919-485d-41c0-b383-3da742cf46d1">
<span class="eqno">(1)<a class="headerlink" href="#equation-ca0d0919-485d-41c0-b383-3da742cf46d1" title="Permalink to this equation"></a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-78e6b892-c5ef-4f28-8ba0-d6983c4926e1">
<span class="eqno">(1)<a class="headerlink" href="#equation-78e6b892-c5ef-4f28-8ba0-d6983c4926e1" title="Permalink to this equation"></a></span>\[\begin{align}
u &amp;= 0 \quad {\rm on} \ \partial\Omega, \\
\nabla^{2} u &amp;= 0 \quad {\rm on} \ \partial\Omega,
\end{align}\]</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "2ee48f64",
"id": "c4d59a02",
"metadata": {},
"source": [
"# Matrix-free conjugate gradient solver for the Poisson equation\n",
Expand Down Expand Up @@ -72,7 +72,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c13a1fe0",
"id": "fa8546df",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -82,7 +82,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "52870c29",
"id": "fc66bb3a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -92,7 +92,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "125737b5",
"id": "0df726e1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -104,7 +104,7 @@
},
{
"cell_type": "markdown",
"id": "05357257",
"id": "2f835469",
"metadata": {},
"source": [
"We begin by using {py:func}`create_rectangle\n",
Expand All @@ -117,7 +117,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ce69a131",
"id": "e6072ce8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -130,7 +130,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "da219a8a",
"id": "935028ab",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -141,7 +141,7 @@
},
{
"cell_type": "markdown",
"id": "890640fa",
"id": "b1ad8aba",
"metadata": {},
"source": [
"The second argument to {py:class}`functionspace\n",
Expand All @@ -160,7 +160,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "7198605c",
"id": "4087e2b9",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -171,7 +171,7 @@
},
{
"cell_type": "markdown",
"id": "b32228b7",
"id": "9f9122ef",
"metadata": {},
"source": [
"We now find the degrees of freedom that are associated with the boundary\n",
Expand All @@ -182,7 +182,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "dc38cd5a",
"id": "d19ff0c0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -191,7 +191,7 @@
},
{
"cell_type": "markdown",
"id": "bbd94d85",
"id": "98f3ef90",
"metadata": {},
"source": [
"and use {py:func}`dirichletbc <dolfinx.fem.dirichletbc>` to define the\n",
Expand All @@ -204,7 +204,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0ea009b4",
"id": "b8524613",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -215,7 +215,7 @@
},
{
"cell_type": "markdown",
"id": "21253427",
"id": "750406e8",
"metadata": {},
"source": [
"Next, we express the variational problem using UFL."
Expand All @@ -224,7 +224,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "91b1b49e",
"id": "3027bdd6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -239,7 +239,7 @@
},
{
"cell_type": "markdown",
"id": "e3964ef8",
"id": "3c8efc1e",
"metadata": {},
"source": [
"For the matrix-free solvers we also define a second linear form `M` as\n",
Expand All @@ -255,7 +255,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "41b7d091",
"id": "fff588d7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -266,7 +266,7 @@
},
{
"cell_type": "markdown",
"id": "94339e25",
"id": "5bb5710f",
"metadata": {},
"source": [
"### Matrix-free conjugate gradient solver\n",
Expand All @@ -280,7 +280,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8556a488",
"id": "b5700be2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -295,7 +295,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a557df13",
"id": "065dec84",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -306,7 +306,7 @@
},
{
"cell_type": "markdown",
"id": "d264e727",
"id": "54c1195d",
"metadata": {
"lines_to_next_cell": 2
},
Expand All @@ -318,7 +318,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "268bced0",
"id": "d46a58c7",
"metadata": {
"lines_to_next_cell": 2
},
Expand All @@ -341,7 +341,7 @@
},
{
"cell_type": "markdown",
"id": "78bde8ce",
"id": "d8491d6f",
"metadata": {
"lines_to_next_cell": 2
},
Expand All @@ -357,7 +357,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0a0401e7",
"id": "60cf8541",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -403,7 +403,7 @@
},
{
"cell_type": "markdown",
"id": "7b71c3c1",
"id": "7a1df268",
"metadata": {},
"source": [
"This matrix-free solver is now used to compute the finite element solution.\n",
Expand All @@ -414,7 +414,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2131b21e",
"id": "5f10a4bb",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -426,7 +426,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "76e538fd",
"id": "5ae9d68a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -437,7 +437,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "57004076",
"id": "15f7ad12",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -449,7 +449,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d0a71cf3",
"id": "63f253ac",
"metadata": {},
"outputs": [],
"source": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "aa906794",
"id": "3c82d238",
"metadata": {},
"source": [
"# Mixed formulation for the Poisson equation"
]
},
{
"cell_type": "markdown",
"id": "121bf794",
"id": "0fefe3c6",
"metadata": {},
"source": [
"This demo illustrates how to solve Poisson equation using a mixed\n",
Expand All @@ -22,7 +22,7 @@
},
{
"cell_type": "markdown",
"id": "bf0cf900",
"id": "5d022230",
"metadata": {},
"source": [
"```{admonition} Download sources\n",
Expand Down Expand Up @@ -103,7 +103,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "46f0e3b9",
"id": "f5ea0714",
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit 72ed5fa

Please sign in to comment.