Learn R Programming

snapshot (version 0.1.2)

snapshot-package: Gadget N-body cosmological simulation code snapshot I/O utilities ~~ package title ~~

Description

Functions for reading and writing Gadget N-body snapshots. The Gadget code is popular in astronomy for running N-body / hydrodynamical cosmological and merger simulations. To find out more about Gadget see the main distribution page at www.mpa-garching.mpg.de/gadget/

Arguments

Details

Package:
snapshot
Type:
Package
Version:
0.1.2
Date:
2013-10-04
License:
GPL-2

Examples

Run this code
## Not run: 
# temp=snapread('snapshot_XXX')
# temp$part[,'x']=temp$part[,'x']+10
# snapwrite(temp$part,temp$head,'snapshot_XXX_mod')
# ## End(Not run)

Run the code above in your browser using DataLab