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 |