Multiscale Modeling Of Polymer Dynamics Under Equilibrium And Non-Equilbrium Conditions.