Grid and metric optimization in finite difference and finite element methods in magnetic problems | IEEE Journals & Magazine | IEEE Xplore