MLAPM - a C code for cosmological simulations

Astronomy and Astrophysics – Astrophysics

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

20 pages, 20 figures, MNRAS in press, the code can be downloaded at http://www-thphys.physics.ox.ac.uk/users/MLAPM/

Scientific paper

10.1046/j.1365-8711.2001.04532.x

We present a computer code written in C that is designed to simulate structure formation from collisionless matter. The code is purely grid-based and uses a recursively refined Cartesian grid to solve Poisson's equation for the potential, rather than obtaining the potential from a Green's function. Refinements can have arbitrary shapes and in practice closely follow the complex morphology of the density field that evolves. The timestep shortens by a factor two with each successive refinement. It is argued that an appropriate choice of softening length is of great importance and that the softening should be at all points an appropriate multiple of the local inter-particle separation. Unlike tree and P3M codes, multigrid codes automatically satisfy this requirement. We show that at early times and low densities in cosmological simulations, the softening needs to be significantly smaller relative to the inter-particle separation than in virialized regions. Tests of the ability of the code's Poisson solver to recover the gravitational fields of both virialized halos and Zel'dovich waves are presented, as are tests of the code's ability to reproduce analytic solutions for plane-wave evolution. The times required to conduct a LCDM cosmological simulation for various configurations are compared with the times required to complete the same simulation with the ART, AP3M and GADGET codes. The power spectra, halo mass functions and halo-halo correlation functions of simulations conducted with different codes are compared.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

MLAPM - a C code for cosmological simulations does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with MLAPM - a C code for cosmological simulations, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and MLAPM - a C code for cosmological simulations will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-684386

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.