A dynamical model for bark beetle outbreaks. (21st October 2016)