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

LJMelt: Should not need to set acc when setting up atoms #7

Open
rikedyp opened this issue Aug 15, 2019 · 0 comments
Open

LJMelt: Should not need to set acc when setting up atoms #7

rikedyp opened this issue Aug 15, 2019 · 0 comments

Comments

@rikedyp
Copy link
Owner

rikedyp commented Aug 15, 2019

natoms←100
pos←100 2⍴↑,0.05×⍳15 15
vel←¯0.5+?100 2⍴0
vel-⍤1←(+⌿÷≢)vel
acc←100 2⍴0
density←natoms÷volume

acc should be 0 dim⍴⍬ by default

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

1 participant