Code implementing the new ncdm-approximation on top of the current CLASS version.#216
Open
hotdankmatter wants to merge 1 commit intolesgourg:masterfrom
Open
Code implementing the new ncdm-approximation on top of the current CLASS version.#216hotdankmatter wants to merge 1 commit intolesgourg:masterfrom
hotdankmatter wants to merge 1 commit intolesgourg:masterfrom
Conversation
… in synchronous gauge. 1) Added the necessary code in perturb_vector_init(), perturb_derives(), and perturb_total_stress_energy() 2) Added ncdmfa_ahl to the possible values of ppr->ncdm_fluid_approximation as the 3rd value, no approximation means now 4. 3) Intercepts the case when trying to use the AHL-approximation outside synchronous gauge 4) Due to point 3, the fluid approximation is retained as standard method, but with the more value of ktau_switch 5) Fixed a small bug where the could could complain about "switching 0 approximation schemes at the same time" This code has so far been tested to work under most regular conditions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Julien,
as the commit implied, implemented all parts necessary for using the AHL-fluid approximation in synchronous gauge.
This comprises:
This code has so far been tested to work under most regular conditions, and the output test notebook works as expected.
Cheers and let me know if there are any more questions.