Curvature induced magnonic crystal in nanowires