# ACACIA: a new method to produce on-the-fly merger trees in the RAMSES   code

**Authors:** Mladen Ivkovic, Romain Teyssier

arXiv: 1812.06708 · 2021-11-25

## TL;DR

ACACIA is a novel, parallel algorithm integrated with RAMSES that generates dark matter halo merger trees on-the-fly during simulations, enabling detailed tracking of substructures and mergers with high accuracy.

## Contribution

It introduces a fully parallel, MPI-based method for real-time merger tree generation within the RAMSES code, improving tracking of substructures and merger events.

## Key findings

- Achieves merger tree quality comparable to existing tools.
- Successfully generates mock galaxy catalogues matching observational data.
- Demonstrates efficient on-the-fly merger tree construction during simulations.

## Abstract

The implementation of ACACIA, a new algorithm to generate dark matter halo merger trees with the Adaptive Mesh Refinement (AMR) code RAMSES, is presented. The algorithm is fully parallel and based on the Message Passing Interface (MPI). As opposed to most available merger tree tools, it works on the fly during the course of the N body simulation. It can track dark matter substructures individually using the index of the most bound particle in the clump. Once a halo (or a sub-halo) merges into another one, the algorithm still tracks it through the last identified most bound particle in the clump, allowing to check at later snapshots whether the merging event was definitive, or whether it was only temporary, with the clump only traversing another one. The same technique can be used to track orphan galaxies that are not assigned to a parent clump anymore because the clump dissolved due to numerical over-merging. We study in detail the impact of various parameters on the resulting halo catalogues and corresponding merger histories. We then compare the performance of our method using standard validation diagnostics, demonstrating that we reach a quality similar to the best available and commonly used merger tree tools. As a proof of concept, we use our merger tree algorithm together with a parametrised stellar-mass-to-halo-mass relation and generate a mock galaxy catalogue that shows good agreement with observational data.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1812.06708/full.md

## Figures

17 figures with captions in the complete paper: https://tomesphere.com/paper/1812.06708/full.md

## References

78 references — full list in the complete paper: https://tomesphere.com/paper/1812.06708/full.md

---
Source: https://tomesphere.com/paper/1812.06708