snapshot-package: Gadget N-body cosmological simulation code snapshot I/O...

Description Details Author(s) Examples

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/

Details

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

Author(s)

Aaron Robotham

Maintainer: Aaron Robotham <[email protected]>

Examples

1
2
3
4
5
6
## Not run: 
temp=snapread('snapshot_XXX')
temp$part[,'x']=temp$part[,'x']+10
snapwrite(temp$part,temp$head,'snapshot_XXX_mod')

## End(Not run)

snapshot documentation built on May 2, 2019, 1:08 p.m.