Skip to main content
Version: v2.0.1

Config File

The INI format defines a set of configuration options to initialize and run the models.

Format

The forrmat we use follows the DUNE ini file convention. In short, the data is composed of a key–value pairs on the form key = value.

Comments

Characters followed by hash # will be ignored.

config.ini
# line comment
key = value

Entries

An entry is given by a key-value pair and must be entirely contained in one line. Additionally, keys must be unique.

config.ini
id = value
id = val
# error: repeated key 'id'

Group

A key is a string which may be contained on a common group of parameters by preceding the line with the group name between brackets and/or by preceding the key by the group name separated by a dot. Notice that the two forms may be combined.

As an example, the three following INI files, are equivalent

config.ini
# No preceding section
section.subsection.first = 1.0
section.subsection.second = 2.0