Radiative cooling and heating

Radiative cooling has been added to the code

The main branch of the code now also contains a first implementation of radiative cooling (and heating). The cooling is based on the cooling tables of De Rijcke et al. (2013), and uses a five parameter model whereby the cooling depends on the temperature, two metallicity tracers ([Fe/H] and [Mg/Fe]), the density, and the redshift. Currently the redshift is not yet implemented in Shadowfax, and the cooling tables for a fixed redshift of 11 are used (which means no heating).

This work was done by Yorick Van Den Bossche for his master’s thesis. He also added a new flatdensity problem to the testsuite that can be used to test the cooling routines.

The other improvements discussed in his thesis will be added to the repository soon.