The influence of shape anisotropy on vortex nucleation in Pacman-like nanomagnets