half of the integral of the squared gradient of a function on its domain
E[u]=\frac12\int_\Omega \left\|\nabla u(x)\right\|^2\,\mathrm dx