triqs_dft_tools.converters.plovasp.inpconf.ConfigParameters
- class triqs_dft_tools.converters.plovasp.inpconf.ConfigParameters(input_filename, verbosity=1)[source]
- Class responsible for parsing of the input config-file. - Parameters: - sh_required, sh_optional : required and optional parameters of shells 
- gr_required, gr_optional : required and optional parameters of groups 
 - The dictionary contains a mapping of conf-file keywords to a pair of objects: - internal name of a parameter 
- function used to convert an input string into data for a given parameter 
 
Methods
| 
 | |
| Ensures consistency between groups and shells. In particular: | |
| 
 | Band window is given by two ints, with the first one being smaller than the second one. | 
| 
 | Energy window is given by two floats, with the first one being smaller than the second one. | 
| 
 | Parses a file 'filename' containing transformation matrices for each ion. | 
| Parses [General] section. | |
| Parses [Group] sections. | |
| Parses input conf-file. | |
| 
 | Parses required or optional parameter set from a section. | 
| Parses all [Shell] sections. | |
| 
 | Two formats are accepted: | 
| 
 | int parameters | 
| 
 | The ion list accepts the following formats: | 
| 
 | Logical parameters are given by string 'True' or 'False' (case does not matter). | 
| 
 | Transformation matrix is defined as a set of rows separated by a new line symbol. |