Skip to content

Conversation

@VictorForouhar
Copy link
Collaborator

These changes are made with the aim of implementing GADGET4 compatibility in HBT-HERONS. This change is based on the following branch: https://github.com/Kambrian/HBTplus/tree/MPI-Hydro-G4, whose development was driven by @Kambrian.

I had to change a few extra things to make it work with the current HBT-HERONS codebase, and I am currently adding capabilities to automatically set units/softening a la swift. I am also making the code automatically handle single / multiple file outputs.

Testing is ongoing.

Kambrian added 30 commits March 22, 2023 19:34
so that halos can be load before particle exchange
- reduce total number of particles in snapshot_io rather than in
  particle_exchanger
- set GroupLoadedFullParticle in individual io
- bugfix in gadget4_io
halo_virial.cpp just copied from hydro branch; not working yet
HBTConfig.ParticleExchangerBufferSize=1e7 now determines the buffer size
for particle query and subhalo host query
controllable memory size during particle exchange
Kambrian and others added 23 commits June 29, 2023 10:32
also set default buffersize to 1e6
fixed incorrect datatype of MassLimit (int->float) used for deciding major progenitors. Previous runs with particle mass below 5e8 solar mass could be affected, so that the centrals for very low mass subhalos could be incorrectly selected
to account for bugfix in decide centrals
We do not need to specify box size for GADGET-4 snapshots
@VictorForouhar
Copy link
Collaborator Author

Seems to be working. I ran it on a zoom-in simulation and it gave sensible results.

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.

3 participants