Simulation of riparian vegetation density on hydrodynamic roughness and local ecosystem connectivity.