Abstract: We developed a finite-difference frequency-domain (FDFD) and a finite-difference time-domain (FDTD) drift-diffusion equations solver that takes the multilayered background into account for ...