paesanilab / MBX

MBX is an energy and force calculator for data-driven many-body simulations.
Other
30 stars 32 forks source link

PBC dispersion #44

Closed chemphys closed 5 years ago

chemphys commented 6 years ago

Hey @dgasmith ,

I remember that when we talked about periodic boundary conditions, you mentioned that usually, to ensure integration, one sets the dispersion at the cutoff to 0, and shifts the whole potential. We can talk about the best way to do this on Monday, if that is OK for you. Here is Spring Break, and I don't know if you guys have this too, but I will be at school for sure.

As an update for PBC, I have the 1B and 2B (poly + dispersion) working, but probably in not the most efficient way. I will implement the 3B, and then tackle the electrostatics.

dgasmith commented 6 years ago

Ah, we are here and I was unaware of any spring break so I was planning to meet regardless. Yes, with PBC we have a bit to talk about. Unfortunately I do not know of any good links to begin that conversation.

chemphys commented 6 years ago

@andysim , I opened this issue a while ago, but is also something to remember. As today's date, the dispersion in PBC is scaled. This means that for each pair, the dispersion is scaled so at the cutoff distance gets the value of 0. I recall you saying that there was a better way to do this. Just to keep it in mind.

chemphys commented 5 years ago

Issue solved. We added PME for dispersion. Closing!