jorgensd / dolfinx-tutorial

A reimplementation of the Springer book: https://github.com/hplgit/fenics-tutorial/, covering new topics as well as transitioning from dolfin to dolfinx
https://jorgensd.github.io/dolfinx-tutorial/
103 stars 60 forks source link

Issue on page /chapter1/nitsche.html #202

Open mcastel1 opened 1 month ago

mcastel1 commented 1 month ago

In the expression for $a(u, v)$ and $L(v)$ parentheses are missing under the integral sign.

jorgensd commented 1 month ago

Do you mean in equation 10?

Is this what you would like:

$a(u, v) = \int{\Omega} \nabla u \cdot \nabla v~\mathrm{d}x + \int{\partial\Omega}\left[-(n \cdot\nabla u) v - (n \cdot \nabla v) u + \frac{\alpha}{h} uv\right] ~\mathrm{d}s$

and

$L(v) = \int{\Omega} fv~\mathrm{d}x + \int{\partial\Omega}\left[ -(n \cdot \nabla v) u_D + \frac{\alpha}{h} u_Dv\right]~\mathrm{d}s$