Readers for .CHRG and .UHF auxiliary dot-files
Read molecular charge from a .CHRG file or formatted unit
Read molecular charge from a file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(out) | :: | charge |
Molecular charge |
||
| character(len=*), | intent(in) | :: | file |
Path to |
||
| type(error_type), | intent(out), | allocatable | :: | error |
Error handling |
Read molecular charge from an open formatted unit
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(out) | :: | charge |
Molecular charge |
||
| integer, | intent(in) | :: | unit |
Formatted input unit |
||
| type(error_type), | intent(out), | allocatable | :: | error |
Error handling |
Read number of unpaired electrons from a .UHF file or formatted unit
Read number of unpaired electrons from a file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | uhf |
Number of unpaired electrons |
||
| character(len=*), | intent(in) | :: | file |
Path to |
||
| type(error_type), | intent(out), | allocatable | :: | error |
Error handling |
Read number of unpaired electrons from an open formatted unit
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | uhf |
Number of unpaired electrons |
||
| integer, | intent(in) | :: | unit |
Formatted input unit |
||
| type(error_type), | intent(out), | allocatable | :: | error |
Error handling |
Read .CHRG and .UHF dot-files from the directory of an input path
if they exist on disk.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(structure_type), | intent(inout) | :: | self |
Molecular structure data to update |
||
| character(len=*), | intent(in) | :: | input |
Input geometry file path (or “-” for current directory) |
||
| type(error_type), | intent(out), | allocatable | :: | error |
Error handling |
|
| logical, | intent(in), | optional | :: | read_chrg |
Whether to check and read |
|
| logical, | intent(in), | optional | :: | read_uhf |
Whether to check and read |
|
| character(len=:), | intent(out), | optional, | allocatable | :: | chrg_file |
Resolved |
| character(len=:), | intent(out), | optional, | allocatable | :: | uhf_file |
Resolved |