Hello all,
I try to implement the solution of the boundary integral of u^2.
So integral_(Neumann boundary) u^2 ds
This is equivalent to || u^2 || ^2_(Neumann boundary)
I want to solve it with the following norm
dolfin.fem.norms.norm(v, norm_type='L2', mesh=None)
So i started
n = 50
mesh = UnitSquareMesh(n,n)
V = FunctionSpace(mesh, "Lagrange, 1")
p = Expression('5.0')
u = Function(V)
u.interpolate(p)
nrm = norm(p, 'L2', mesh)
but this will solve it on the whole mesh.
Is it possible to solve in only on the boundary.
Thanks