River system discontinuities due to lateral inputs: generic styles and controls