An original solution for unbounded electromagnetic 2D- and 3D-problems throughout the finite element method