Control key types

From FFDevel Wiki
Jump to navigation Jump to search

Navigation: Documentation / Files / Control files / Control key types


The control files contains keys and their values. Values might be one of following type:

Type Description
string This is a sequence of characters beginning with the second word on a keyword line and ending with the last word (the first word is a key). Space among words is included in the string without any modification. The whole sequence can be enclosed into quotation marks.
integer This is a sequence of number characters in a free format. Plain integer numbers as well as numbers in exponential form are supported. If the number contains the fractional part then the number is ignored and the keyword line is not marked as processed.
real This is a sequence of number characters in a free format. Plain real numbers as well as numbers in exponential form are supported.
logical This is a boolean value, which can have two values: true or false.
The true value can be entered as: on, ON, true, TRUE, T, 1
The false value can be entered as: off, OFF, false, FALSE, F, 0
Other entries are ignored and the keyword line is not marked as processed.


Examples

topology      "BUT.stop"                       # this is a string

probesize       1                              # this is an integer number

fbeta         10.1234                          # this is a real number

enabled        on                              # this is a logical number