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

Both 2LPT growth factor and source field are multiplied by 3/7 #17

Open
eelregit opened this issue Mar 10, 2022 · 7 comments
Open

Both 2LPT growth factor and source field are multiplied by 3/7 #17

eelregit opened this issue Mar 10, 2022 · 7 comments

Comments

@eelregit
Copy link

I thought only one is needed?

@rainwoodman
Copy link
Owner

Only one is needed. I thought I checked that only 1 is applied though?

@eelregit
Copy link
Author

eelregit commented Mar 10, 2022

Both the D_2 ICs and 2LPT source have this factor, right?

How does the C version handle this?

@eelregit
Copy link
Author

eelregit commented Mar 12, 2022

An unrelated question:
:)
In fastpm when pm_nc_factor is a list of numbers, e.g. {1, 2, 3} or {{0.0, 1}, {0.01, 2}}, what do they mean?

@rainwoodman
Copy link
Owner

rainwoodman commented Mar 14, 2022 via email

@eelregit
Copy link
Author

Not sure how serious that is though, given it's 2LPT and the limitation of PM accuracy.

Did you mean that the 2LPT agrees with PM to some tol so things should be fine?
Also I think there should be only one 3/7 but will need to confirm with other LPT experts on this.

@rainwoodman
Copy link
Owner

No I didn't mean 2LPT agrees with PM to some tol things should be fine.

People have complained that the 2LPT from FastPM seem to have less small scale power than others, and this may be one of the contributing factors?

I did check cFastPM with Martin's 2lpt IC in the early days (that they agree particle by particle), but things have drifted quite a bit since then. Also in the early days 2LPT was used in COLA mode, and I probably also checked that the results agreed with COLA.

Is there an established numerical result that we can compare with? Maybe we can compare the power spectrum of the divergence of DX2(z=0), under the definition where DX = DX1 + DX2.

@eelregit
Copy link
Author

I guess a self-consistency test is to compare PM(ZA(high z), lower z) and 2LPT(lower z)?

@eelregit eelregit changed the title Both and 2LPT growth factor and source field are multiplied by 3/7 Both 2LPT growth factor and source field are multiplied by 3/7 Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants