Skip to content

Commit

Permalink
Deployed 9bab8ca with MkDocs version: 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tzanio committed Oct 14, 2023
1 parent 03d592d commit 3af9d90
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 48 deletions.
84 changes: 84 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,88 @@ <h2 id="example-33-spectral-fractional-laplacian">Example 33: Spectral fractiona
<div style="clear:both;"/></div>
<br></p>
</div>
<div id="ex34">
<h2 id="example-34-source-function-using-a-submesh-transfer">Example 34: Source Function using a SubMesh Transfer</h2>
<p><img class="floatright" width="500pt" src="../img/examples/ex34.png"></p>
<p>This example demonstrates the use of a SubMesh object to transfer solution
data from a sub-domain and use this as a source function on the full domain.
In this case we compute a volumetric current density $\vec{J}$ as the gradient
of a scalar potential $\varphi$ on a portion of the domain.</p>
<p>$$\nabla\cdot(\sigma\nabla\varphi)=0$$
$$\vec{J} = -\sigma\nabla\varphi$$</p>
<p>Where a voltage difference is applied on surfaces of the sub-domain (shown on
the left) to generate the current density restricted to this sub-domain. The
current density is then transferred to the full domain (shown on the right)
using a SubMesh object.</p>
<p>We then use this current density on the full domain as a source term in a
magnetostatic solve for a vector potential $\vec{A}$.</p>
<p>$$\nabla\times(\mu^{-1}\nabla\times\vec{A})=\vec{J}$$
$$\vec{B} = \nabla\times\vec{A}$$</p>
<p>This example verifies the recreation of boundary attributes on a sub-domain
mesh as well as transfer of Raviart-Thomas vector fields between the SubMesh
and the full Mesh. Note that the data transfer in this particular example
involves arbitrary order Raviart-Thomas degrees of freedom on a mixture of
tetrahedral and triangular prism elements.</p>
<p><em>The example has a serial (<a href="https://github.com/mfem/mfem/blob/master/examples/ex34.cpp">ex34.cpp</a>)
and a parallel (<a href="https://github.com/mfem/mfem/blob/master/examples/ex34p.cpp">ex34p.cpp</a>) version.
We recommend viewing Examples 1 and 3 before viewing this example.</em>
<div style="clear:both;"/></div>
<br></p>
</div>
<div id="ex35">
<h2 id="example-35-port-boundary-conditions-using-submesh-transfers">Example 35: Port Boundary Conditions using SubMesh Transfers</h2>
<p><img class="floatright" width="500pt" src="../img/examples/ex35p1.gif"></p>
<p>This example demonstrates the use of a SubMesh object to transfer a <code>port
boundary condition</code> from a portion of the boundary to the corresponding portion
of the full domain. </p>
<p>Just as in Example 22 this example implements three variants of a damped
harmonic oscillator:</p>
<ul>
<li>
<p>A scalar $H^1$ field:
$$-\nabla\cdot\left(a \nabla u\right) - \omega^2 b\,u + i\,\omega\,c\,u = 0\mbox{ with }u|_\Gamma=v$$</p>
</li>
<li>
<p>A vector $H(curl)$ field:
$$\nabla\times\left(a\nabla\times\vec{u}\right) - \omega^2 b\,\vec{u} + i\,\omega\,c\,\vec{u} = 0\mbox{ with }\hat{n}\times(\vec{u}\times\hat{n})|_\Gamma=\vec{v}$$</p>
</li>
<li>
<p>A vector $H(div)$ field:
$$-\nabla\left(a \nabla\cdot\vec{u}\right) - \omega^2 b\,\vec{u} + i\,\omega\,c\,\vec{u} = 0\mbox{ with }\hat{n}\cdot\vec{u}|_\Gamma=v$$</p>
</li>
</ul>
<p>Where $\Gamma$ is a portion of the boundary called the <code>port</code>. In each case the
field is driven by a forced oscillation, with angular frequency $\omega$,
imposed at the boundary or a portion of the boundary.
<img class="floatright" width="500pt" src="../img/examples/ex35p2.gif">
In Example 22 this boundary condition was simply a constant in space. In this
example the boundary condition is an eigenmode of a lower dimensional
eignevalue problem defined on a portion of the boundary as follows:</p>
<ul>
<li>
<p>For the scalar $H^1$ field:
$$-\nabla\cdot\left(\nabla v\right) = \lambda\,v\mbox{ with }v|_{\partial\Gamma}=0$$</p>
</li>
<li>
<p>For the vector $H(curl)$ field:
$$\nabla\times\left(\nabla\times\vec{v}\right) = \lambda\,\vec{v}\mbox{ with }\hat{n}_{\partial\Gamma}\times\vec{v}|_{\partial\Gamma}=0$$</p>
</li>
<li>
<p>For the vector $H(div)$ field:
$$-\nabla\cdot\left(\nabla v\right) = \lambda\,v\mbox{ with }\hat{n}_{\partial\Gamma}\cdot\nabla v|_{\partial\Gamma}=0$$</p>
</li>
</ul>
<p>The different cases implemented in this example can be used to verify the
transfer of an $H^1$ scalar field, the tangential components of an $H(curl)$
vector field, and the normal component of an $H(div)$ vector field (as a scalar
$L^2$ field in this case) between a SubMesh and its parent mesh.</p>
<p><em>The example has only a parallel (<a href="https://github.com/mfem/mfem/blob/master/examples/ex35p.cpp">ex35p.cpp</a>)
version because the eigenmode solver used to compute the field on the port is
only implemented in parallel. We recommend viewing Examples 11, 13, and 22
before viewing this example.</em>
<div style="clear:both;"/></div>
<br></p>
</div>
<div id="ex36">
<h2 id="example-36-obstacle-problem">Example 36: Obstacle Problem</h2>
<p><img class="floatright" width="280pt" src="../img/examples/ex36.png"></p>
Expand Down Expand Up @@ -2125,6 +2207,8 @@ <h2 id="generating-gaussian-random-fields-via-the-spde-method">Generating Gaussi
+ showElement("ex31", maxwell && hcurl && galerkin && (gs || pcg || umfpack || ams))
+ showElement("ex32", maxwell && hcurl && galerkin && (lobpcg || ams))
+ showElement("ex33", (diffusion || nonlocal) && h1 && galerkin && amg)
+ showElement("ex34", maxwell && (hcurl || h1 || hdiv) && galerkin && (pcg || amg || ams))
+ showElement("ex35", (diffusion || maxwell || graddiv) && (h1 || hcurl || hdiv) && galerkin && (gmres || amg || ams || ads || superlu || lobpcg))
+ showElement("ex36", (diffusion || freeboundary) && h1 && (galerkin || mixed) && (gmres || newton))
+ showElement("ex37", elasticity && (l2 || h1) && galerkin && (pcg || amg))

