-
Notifications
You must be signed in to change notification settings - Fork 0
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
Octree and Barnes Hut Implementation #20
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
a867eb4
made progress on octree class; working on building the octree class
jdinovi 6ae21b6
finished implementing octree class and members/functions; need to fix…
jdinovi 1829075
update testing and previous implementation; debug octree implementati…
jdinovi 33ce06b
add inclusion of <memory> to octree files
jdinovi aad4eaf
add tests for body implementation; slightly edit body.cpp implementation
jdinovi d92a170
fixed implementation of octree
jdinovi 5a41be6
fixed octree insertion implementation; added testing for octree inser…
jdinovi 681d49f
fixed basic pointers vs shared pointers in octree implementation; add…
jdinovi dc8b482
fixed issue with types; need to add more coverage and implement barne…
jdinovi 4f47c7d
change every double to a float; implemented barnes-hut force algo; ne…
jdinovi 142391b
implemented barnes-hut force calculation; need to implement testing
jdinovi c7610be
Add functional header
Adam-Boesky 197ee76
added testing for barnes-hut force calculation algorithm
jdinovi 72d9c10
add an include header of math.h to test_environment
jdinovi 415735e
fix type issue in test of barnes-hut algo
jdinovi bd1dc27
added more testing for octree class; changed totalMass to a float fro…
jdinovi 590e272
Pulled main into octree branch before making a PR; just have to fix y…
jdinovi 5bc7f80
added line to workaround makefile issue on John's laptop; changed to …
jdinovi 0538478
change include to INC_DIR variable; fix warning in test_statistics.cpp
jdinovi 6537dd1
small change to push and test workflow
jdinovi 488159d
commented out test case that detects for errors in loading file
jdinovi 53a940b
add line to coverage to debug
jdinovi b281768
added debugging print to coverage workflow
jdinovi de11e74
added dummy executable for the statistics file; changed += from Makef…
jdinovi c5fc4cc
adjut Makefile for John's local machine; testing automation on github
jdinovi 84277b2
Fix small typo in Makefile to fix automation (LDLFLAGS --> LDFLAGS)
jdinovi 764c747
change initilization of coordinate looping in environment to at first…
jdinovi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do u think u could add like comments for each of the children that just say which octants they refer to? Might be helpful for understanding the logic in octree.cpp