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
Cygnus #55
Conversation
Looks like the automated unit tests fail. Reasons: the Clang compiler does not like the presence of an unused |
… with the new algorithm. Applied code formatting to files in pull request.
@mapetkova Sorry for requesting the review again (which I think happened automatically when I pushed another commit). I had to fix a compilation error found when running the automated unit tests with the Clang compiler, and I also applied code formatting using More importantly, I had to change the reference values in |
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.
@bwvdnbro I looked at the changes and I got a rough idea of what the tests do. I'm not sure what the exact numerical values should be, but the main difference between the old mapping and my mapping is that mine should (more or less) conserve the total mass that's in the particles. The difference of the result between the old and the new density mapping should depend on the exact particle distribution, so I can't say if it would be within 50% (although it probably would be). If I were you I would set the reference value for the total hydrogen mass to be the total particle mass and I would accept values within, say, 10% of that (this is to account for particles which might be partially extended outside the simulation box).
Okay. I will rebase against |
Attempt to make a clean pull request for #54
I manually rebased the
master
andcygnus
branches in themapetkova:CMacIonize
fork against the upstream master and resolved all conflicts.@mapetkova: could you please check that this contains all the changes you made? I know some of the specific tweaks to
CMakeLists.txt
necessary to compile oncygnus
are missing, but apart from that all the code changes you made should be there. Once you approve this pull request, I will make sure it gets merged into thedevelopment
branch.