HI, sorry for the delay; I thought I had replied but it appears it didn't go through. I'll answer your questions to the best of my ability:
- We use a custom LAMMPS dump that outputs atom id, type, and the unwrapped coordinates of each particle
- Like I mentioned above, we're using unwrapped coordinates. Our box is 400x400x400 nm. I found the center of mass by averaging the positions of each bead in the polymer as they are all identical. When I stopped running that bit of the code, the numbers began trending the way we expected them to, so the problem is definitely with how I'm calculating center of mass.
Here's the bit of my code that's finding CoM from the first MDA universe and then passing it the a second: