I am designing an electromagnet and need a strong field strength. I have came across a few different ways to wire the coil and am curious which way produces the strongest dipole electromagnet. The coil is to be wound around a cylindrical steel core. The first way is what I think is the most common. Just a coil starting at one end and wound to the opposite end and then back to the beggining end, and then repeated for however many coil layers. The other method is to wire from one end to the opposite end, then bring the wire back to the starting end and wire back to the opposite end. Then repeated as many times as layers wanted. So the main difference is in method 1 the coils are going back and forth and in method 2 the coils are going in one direction then brought back and repeated. Hopefully that makes sense. So my question is, which method would produce a stronger dipole electromagnet? Any help would be greatly appreciated! Thanks!