generated from temken/template_cpp_cmake_obscura
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Lightmediator #13
Merged
Merged
Lightmediator #13
Conversation
This file contains 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
…to include long range interactions
…he scattering rates This slows down the interpolation of the scattering rates considerably, but it is necessary for long range interactions. This should be optimized later.
…ass for light mediators
… the computation of the scattering rate tabulation
…he relative speed. Use the quicker simulation function if it doesn't.
…function including unit tests
…q) from previously sampling the scattering angle and the target velocity. NOT COMPLETE YET
Medium function still accounts for electron density only (and wrongly at that for nuclei, needs to be fixed later)
…not in trajectory simulator class)
…for vDM = 0.0 (which happens during interpolation).
…transform sampling function for q sampling NOTE: Medium function not included in scattering rates at this point
… is found dynamically.
…functions. I want to give both std::vector<Isotope> and std::vector<Solar_Isotope> as argument. Not too happy with this solution, but not sure about a better alternative.
…s to the sampling of q. For a positive cos_theta, the pdf of q is 0 everywhere, and this gave an error. But cos_theta was sampled from a wrong PDF (due to a faulty integration using Gauss-Legendre instead of Gauss-Kronrod).
… the simulation code. Update the main function for testing of sampling.
… used in the simulations anymore, might delete later.)
… (if possible, i.e. if the nucleus and electron rate scale identically).
… zero when computing the total rate.
… section (e or N) is zero. In that case a rescaling is also possible and should be preferred over a new tabulation.
…ts to be shown in the terminal
…for the fact when the number of scatterings reaches the maximum value allowed.
Particles that scatter more often are considered as "captured" in the statistics.
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.
No description provided.