The rise and fall of periodic patterns in a generalized Klausmeier-Gray-Scott system door