Current distribution in the n-layer for inhomogeneous generation. The shaded areas indicate the generation regions, which are choosen to be either near the positive contact (left side) or near the negative contact (right side).