Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@robjmcgibbon
Copy link
Collaborator

We have two different flavours of COLIBRE - thermal only AGN feedback and hybrid AGN feedback. The hybrid runs output some additional BH properties which we don't have for the thermal model. This PR adds these new properties, and also a couple of extra properties for the thermal runs.

This requires a separate parameter file for the thermal and hybrid runs. We also need to take into account that the COLIBRE snipshots can't calculate all the same properties as the snapshot. Rather than having 4 parameter files, I have added some functionality to the parameter file reader such that we can specify properties as on/off in snipshots. I have added a new runtime option (--snipshot) which should be passed to compute_halo_properties.py when running on a snipshot.

An additional minor change is to remove the test parameter files, and generate them when running the tests. This is done by the tests/COLIBRE/create_parameters_file.py script.

jchelly added 30 commits May 24, 2023 14:21
Subfind and HBT do not output bound particles for subhalos.
  * Virtual snapshot contains link to membership files instead
    of a copy of the data
  * Use absolute paths to the underlying files

Conflicts:
	group_membership.py
"BHmaxvel",
"BHmaxAR",
"BHmaxlasteventa",
"BlackHolesTotalInjectedEnergy",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing: could you add an equivalent of this quantity, BlackHolesTotalInjectedJetEnergy, that is defined as the sum over all injected jet energies from all the BHs?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@FHusko FHusko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@robjmcgibbon
Copy link
Collaborator Author

@VictorForouhar can you please approve, Filip doesn't have permission

Copy link
Collaborator

@VictorForouhar VictorForouhar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't check for correctness. Filip did.

@robjmcgibbon robjmcgibbon merged commit 47f97a6 into master Sep 3, 2024
@robjmcgibbon robjmcgibbon deleted the hybrid_properties branch September 3, 2024 14:21
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

Successfully merging this pull request may close these issues.

4 participants