Atomistic modeling of laser-related phenomena