When \nabla \cdot B =0 your equation can be written,
\mu\nabla\times\nabla\times B + B = S.
The correct boundary conditions for this equation are discussed in http://dx.doi.org" , reference number doi:10.1016/j.jcp.2008.03.046.
There it is shown that with \hat{n} \times B=0 on the...