ForceBalance API
1.3
Automated optimization of force fields and empirical potentials
|
Input file parser for ForceBalance jobs. More...
Input file parser for ForceBalance jobs.
Additionally, the location for all default options.
Although I will do my best to write good documentation, for many programs the input parser becomes the most up-to-date source for documentation. So this is a great place to write lots of comments for those who implement new functionality.
There are two types of sections for options - GENERAL and TARGET. Since there can be many fitting targets within a single job (i.e. we may wish to fit water trimers and hexamers, which constitutes two fitting targets) the input is organized into sections, like so:
$options
gen_option_1 Big
gen_option_2 Mao
$target
tgt_option_1 Sniffy
tgt_option_2 Schmao
$target
tgt_option_1 Nifty
tgt_option_2 Jiffy
$end
In this case, two sets of target options are generated in addition to the general option.
(Note: "Target" used to be called "Simulation". Backwards compatibility is maintained.)
Each option is meant to be parsed as a certain variable type.
To add a new option, simply add it to the dictionaries below and give it a default value if desired. If you add an entirely new type, make sure to implement the interpretation of that type in the parse_inputs function.