I want to get the equilibrium configuration of a single polymer chain (infinite long) from an initial-guess one. I use the periodic boundary condition along the chain direction. However, I don’t know how to set up the bonds, angles and dihedrals between these atoms across the boundary. Did anyone encounter this problem before? Any suggestion is appreciated.