hello everyone
I’m a new one for the fenics project, I have a question about fenics:
how to compute the H(curl) error in fenics?
If you mean
\int_\Omega (\nabla \times (u_h - u_e), \nabla \times (u_h - u_e))~\mathrm{d}x, simply write it with ufl
error = inner(curl(uh-ue), curl(uh-ue)) * dx
print(assemble(error))
1 Like