mirror of
https://github.com/triqs/dft_tools
synced 2024-09-01 16:53:43 +02:00
![Oleg E. Peil](/assets/img/avatar_default.png)
Parsing of two optional parameters (BASENAME and EFERMI) from section [General] from the config-file is implemented. If this section is not found the parameters are set to their default values, which is 'vasp' for BASENAME and nothing for EFERMI. Appropriate test is added to the 'inpconf' test suite.
32 lines
322 B
INI
32 lines
322 B
INI
[General]
|
|
BASENAME = test_base
|
|
EFERMI = 0.1
|
|
|
|
[Group 1]
|
|
SHELLS = 1 2
|
|
EMIN = -7.6
|
|
EMAX = 3.0
|
|
|
|
[Group 2]
|
|
SHELLS = 3
|
|
EMIN = -1.6
|
|
EMAX = 2.0
|
|
|
|
[Shell 1]
|
|
LSHELL = 2
|
|
IONS = 5..8
|
|
|
|
[Shell 2]
|
|
LSHELL = 1
|
|
IONS = 1..4
|
|
|
|
RTRANSFORM = 0.0 1.0 0.0
|
|
1.0 0.0 0.0
|
|
0.0 0.0 1.0
|
|
|
|
[Shell 3]
|
|
LSHELL = 3
|
|
IONS = 1..4
|
|
|
|
|