Skip to content

A simplified version of Cosmological Simulation Code for flat Lambda-CDM models

Notifications You must be signed in to change notification settings

nullike/photoNs-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

photoNs-2.0

A simplified version of Cosmological Simulation Code for flat Lambda-CDM models

The first version of photoNs is a TreePM code designed for massively parallel simulations [Q. Wang, et al. 2018, Res. Astron. Astrophys., 18, 62].

In the second veriosn, we combine the Particle-Mesh (PM) and Fast Multipole Method (FMM) to compute the gravitational interactions. PM method needs a FFT lib of two-dimensional pencil decomposition [http://www.2decomp.org/] and FMM is carried out in Cartesian coordinates [e.g, Dehnen, W. Comput. Astrophys. (2014) 1: 1.] with a new domain decomposition, MPI communications, acceptance crietiria, etc. It contains a basic implementation but main functions for a flat Lamdba-CDM universe, as a benchmark for optimizations and algorithm testification.

The initial condition in Gadget2 format and parameter files for demonstrations can be found in the folder demo/ and 'make demo' will output a snapshot into the default folder run/

Cite as: Wang Q., 2021, Res. Astron. Astrophys., 21, 003

About

A simplified version of Cosmological Simulation Code for flat Lambda-CDM models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published