In the case of a complex shape filiform distribution of current, are we allowed to determine the magnetic field created by sections of the distribution and then summing them up, like we do with a discrete distribution of charge when calculating the electric field?
Thank you