Skip to content
Snippets Groups Projects
Commit e9b9e753 authored by Loic Hausammann's avatar Loic Hausammann Committed by Matthieu Schaller
Browse files

Update grackle doc

parent 4528a4b0
No related branches found
No related tags found
No related merge requests found
......@@ -37,8 +37,8 @@ Grackle is a chemistry and cooling library presented in `B. Smith et al. 2016 <h
equilibrium, 6 species network (H, H\\( ^+ \\), e\\( ^- \\), He, He\\( ^+ \\)
and He\\( ^{++} \\)), 9 species network (adds H\\(^-\\), H\\(_2\\) and
H\\(_2^+\\)) and 12 species (adds D, D\\(^+\\) and HD). Following the same
order, the swift cooling options are ``grackle``, ``grackle1``, ``grackle2``
and ``grackle3`` (the numbers correspond to the value of
order, the swift cooling options are ``grackle_0``, ``grackle_1``, ``grackle_2``
and ``grackle_3`` (the numbers correspond to the value of
``primordial_chemistry`` in Grackle). It also includes some self-shielding
methods and UV background. In order to use the Grackle cooling, you will need
to provide an HDF5 table computed by Cloudy.
......@@ -46,8 +46,8 @@ to provide an HDF5 table computed by Cloudy.
When starting a simulation without providing the different fractions, the code
supposes an equilibrium and computes the fractions automatically.
In order to compile SWIFT with Grackle, you need to provide the options ``with-grackle``
and ``with-chemistry``.
In order to compile SWIFT with Grackle, you need to provide the options ``with-chemistry=GEAR`` and ``with-grackle=$GRACKLE_ROOT``
where ``$GRACKLE_ROOT`` is the root of the install directory (not the ``lib``).
You will need a Grackle version later than 3.1. To compile it, run
the following commands from the root directory of Grackle:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment