You may find answers in these two papers:
The MICE Grand Challenge Lightcone Simulation I: Dark matter clusteringAuthors: P. Fosalba, M. Crocce, E. Gaztanaga, F. J. Castander
(Submitted on 5 Dec 2013)
From Abstract: “We present a new N-body simulation from the MICE collaboration, the MICE Grand Challenge (MICE-GC), containing about 70 billion dark-matter particles in a (3 Gpc/h)^3 comoving volume. Given its large volume and fine spatial resolution, spanning over 5 orders of magnitude in dynamic range, it allows an accurate modeling of the growth of structure in the universe from the linear through the highly non-linear regime of gravitational clustering.”
http://arxiv.org/abs/1312.1707
arXiv:astro-ph/9701195v3 29 Jul 1997
Astrophys.J.Supplement 111, 73, 1997
ADAPTIVE REFINEMENT TREE – A NEW HIGH-RESOLUTION
N-BODY CODE FOR COSMOLOGICAL SIMULATIONS
Andrey V. Kravtsov, and Anatoly A. Klypin, Astronomy Department, New Mexico State University, Box 30001, Department 4500, Las Cruces, NM 88003-0001, USA and Alexei M. Khokhlov, Laboratory for Computational Physics and Fluid Dynamics, Code 6404, Naval Research Laboratory, Washington, DC 20375, USA
From Abstract: “We present a new high-resolution N-body algorithm for cosmological simulations. The algorithm employs a traditional particle-mesh technique on a cubic grid and successive multilevel relaxations on the finer meshes, introduced recursively in a fully adaptive manner in the regions where the density exceeds a predefined threshold.”
http://arxiv.org/pdf/astro-ph/9701195.pdf?origin=publication_detail