cfg now reports which fields are missing when loading. Further, the mutate method has been added for easier mutation of the underlying configuration struct
16 lines
252 B
TOML
16 lines
252 B
TOML
[main]
|
|
description = "This is an example configuration file."
|
|
author = "Example Author"
|
|
|
|
[main.physics]
|
|
flags = [1, 0, 1]
|
|
|
|
[main.simulation]
|
|
time_step = 0.01
|
|
total_time = 100.0
|
|
output_frequency = 10
|
|
|
|
[main.output]
|
|
format = "csv"
|
|
directory = "results/"
|