Skip to content

Conversation

@vivi235711
Copy link
Contributor

When enable SUPPORT_SPECTRAL_INT, the default OPT__FLU_INT_SCHEME and OPT__REF_FLU_INT_SCHEME would be changed from INT_CQUAR to INT_SPECTRAL if model = ELBDM.

The spectral interpolation is more conservative when running FDM cosmogical simulation. For same initial condition and same input parameter, the Mass_Psi_RErr are:
INT_SPECTRAL : -4.0195863e-03
INT_CQUAR : 7.2203990e-02

Furthermore, when the resolution is insufficient to cover all areas, the density profile of the halo may not be the same. However, spectral interpolation can yield halos of the same mass as sufficient resolution, suggesting that spectral interpolation may be a better interpolation scheme.
image

@hyschive hyschive added enhancement fdm Fuzzy dark matter labels Dec 18, 2025
@hyschive
Copy link
Contributor

@vivi235711 Thanks for the contribution and for providing evidence to support this change!

@hyschive hyschive merged commit 92c5963 into gamer-project:main Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement fdm Fuzzy dark matter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants