Calculation of power deposition patterns on the ergodic divertor