Expand Down
6 changes: 4 additions & 2 deletions features/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,10 @@ <h2 id="extensive-examples">Extensive Examples</h2>
<li><a href="https://docs.mfem.org/html/ex30_8cpp_source.html">Example 30</a>: mesh preprocessing, resolving problem data,</li>
<li><a href="https://docs.mfem.org/html/ex31_8cpp_source.html">Example 31</a>: Nedelec H(curl) FEM for the anisotropic definite Maxwell problem,</li>
<li><a href="https://docs.mfem.org/html/ex32p_8cpp_source.html">Example 32</a>: parallel Nedelec Maxwell eigensolver with anisotropic permittivity,</li>
<li><a href="https://docs.mfem.org/html/ex33_8cpp_source.html">Example 33</a>: nodal C0 FEM for the fractional Laplacian problem.</li>
<li><a href="https://docs.mfem.org/html/ex36_8cpp_source.html">Example 36</a>: high-order FEM for the obstacle problem.</li>
<li><a href="https://docs.mfem.org/html/ex33_8cpp_source.html">Example 33</a>: nodal C0 FEM for the fractional Laplacian problem,</li>
<li><a href="https://docs.mfem.org/html/ex34_8cpp_source.html">Example 34</a>: source function from SubMesh,</li>
<li><a href="https://docs.mfem.org/html/ex35_8cpp_source.html">Example 35</a>: port boundary condition from SubMesh,</li>
<li><a href="https://docs.mfem.org/html/ex36_8cpp_source.html">Example 36</a>: high-order FEM for the obstacle problem,</li>
<li><a href="https://docs.mfem.org/html/ex37_8cpp_source.html">Example 37</a>: topology optimization.</li>
</ul>
<p>Most of the examples have a serial and a parallel version, illustrating the ease of transition and the minimal code changes between the two.</p>
Expand Down
Binary file added img/examples/ex34.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/examples/ex35p1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/examples/ex35p2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/seminar/southworth.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,227 +2,227 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://mfem.org/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/features/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/examples/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/electromagnetics/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/fluids/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/meshing-miniapps/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/autodiff/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/tools/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/toys/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/getting-started/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/building/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/serial-tutorial/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/parallel-tutorial/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/code-overview/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/tesla-notes/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/maxwell-notes/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/howto/howto-index/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/fem/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/pri-dual-vec/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/bilininteg/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/lininteg/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/coefficient/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/nonlininteg/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/lininterp/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/fem_weak_form/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/fem_bc/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/performance/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/tperformance/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/gpu-support/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/mesh-formats/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/mesh-format-v1.0/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/mesh-format-v1.x/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/dox/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/publications/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/about/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/search/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/news/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/videos/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/seminar/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/workshop/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/workshop22/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/workshop21/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/tutorial/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/gallery/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://mfem.org/download/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-14</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 3af9d90

Please sign in to comment.