Magnetic States in Prismatic Core Multishell Nanowires