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

Linear theory correspondant of a nbody simulation. #487

Merged
merged 2 commits into from May 9, 2018

Conversation

Projects
None yet
1 participant
@rainwoodman
Member

rainwoodman commented May 8, 2018

This PR adds the linear theory correspondant of a nbody simulation.

The initial condition can be set from CLASS transfer function.

The equations are symplectic. It can also be used to construct back-scaled initial conditions, when ran in inverse with high precision.

rainwoodman added some commits May 8, 2018

Add a linearnbody model in cosmology.
nbodykit.cosmology.linearnbody.LinearNbody.

See test case for usage.
@rainwoodman

This comment has been minimized.

Member

rainwoodman commented May 8, 2018

This is intended to be the solution to the boltzmann solver mentioned in MP-Gadget/MP-Gadget#202 .

@rainwoodman rainwoodman merged commit 8528c17 into bccp:master May 9, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.01%) to 95.377%
Details

@rainwoodman rainwoodman deleted the rainwoodman:linearnbody branch May 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment