Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(structure_type), | intent(out) | :: | self |
Instance of the molecular structure data |
||
character(len=*), | intent(in) | :: | file |
Name of the file to read |
||
type(error_type), | intent(out), | allocatable | :: | error |
Error handling |
|
integer, | intent(in), | optional | :: | format |
File type format hint |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(structure_type), | intent(out) | :: | self |
Instance of the molecular structure data |
||
integer, | intent(in) | :: | unit |
File handle |
||
integer, | intent(in) | :: | ftype |
File type to read |
||
type(error_type), | intent(out), | allocatable | :: | error |
Error handling |
Read molecular structure data from formatted unit
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(structure_type), | intent(out) | :: | self |
Instance of the molecular structure data |
||
integer, | intent(in) | :: | unit |
File handle |
||
type(error_type), | intent(out), | allocatable | :: | error |
Error handling |
Retrieve reader for corresponding file type
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
procedure(structure_reader), | intent(out), | pointer | :: | reader |
Reader for the specified file type |
|
integer, | intent(in) | :: | ftype |
File type to read |