Influence of eddy currents on reversal processes in nanocubes depending on size