Current-assisted magnetization switching in a mesoscopic NiFe ring with nanoconstrictions of a wire