It is well known that in the case of a regular domain the solution of the t
ime-harmonic Maxwell's equations allows a discretization by means of nodal
finite elements: this is achieved by solving a regularized problem similar
to the vector Helmholtz equation. The present paper deals with the same pro
blem in the case of a nonconvex polyhedron. It is shown that a nodal finite
element method does not approximate in general the solution to Maxwell's e
quations, but actually the solution to a neighboring variational problem in
volving a different function space. Indeed, the solution to Maxwell's equat
ions presents singularities near the edges and corners of the domain that c
annot be approximated by Lagrange finite elements.
A new method is proposed involving the decomposition of the solution field
into a regular part that can be treated numerically by nodal finite element
s and a singular part that has to be taken into account explicitly. This si
ngular field method is presented in various situations such as electric and
magnetic boundary conditions, inhomogeneous media, and regions with screen
s.