Nanostructured Hard Magnets: A Micromagnetic Study