Skip to content
Snippets Groups Projects
Commit 6d490cc3 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Moved the output selection documentation to the main parameter file sub-folder.

parent e8c4a9c7
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,6 @@ and keep on your desk. ...@@ -20,7 +20,6 @@ and keep on your desk.
running_example running_example
runtime_options runtime_options
configuration_options configuration_options
parameter_file
what_about_mpi what_about_mpi
running_on_large_systems running_on_large_systems
special_modes special_modes
...@@ -145,7 +145,8 @@ of units. Setting a value of `1` when using the system of units (10^10 Msun, ...@@ -145,7 +145,8 @@ of units. Setting a value of `1` when using the system of units (10^10 Msun,
Mpc, km/s) will mean that :math:`G_N=1` in these units [#f2]_ instead of the Mpc, km/s) will mean that :math:`G_N=1` in these units [#f2]_ instead of the
normal value :math:`G_N=43.00927`. normal value :math:`G_N=43.00927`.
This option is only used for specific tests and debugging. This option is only used for specific tests and debugging. This entire
section of the YAML file can typically be left out.
Cosmology Cosmology
...@@ -180,7 +181,7 @@ If unspecified these parameters default to the default ...@@ -180,7 +181,7 @@ If unspecified these parameters default to the default
:math:`\Lambda\rm{CDM}` values of :math:`w_0 = -1` and :math:`w_a = 0`. :math:`\Lambda\rm{CDM}` values of :math:`w_0 = -1` and :math:`w_a = 0`.
For a Planck+13 cosmological model (ignoring radiation density as is For a Planck+13 cosmological model (ignoring radiation density as is
commonly done and running from :math:`z=127` to :math:`z=0`, one would hence commonly done) and running from :math:`z=127` to :math:`z=0`, one would hence
use the following parameters: use the following parameters:
.. code:: YAML .. code:: YAML
...@@ -209,6 +210,14 @@ TimeIntegration ...@@ -209,6 +210,14 @@ TimeIntegration
Snapshots Snapshots
--------- ---------
Some additional specific options for the snapshot outputs are described in the
following pages:
.. toctree::
:maxdepth: 1
output_selection
Statistics Statistics
---------- ----------
......
.. Parameter File .. Parameter File
Loic Hausammann, 1 june 2018 Loic Hausammann, 1 june 2018
.. _Parameter_File_label: .. _Output_list_label:
Parameter File
==============
To run SWIFT, you will need to provide a ``yaml`` parameter file. An example is
given in ``examples/parameter_file.yml`` which should contain all possible
parameters. Each section in this file corresponds to a different option in
SWIFT and are not always required depending on the configuration options and
the run time parameters.
Output List Output List
~~~~~~~~~~~ ~~~~~~~~~~~
In the sections ``Snapshots`` and ``Statistics``, you can specify the options ``output_list_on`` and ``output_list`` which receive an int and a filename. In the sections ``Snapshots`` and ``Statistics``, you can specify the
The ``output_list_on`` enable or not the output list and ``output_list`` is the filename containing the output times. options ``output_list_on`` and ``output_list`` which receive an int
With the file header, you can choose between writing redshifts, scale factors or times. and a filename. The ``output_list_on`` enable or not the output list
and ``output_list`` is the filename containing the output times. With
the file header, you can choose between writing redshifts, scale
factors or times.
Example of file containing with times (in internal units):: Example of file containing with times (in internal units)::
...@@ -42,6 +36,8 @@ Example of file with redshift:: ...@@ -42,6 +36,8 @@ Example of file with redshift::
10 10
5 5
.. _Output_selection_label:
Output Selection Output Selection
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment