A finite-difference time-domain method for the simulation of gain materials with carrier diffusion in photonic crystals