Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
FEniCS GitHub Actions committed Nov 22, 2024
1 parent 2275da5 commit d9d830e
Show file tree
Hide file tree
Showing 22 changed files with 319 additions and 319 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-74ae63f5-098e-4ee0-8290-bd4258d2083d">
<span class="eqno">(1)<a class="headerlink" href="#equation-74ae63f5-098e-4ee0-8290-bd4258d2083d" title="Permalink to this equation"></a></span>\[\begin{align}
<div class="amsmath math notranslate nohighlight" id="equation-ccbf7bce-c8c8-4339-8b15-05a3e0e9e652">
<span class="eqno">(1)<a class="headerlink" href="#equation-ccbf7bce-c8c8-4339-8b15-05a3e0e9e652" 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": "7bf036c1",
"id": "0fef9b4f",
"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": "19077487",
"id": "c5d74aab",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -82,7 +82,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1ee78cbe",
"id": "f67e3c43",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -92,7 +92,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "70328fc1",
"id": "2c955ec0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -104,7 +104,7 @@
},
{
"cell_type": "markdown",
"id": "0e9ca0f8",
"id": "8c3309d5",
"metadata": {},
"source": [
"We begin by using {py:func}`create_rectangle\n",
Expand All @@ -117,7 +117,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "dd8cad31",
"id": "c1523e3c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -130,7 +130,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3a06d219",
"id": "ea097c17",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -141,7 +141,7 @@
},
{
"cell_type": "markdown",
"id": "0d44221f",
"id": "388ec655",
"metadata": {},
"source": [
"The second argument to {py:class}`functionspace\n",
Expand All @@ -160,7 +160,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fb360f21",
"id": "27aab29a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -171,7 +171,7 @@
},
{
"cell_type": "markdown",
"id": "eff08f1e",
"id": "fb7aa233",
"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": "f3b901b4",
"id": "0ef59d8d",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -191,7 +191,7 @@
},
{
"cell_type": "markdown",
"id": "96b927e8",
"id": "eb93d782",
"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": "4c068f99",
"id": "91a3b96f",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -215,7 +215,7 @@
},
{
"cell_type": "markdown",
"id": "2d281138",
"id": "d628a4a7",
"metadata": {},
"source": [
"Next, we express the variational problem using UFL."
Expand All @@ -224,7 +224,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "125741b8",
"id": "a771b8c0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -239,7 +239,7 @@
},
{
"cell_type": "markdown",
"id": "21153649",
"id": "c48b5d0e",
"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": "2fd60aa9",
"id": "67d13c5b",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -266,7 +266,7 @@
},
{
"cell_type": "markdown",
"id": "c8dbaea4",
"id": "e786a259",
"metadata": {},
"source": [
"### Matrix-free conjugate gradient solver\n",
Expand All @@ -280,7 +280,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "42665598",
"id": "5aaa383e",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -295,7 +295,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8b30c3cc",
"id": "a48c7b7a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -306,7 +306,7 @@
},
{
"cell_type": "markdown",
"id": "d43ef9de",
"id": "6b61146d",
"metadata": {
"lines_to_next_cell": 2
},
Expand All @@ -318,7 +318,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "62fc8558",
"id": "100d4afc",
"metadata": {
"lines_to_next_cell": 2
},
Expand All @@ -341,7 +341,7 @@
},
{
"cell_type": "markdown",
"id": "a820ec38",
"id": "8f9dfb2d",
"metadata": {
"lines_to_next_cell": 2
},
Expand All @@ -357,7 +357,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "98ffb249",
"id": "2848fcf2",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -403,7 +403,7 @@
},
{
"cell_type": "markdown",
"id": "bed7e4f5",
"id": "188eeb67",
"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": "1f94c0ca",
"id": "34587847",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -426,7 +426,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0befa1d9",
"id": "3c66fb0c",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -437,7 +437,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b01090b6",
"id": "ede30cd4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -449,7 +449,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f85e7039",
"id": "bd9943e7",
"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": "6a10efe5",
"id": "c1083913",
"metadata": {},
"source": [
"# Mixed formulation for the Poisson equation"
]
},
{
"cell_type": "markdown",
"id": "f656978e",
"id": "ad66453d",
"metadata": {},
"source": [
"This demo illustrates how to solve Poisson equation using a mixed\n",
Expand All @@ -22,7 +22,7 @@
},
{
"cell_type": "markdown",
"id": "2d088581",
"id": "564962e6",
"metadata": {},
"source": [
"```{admonition} Download sources\n",
Expand Down Expand Up @@ -103,7 +103,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d14c6ed4",
"id": "d0e940af",
"metadata": {},
"outputs": [],
"source": [
Expand Down
2 changes: 1 addition & 1 deletion dolfinx/main/python/_modules/dolfinx/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ <h1>Source code for dolfinx.common</h1><div class="highlight"><pre>
<span class="n">__all__</span> <span class="o">=</span> <span class="p">[</span>
<span class="s2">&quot;IndexMap&quot;</span><span class="p">,</span>
<span class="s2">&quot;Timer&quot;</span><span class="p">,</span>
<span class="s2">&quot;timed&quot;</span><span class="p">,</span>
<span class="s2">&quot;git_commit_hash&quot;</span><span class="p">,</span>
<span class="s2">&quot;has_adios2&quot;</span><span class="p">,</span>
<span class="s2">&quot;has_complex_ufcx_kernels&quot;</span><span class="p">,</span>
Expand All @@ -113,6 +112,7 @@ <h1>Source code for dolfinx.common</h1><div class="highlight"><pre>
<span class="s2">&quot;has_petsc4py&quot;</span><span class="p">,</span>
<span class="s2">&quot;has_ptscotch&quot;</span><span class="p">,</span>
<span class="s2">&quot;has_slepc&quot;</span><span class="p">,</span>
<span class="s2">&quot;timed&quot;</span><span class="p">,</span>
<span class="s2">&quot;ufcx_signature&quot;</span><span class="p">,</span>
<span class="p">]</span>

Expand Down
44 changes: 22 additions & 22 deletions dolfinx/main/python/_modules/dolfinx/fem.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,38 +250,38 @@ <h1>Source code for dolfinx.fem</h1><div class="highlight"><pre>

<span class="n">__all__</span> <span class="o">=</span> <span class="p">[</span>
<span class="s2">&quot;Constant&quot;</span><span class="p">,</span>
<span class="s2">&quot;CoordinateElement&quot;</span><span class="p">,</span>
<span class="s2">&quot;DirichletBC&quot;</span><span class="p">,</span>
<span class="s2">&quot;DofMap&quot;</span><span class="p">,</span>
<span class="s2">&quot;ElementMetaData&quot;</span><span class="p">,</span>
<span class="s2">&quot;Expression&quot;</span><span class="p">,</span>
<span class="s2">&quot;Form&quot;</span><span class="p">,</span>
<span class="s2">&quot;Function&quot;</span><span class="p">,</span>
<span class="s2">&quot;ElementMetaData&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_matrix&quot;</span><span class="p">,</span>
<span class="s2">&quot;compute_integration_domains&quot;</span><span class="p">,</span>
<span class="s2">&quot;functionspace&quot;</span><span class="p">,</span>
<span class="s2">&quot;FunctionSpace&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_sparsity_pattern&quot;</span><span class="p">,</span>
<span class="s2">&quot;discrete_gradient&quot;</span><span class="p">,</span>
<span class="s2">&quot;assemble_scalar&quot;</span><span class="p">,</span>
<span class="s2">&quot;IntegralType&quot;</span><span class="p">,</span>
<span class="s2">&quot;apply_lifting&quot;</span><span class="p">,</span>
<span class="s2">&quot;assemble_matrix&quot;</span><span class="p">,</span>
<span class="s2">&quot;assemble_scalar&quot;</span><span class="p">,</span>
<span class="s2">&quot;assemble_vector&quot;</span><span class="p">,</span>
<span class="s2">&quot;apply_lifting&quot;</span><span class="p">,</span>
<span class="s2">&quot;DirichletBC&quot;</span><span class="p">,</span>
<span class="s2">&quot;dirichletbc&quot;</span><span class="p">,</span>
<span class="s2">&quot;bcs_by_block&quot;</span><span class="p">,</span>
<span class="s2">&quot;DofMap&quot;</span><span class="p">,</span>
<span class="s2">&quot;Form&quot;</span><span class="p">,</span>
<span class="s2">&quot;form&quot;</span><span class="p">,</span>
<span class="s2">&quot;IntegralType&quot;</span><span class="p">,</span>
<span class="s2">&quot;compile_form&quot;</span><span class="p">,</span>
<span class="s2">&quot;compute_integration_domains&quot;</span><span class="p">,</span>
<span class="s2">&quot;coordinate_element&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_form&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_interpolation_data&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_matrix&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_sparsity_pattern&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_vector&quot;</span><span class="p">,</span>
<span class="s2">&quot;locate_dofs_geometrical&quot;</span><span class="p">,</span>
<span class="s2">&quot;locate_dofs_topological&quot;</span><span class="p">,</span>
<span class="s2">&quot;dirichletbc&quot;</span><span class="p">,</span>
<span class="s2">&quot;discrete_gradient&quot;</span><span class="p">,</span>
<span class="s2">&quot;extract_function_spaces&quot;</span><span class="p">,</span>
<span class="s2">&quot;transpose_dofmap&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_interpolation_data&quot;</span><span class="p">,</span>
<span class="s2">&quot;CoordinateElement&quot;</span><span class="p">,</span>
<span class="s2">&quot;coordinate_element&quot;</span><span class="p">,</span>
<span class="s2">&quot;form&quot;</span><span class="p">,</span>
<span class="s2">&quot;form_cpp_class&quot;</span><span class="p">,</span>
<span class="s2">&quot;create_form&quot;</span><span class="p">,</span>
<span class="s2">&quot;compile_form&quot;</span><span class="p">,</span>
<span class="s2">&quot;functionspace&quot;</span><span class="p">,</span>
<span class="s2">&quot;locate_dofs_geometrical&quot;</span><span class="p">,</span>
<span class="s2">&quot;locate_dofs_topological&quot;</span><span class="p">,</span>
<span class="s2">&quot;set_bc&quot;</span><span class="p">,</span>
<span class="s2">&quot;transpose_dofmap&quot;</span><span class="p">,</span>
<span class="p">]</span>
</pre></div>

Expand Down
Loading

0 comments on commit d9d830e

Please sign in to comment.