An adaptive multigrid solver for high-resolution cosmological simulations | Synapse