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/
114 stars 64 forks source link

Issue on page /chapter1/nitsche.html #202

Open mcastel1 opened 3 months ago

mcastel1 commented 3 months ago

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

jorgensd commented 3 months 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$