Skip to content

Haskell: added Stormer Verlet and Velocity Verlet #398

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

Merged
merged 1 commit into from
Oct 3, 2018

Conversation

jiegillet
Copy link
Member

Added all methods to Verlet algorithms.
Yay #hipsterhacktoberfest #394

@leios I think your Julia code for calculating the velocity in Stormer Verlet is not correct. You use v += a * dt instead of v = (pos - prev_pos) / dt, which actually yields better results but it's not the method you explain in the text.

@jiegillet jiegillet added Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.) Hacktoberfest The label for all Hacktoberfest related things! labels Sep 29, 2018
@jiegillet jiegillet closed this Oct 1, 2018
@jiegillet
Copy link
Member Author

Sorry for closing and re-opening I just want to check if this will add the PR on hacktoberfest. I won't do it for my other PRs.

@jiegillet jiegillet reopened this Oct 1, 2018
Copy link
Member

@leios leios left a comment

Choose a reason for hiding this comment

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

Again, clean code. I can read it just fine.

@leios leios merged commit ea6eb1f into algorithm-archivists:master Oct 3, 2018
kenpower pushed a commit to kenpower/algorithm-archive that referenced this pull request Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest The label for all Hacktoberfest related things! Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants