Space-propagation model of Tm-doped fiber laser.