Example for using the group_particles code, computing the electron pressure (Compton-y) profiles of halos in an Illustris TNG simulation.
More...
|
|
using | y_prof::GrpF = GrpFields< IllustrisFields::GroupPos, IllustrisFields::Group_M_Crit200, IllustrisFields::Group_R_Crit200 > |
| | for the groups, we want to read their position and 200c masses and radii.
|
| |
|
using | y_prof::PrtF = PrtFields< IllustrisFields::Coordinates, IllustrisFields::Masses, IllustrisFields::InternalEnergy, IllustrisFields::ElectronAbundance > |
| | for the particles, we want to read their position and the quanitities required to compute the electron pressure.
|
| |
|
using | y_prof::AF = AllFields< GrpF, PrtF > |
| | bundle the group and particle fields
|
| |
|
using | y_prof::grp_M_t = double |
| | type to which M200c will be converted
|
| |
|
using | y_prof::grp_R_t = double |
| | type to which R200c will be converted
|
| |
|
using | y_prof::grp_P_t = double |
| | type to which P200c will be converted
|
| |
|
using | y_prof::grp_Y_t = YProfile |
| | type the pressure profiles will be stored in
|
| |
|
using | y_prof::chunk = CallbackUtils::chunk::Multi< AF > |
| | group and particle files are in multiple chunks
|
| |
|
using | y_prof::name = CallbackUtils::name::Illustris< AF, PartType > |
| | internal file layout is according to Illustris naming conventions
|
| |
|
using | y_prof::meta = CallbackUtils::meta::Illustris< AF, PartType > |
| | meta-data required by code are according to Illustris conventions
|
| |
|
using | y_prof::grp_select_M = CallbackUtils::select::LowCutoff< AF, IllustrisFields::Group_M_Crit200 > |
| | apply a minimum-mass selection on groups
|
| |
|
using | y_prof::grp_select_R = CallbackUtils::select::LowCutoff< AF, IllustrisFields::Group_R_Crit200 > |
| | apply a minimum-radius selection on groups (exclude those with negative radius)
|
| |
|
using | y_prof::grp_radius = CallbackUtils::radius::Simple< AF, IllustrisFields::Group_R_Crit200 > |
| | compute group radius as a multiple of R200c
|
| |
|
using | y_prof::grp_store_M = CallbackUtils::grp_action::StoreGrpProperty< AF, IllustrisFields::Group_M_Crit200, grp_M_t > |
| | store M200c in a vector
|
| |
|
using | y_prof::grp_store_R = CallbackUtils::grp_action::StoreGrpProperty< AF, IllustrisFields::Group_R_Crit200, grp_R_t > |
| | store R200c in a vector
|
| |
|
using | y_prof::prt_compute_Y = CallbackUtils::prt_action::StorePrtHomogeneous< AF, grp_Y_t > |
| | store a y_prof::YProfile instance for each group
|
| |
Example for using the group_particles code, computing the electron pressure (Compton-y) profiles of halos in an Illustris TNG simulation.