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

Implementing 2-LPT initial displacement #21

Open
EiffL opened this issue Nov 9, 2019 · 0 comments
Open

Implementing 2-LPT initial displacement #21

EiffL opened this issue Nov 9, 2019 · 0 comments

Comments

@EiffL
Copy link
Member

EiffL commented Nov 9, 2019

Our current implementation for the Mesh TensorFlow version is only doing 1LPT to evolve initial conditions down to a0. There is no particular difficulty in implementing 2LPT, I just didn't get around to it.

Here is where this functionality should go:
https://github.com/modichirag/flowpm/blob/3582e807fd3195dd20f7513ddd2abc8b28ac50e9/flowpm/mtfpm.py#L96

And here was our TensorFlow only implementation:
https://github.com/modichirag/flowpm/blob/9c867c506075938ebecedc2955eb2c992b534bf3/flowpm/tfpm.py#L159

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

No branches or pull requests

1 participant