-
Notifications
You must be signed in to change notification settings - Fork 14
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
Trees issues fixes #15
Commits on Sep 14, 2023
-
Remove unused variables in gas_cooling
These were producing warnings, and thus prevented us from turning on -Werror on CI, which is something we'd like to have. I checked with Claudia, and she said it was safe to remove these. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ee81fe - Browse repository at this point
Copy the full SHA 0ee81feView commit details -
Receive exceptions by reference, not by value
This was issuing a warning, so let's get rid of it. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72eb976 - Browse repository at this point
Copy the full SHA 72eb976View commit details -
Add documentation for black_hole_histories.hdf5 outputs
Also make sure our CI jobs check that it doesn't go out of sync. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d429e1e - Browse repository at this point
Copy the full SHA d429e1eView commit details -
Prefer histogram's "density" argument over "normed"
The latter has been deprecated since numpy 1.6, and effectively removed in the latest versions of numpy. The "density" argument has equivalent semantics, and the documentation states that it should be used instead. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c773fa - Browse repository at this point
Copy the full SHA 8c773faView commit details -
Deal with OpenMP_CXX_FLAGS correctly
This flag contains the *space-separated* flags that are needed for compiling OpenMP programs. This is not the format expected by add_compile_options though, so we need to turn the string into a list before passing it on. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4199fb3 - Browse repository at this point
Copy the full SHA 4199fb3View commit details -
There were a few things that were not correctly done around OpenMP checks that are being corrected here, namely: * Change DECLARED -> DEFINED, since the former doesn't mean anything (so this code has been always wrong). * Change OPENMP_FOUND -> OpenMP_FOUND, with the latter being the more generic way of checking the result of find_package. * Use the correct casing for the rest of OpenMP* variable, which were previously uppercased in our code. * Add a check for the OpenMP_CXX_VERSION variable in particular, which might be set while OpenMP_VERSION might not. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bf3cd5 - Browse repository at this point
Copy the full SHA 4bf3cd5View commit details -
Finish porting all tests to GitHub Actions
This new port now tries to *not* rely too much on GitHub Actions conventions (which are not that many, anyway), and also splits the big test.sh script we used with Travis into smaller scripts in a new .ci directory that can be invoked separately, therefore allowing us to model each individual test as a different step on the GitHub Actions workflow. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab93cda - Browse repository at this point
Copy the full SHA ab93cdaView commit details -
Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c887fff - Browse repository at this point
Copy the full SHA c887fffView commit details -
Add black hole histories output documentation to TOC
The new file had been added to the tree, but wasn't included anywhere in the documentation, duh! Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4732bd6 - Browse repository at this point
Copy the full SHA 4732bd6View commit details -
Specify build.os to keep RTD happy
The implicit build.image is deprecated, so let's use the new build.os key explicitly instead. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1d904a - Browse repository at this point
Copy the full SHA e1d904aView commit details -
Add GitHub action to ensure docs are correctly built
Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6176d6f - Browse repository at this point
Copy the full SHA 6176d6fView commit details -
Add build.tools section, needed by RTD
Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbe4fa7 - Browse repository at this point
Copy the full SHA fbe4fa7View commit details
Commits on Oct 3, 2023
-
Bump dependency on Boost to >= 1.68
We used to depend on >= 1.54, but in a809629 we accidentally raised the minimum required Boost version to 1.68 (boost::optional::has_value() was introduced in that version to align with std::optional). This version of Boost is 5 years old though, so instead of modifying our code to cope with older versions, we're probably better off declaring a higher minimum version. This was the original cause of #13, and thus it should prevent this issue from happening again in the near future. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for efa8b0a - Browse repository at this point
Copy the full SHA efa8b0aView commit details
Commits on Jan 17, 2024
-
Fix documentation building in GHA
Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e75f8ff - Browse repository at this point
Copy the full SHA e75f8ffView commit details -
Include cstdint to ensure std::int64_t is visibile
Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f5a785 - Browse repository at this point
Copy the full SHA 0f5a785View commit details -
Add spin_mass_dependence option to dark_matter_halo group
The option defaults to false, and indicates whether the lognormal distribution used to draw lambda values should use a fix value of 0.03, or a dynamic value based on the halo spin distribution following Kim et al. (2015), as its m parameter (the natural logarithm of the distribution's mean). The Lagos et al. (2023) paper used this dependency, and therefore we're also updating the sample configuration file that reflects that paper to ensure reproducibility. Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0cf9462 - Browse repository at this point
Copy the full SHA 0cf9462View commit details -
Actually read new dark_matter_halo.spin_mass_dependence
Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 602e808 - Browse repository at this point
Copy the full SHA 602e808View commit details
Commits on Jun 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c0a4f42 - Browse repository at this point
Copy the full SHA c0a4f42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ea18ad - Browse repository at this point
Copy the full SHA 7ea18adView commit details -
Fix mass swapping: use host halo properties for central subhalos and …
…current properties or at infall for satellites
Configuration menu - View commit details
-
Copy full SHA for 896dc0f - Browse repository at this point
Copy the full SHA 896dc0fView commit details
Commits on Jun 21, 2024
-
Mass swapping: use host halo properties for central subhalos and curr…
…ent properties or at infall for satellites. Massive transients: read catalogue with halos affected by this
Configuration menu - View commit details
-
Copy full SHA for 6282ba2 - Browse repository at this point
Copy the full SHA 6282ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34507a6 - Browse repository at this point
Copy the full SHA 34507a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cdcedb - Browse repository at this point
Copy the full SHA 2cdcedbView commit details
Commits on Jun 26, 2024
-
Made transients_prefix optional for easier use
Signed-off-by: Rodrigo Tobar <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb2b39e - Browse repository at this point
Copy the full SHA bb2b39eView commit details
Commits on Jun 27, 2024
-
Modifications to mass swapping cases
- separated the function to redefine subhalo properties into centrals and satellites. This is done because the one for centrals needs to be called before the function that defines ages, while the satellite one needs to be called afterwards. - Fixed the calculation for satellite subhalos to use the infall redshift rather than the current redshift (given that it was using all the properties at infall).
Configuration menu - View commit details
-
Copy full SHA for 22d1216 - Browse repository at this point
Copy the full SHA 22d1216View commit details -
Implementing the mass swap fix as an option
This leads to many changes to make sure one can run the previous model without the fixing of mass swapping events (to help with reproduceability). Another change is to make sure the angular momentum vector L of subhalos is redefine in the cases where lambda_random is used.
Configuration menu - View commit details
-
Copy full SHA for c666ece - Browse repository at this point
Copy the full SHA c666eceView commit details -
I also changed added a bool input to evolve_galaxy to indicate whether we want to apply the fix for the mass swapping cases.
Configuration menu - View commit details
-
Copy full SHA for 3011fba - Browse repository at this point
Copy the full SHA 3011fbaView commit details