add boundary condition for magnetic potential
debbug
Merge branch 'master' into tearing