Global dynamics of a Lotka–Volterra competitive system from river ecology: general boundary conditions | Synapse