Brownian dynamics simulations of isolated polymer molecules in shear flow near adsorbing and nonadsorbing surfaces