gas particle ID to parent subhalo ID

yi he
  • 1
  • 18 Jul '21


I have a question that if I know one gas particleid, is there any way to get the subhaloid it bound to?

Thank you

Dylan Nelson
  • 19 Jul '21

Hello Yi He,

You can use the "offsets" and their definitions to do this, we discussed in another thread with an example function.

yi he
  • 20 Aug '21

Hello Dylan,
I am not sure I have understood about the function. Does the "SubhaloLenType" mean that I need to know the whole particles of one subhalo or the length of the particles so I can find the subhalo id?

Dylan Nelson
  • 22 Aug '21

Just the length (number) of particles.

  • Page 1 of 1