Description Usage Arguments Value Author(s) See Also Examples
This function allows the user to write format 1 Gadget snapshots. It can write the particle information and header information, which are provided as separate R objects.
| 1 | snap.write.1(part, head, file)
 | 
| part | A data.frame containing the main particle level information. Columns required are: 
 | ||||||||||||||||||||||||||||||||||||||||||
| head | A list containing various header information as list elements. These are: 
 | ||||||||||||||||||||||||||||||||||||||||||
| file | The full path to the Gadget snapshot to be created. | 
No value returned, called for the side-effect of writing out a binary Gadget file.
Aaron Robotham
snap.read.1, snap.add.head.1, snap.gen.param
| 1 2 3 4 | ## Not run: 
temp=snap.write.1(snap$part,snap$head,'somepath/snapshot_XXX')
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.