Dynamics of a neuron exposed to integer- and fractional-order discontinuous externalmagnetic flux