Skip to content

Conversation

@sfogerty
Copy link

@sfogerty sfogerty commented Nov 26, 2019

Creating a new longrange force class, derived from the Force class.

Both Ewald and smooth particle mesh Ewald (SPME) are included - note that the Ewald Sum does not use any FFTs or meshes, only SPME.

Closes #25

@sfogerty
Copy link
Author

Still WIP. I hope to get the basics laid out, and have everything successfully build before asking for some review.

@streeve
Copy link
Member

streeve commented Nov 26, 2019

Let me know when you want me to look through this in detail.

At first glance, you can remove the ExaMiniMD license from the new files you've added, consider a separate folder for longrange_force_types, and make sure using longrange is fully optional.

The other thing to consider is deriving the longrange classes from Force, rather than a new base. We could share the neighbor list and energy compute more easily that way

Copy link
Member

@streeve streeve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's what I noticed in a first pass; mainly I'd like to separate the force compute and the comm, potentially the energy and the force. Getting all of this simplified should make the mesh methods much easier

@sfogerty sfogerty changed the title [WIP] Adding Ewald longrange force solver [WIP] Adding Ewald+SPME longrange force solvers Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add long range forces

2 participants