Skip to content

Basic usage

ardok-m edited this page Jun 9, 2017 · 1 revision

Using hi_class is as simple as

./class explanatori.ini

explanatori.ini is an "ini-file", i.e. a file containing some parameter values that you use as input for CLASS to compute the evolution of the Universe. A detailed description of the available parameters is found in explanatori.ini. This file contains those parameters in common with CLASS. For hi_class specific information, see hi_class.ini.

(hi_)CLASS has a lot of precision parameters which default values are found in source/input.c. We can modify them in our "ini-file" or excuting CLASS with a second input file which contains the desired values.

./class explanatori.ini cl_ref.pre

Useful values are stored in the .pre files in the main directory.

Noobies note: explanatori.ini and cl_ref.pre are only two example of input files. You can create your own and name it whatever you want as long as it contains valid variable names and values and its file extension is .ini or .pre