reconfigurable magnetic nanopatterns