Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic boundary conditions #24

Open
abdalazizrashid opened this issue Aug 31, 2021 · 1 comment
Open

Periodic boundary conditions #24

abdalazizrashid opened this issue Aug 31, 2021 · 1 comment

Comments

@abdalazizrashid
Copy link

Is there a way to make this architecture support periodic boundary conditions?

@FabianFuchsML
Copy link
Owner

Off the top of my head, yes absolutely! Essentially your particles/nodes now have multiple positions. Do you want each pair of particles to just interact once? If so, you just need a function to calculate the shortest relative position vector of two points given your periodic boundary condition.

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

No branches or pull requests

2 participants