Change of the magnetic-field topology by an ergodic divertor and the effect on the plasma structure and transport.