Description Usage Arguments Value Author(s) See Also
Write astrophysical N-body+SPH snapshot in Gadget-2 binary format, for use as initial conditions with Gadget Version 1/2/3/4 (SnapFormat=1).
1 | writegadget(part, head, file)
|
part |
is a list of initial conditions. It contains the items: |
head |
is a list of header arguments. For full details, please refer to the Gadget-2 manual (https://wwwmpa.mpa-garching.mpg.de/gadget/users-guide.pdf, page 33). The most important items are: |
file |
filename. |
Returns a list containing the particle data. The format of the list depends on the input format.
Danail Obreschkow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.