Skip to content

Commit a43f194

Browse files
author
FEniCS GitHub Actions
committed
1 parent f78476a commit a43f194

File tree

3 files changed

+68
-68
lines changed

3 files changed

+68
-68
lines changed

dolfinx/main/cpp/demos/demo_biharmonic.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ <h3>Weak formulation<a class="headerlink" href="#weak-formulation" title="Link t
135135
\forall \ K \in \mathcal{T} \right\}
136136
\]</div>
137137
<p>and considering the boundary conditions</p>
138-
<div class="amsmath math notranslate nohighlight" id="equation-79c699de-77cf-4844-9553-75a79d1abdd0">
139-
<span class="eqno">(1)<a class="headerlink" href="#equation-79c699de-77cf-4844-9553-75a79d1abdd0" title="Permalink to this equation"></a></span>\[\begin{align}
138+
<div class="amsmath math notranslate nohighlight" id="equation-62e78a09-e811-4d83-bde0-ced93b0af10f">
139+
<span class="eqno">(1)<a class="headerlink" href="#equation-62e78a09-e811-4d83-bde0-ced93b0af10f" title="Permalink to this equation"></a></span>\[\begin{align}
140140
u &amp;= 0 \quad {\rm on} \ \partial\Omega, \\
141141
\nabla^{2} u &amp;= 0 \quad {\rm on} \ \partial\Omega,
142142
\end{align}\]</div>

dolfinx/main/python/_downloads/9561cf6cd1a70079b986f4eb31580cbd/demo_poisson_matrix_free.ipynb

+29-29
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "685ae755",
5+
"id": "da4d2fc7",
66
"metadata": {},
77
"source": [
88
"# Matrix-free conjugate gradient solver for the Poisson equation\n",
@@ -73,7 +73,7 @@
7373
{
7474
"cell_type": "code",
7575
"execution_count": null,
76-
"id": "ddc66fd9",
76+
"id": "762363c0",
7777
"metadata": {},
7878
"outputs": [],
7979
"source": [
@@ -83,7 +83,7 @@
8383
{
8484
"cell_type": "code",
8585
"execution_count": null,
86-
"id": "6964d0d1",
86+
"id": "94e731ca",
8787
"metadata": {},
8888
"outputs": [],
8989
"source": [
@@ -93,7 +93,7 @@
9393
{
9494
"cell_type": "code",
9595
"execution_count": null,
96-
"id": "44255e51",
96+
"id": "a4686078",
9797
"metadata": {},
9898
"outputs": [],
9999
"source": [
@@ -104,7 +104,7 @@
104104
},
105105
{
106106
"cell_type": "markdown",
107-
"id": "59c3e9e9",
107+
"id": "2dbb6eec",
108108
"metadata": {},
109109
"source": [
110110
"We begin by using {py:func}`create_rectangle\n",
@@ -117,7 +117,7 @@
117117
{
118118
"cell_type": "code",
119119
"execution_count": null,
120-
"id": "6b6f83fb",
120+
"id": "756d1326",
121121
"metadata": {},
122122
"outputs": [],
123123
"source": [
@@ -130,7 +130,7 @@
130130
{
131131
"cell_type": "code",
132132
"execution_count": null,
133-
"id": "3a8a67e4",
133+
"id": "d31322f6",
134134
"metadata": {},
135135
"outputs": [],
136136
"source": [
@@ -141,7 +141,7 @@
141141
},
142142
{
143143
"cell_type": "markdown",
144-
"id": "6365aa84",
144+
"id": "5b96a993",
145145
"metadata": {},
146146
"source": [
147147
"The second argument to {py:class}`functionspace\n",
@@ -160,7 +160,7 @@
160160
{
161161
"cell_type": "code",
162162
"execution_count": null,
163-
"id": "876114dd",
163+
"id": "c5590737",
164164
"metadata": {},
165165
"outputs": [],
166166
"source": [
@@ -171,7 +171,7 @@
171171
},
172172
{
173173
"cell_type": "markdown",
174-
"id": "167fdd03",
174+
"id": "3e9ffe9d",
175175
"metadata": {},
176176
"source": [
177177
"We now find the degrees of freedom that are associated with the boundary\n",
@@ -182,7 +182,7 @@
182182
{
183183
"cell_type": "code",
184184
"execution_count": null,
185-
"id": "198bd848",
185+
"id": "d3a48b1c",
186186
"metadata": {},
187187
"outputs": [],
188188
"source": [
@@ -191,7 +191,7 @@
191191
},
192192
{
193193
"cell_type": "markdown",
194-
"id": "0cd1423c",
194+
"id": "95890c0c",
195195
"metadata": {},
196196
"source": [
197197
"and use {py:func}`dirichletbc <dolfinx.fem.dirichletbc>` to define the\n",
@@ -204,7 +204,7 @@
204204
{
205205
"cell_type": "code",
206206
"execution_count": null,
207-
"id": "bf29a7d3",
207+
"id": "71d78781",
208208
"metadata": {},
209209
"outputs": [],
210210
"source": [
@@ -215,7 +215,7 @@
215215
},
216216
{
217217
"cell_type": "markdown",
218-
"id": "c5e4c95f",
218+
"id": "1eab21df",
219219
"metadata": {},
220220
"source": [
221221
"Next, we express the variational problem using UFL."
@@ -224,7 +224,7 @@
224224
{
225225
"cell_type": "code",
226226
"execution_count": null,
227-
"id": "2c9126c7",
227+
"id": "55252acf",
228228
"metadata": {},
229229
"outputs": [],
230230
"source": [
@@ -239,7 +239,7 @@
239239
},
240240
{
241241
"cell_type": "markdown",
242-
"id": "2a3ee408",
242+
"id": "5a40e8fd",
243243
"metadata": {},
244244
"source": [
245245
"For the matrix-free solvers we also define a second linear form `M` as\n",
@@ -255,7 +255,7 @@
255255
{
256256
"cell_type": "code",
257257
"execution_count": null,
258-
"id": "5cec9588",
258+
"id": "0c113747",
259259
"metadata": {},
260260
"outputs": [],
261261
"source": [
@@ -266,7 +266,7 @@
266266
},
267267
{
268268
"cell_type": "markdown",
269-
"id": "779cb6a8",
269+
"id": "e9afa421",
270270
"metadata": {},
271271
"source": [
272272
"### Matrix-free conjugate gradient solver\n",
@@ -280,7 +280,7 @@
280280
{
281281
"cell_type": "code",
282282
"execution_count": null,
283-
"id": "a22a065b",
283+
"id": "da910cce",
284284
"metadata": {},
285285
"outputs": [],
286286
"source": [
@@ -295,7 +295,7 @@
295295
{
296296
"cell_type": "code",
297297
"execution_count": null,
298-
"id": "a8d3f546",
298+
"id": "d7e393c3",
299299
"metadata": {},
300300
"outputs": [],
301301
"source": [
@@ -306,7 +306,7 @@
306306
},
307307
{
308308
"cell_type": "markdown",
309-
"id": "331102cb",
309+
"id": "5fdbde7d",
310310
"metadata": {
311311
"lines_to_next_cell": 2
312312
},
@@ -319,7 +319,7 @@
319319
{
320320
"cell_type": "code",
321321
"execution_count": null,
322-
"id": "15242a9f",
322+
"id": "a6332264",
323323
"metadata": {
324324
"lines_to_next_cell": 2
325325
},
@@ -342,7 +342,7 @@
342342
},
343343
{
344344
"cell_type": "markdown",
345-
"id": "8e07715b",
345+
"id": "9668bea6",
346346
"metadata": {
347347
"lines_to_next_cell": 2
348348
},
@@ -358,7 +358,7 @@
358358
{
359359
"cell_type": "code",
360360
"execution_count": null,
361-
"id": "17cc1fbe",
361+
"id": "1927788b",
362362
"metadata": {},
363363
"outputs": [],
364364
"source": [
@@ -404,7 +404,7 @@
404404
},
405405
{
406406
"cell_type": "markdown",
407-
"id": "1af84b00",
407+
"id": "cb0f58cc",
408408
"metadata": {},
409409
"source": [
410410
"This matrix-free solver is now used to compute the finite element\n",
@@ -415,7 +415,7 @@
415415
{
416416
"cell_type": "code",
417417
"execution_count": null,
418-
"id": "d59e612d",
418+
"id": "1ed877e7",
419419
"metadata": {},
420420
"outputs": [],
421421
"source": [
@@ -427,7 +427,7 @@
427427
{
428428
"cell_type": "code",
429429
"execution_count": null,
430-
"id": "d9a56f9b",
430+
"id": "a7329018",
431431
"metadata": {},
432432
"outputs": [],
433433
"source": [
@@ -438,7 +438,7 @@
438438
{
439439
"cell_type": "code",
440440
"execution_count": null,
441-
"id": "f7edce05",
441+
"id": "2b5f8641",
442442
"metadata": {},
443443
"outputs": [],
444444
"source": [
@@ -450,7 +450,7 @@
450450
{
451451
"cell_type": "code",
452452
"execution_count": null,
453-
"id": "6a6913df",
453+
"id": "04f5e2e4",
454454
"metadata": {},
455455
"outputs": [],
456456
"source": [

0 commit comments

Comments
 (0)