mod_abstract_structure_data_file¶
Implementation of an abstract base class for all files that provide chemical structures for training/prediction. author: Alexander Knoll
Dependencies¶
Derived Types Summary¶
| Name | Description |
|---|---|
AbstractStructureDataFile |
Procedures Summary¶
| Name | Type | Description |
|---|---|---|
rewind |
Subroutine |
Derived Types Details¶
type AbstractStructureDataFile¶
Components
-
name: character– The name of the file. – Inherited from GenericFile -
path: character– The relative or absolute path to the file. – Inherited from GenericFile -
iomsg: character– Inherited from GenericFile -
fileunit: integer– Fortran file unit ID. -1 is the (invalid) default and has to be changed to an actual fileunit, preferably using new_unit in the intrinsic open() routine. – Inherited from GenericFile -
ios: integer– I/O status. 0 is the default and indicates that no error has occurred. Any other value indicates an error. – Inherited from GenericFile -
tot_num_structures: integer– Total number of structures in the file. -
tot_num_atoms: integer– Total number of atoms in the file. -
num_atoms_element: integer (dim: (MAX_ELEM_NUM))– Total number of atoms per element in the file. -
max_num_atoms: integer– Maximum number of atoms in a single structure. -
max_num_atoms_per_element: integer (dim: (MAX_ELEM_NUM))– Maximum number of atoms per element in a single structure. -
mean_num_neighbors: real(DP)– The average number of neighbors per atom. Collected for statistical purposes. -
num_parsed_atoms: integer– Total number of atoms that were seen while parsing the file. -
num_used_atoms: integer– Total number of atoms that were parsed from the file. This may differ from `num_parsed_atoms` due to thresholds applied during parsing. -
num_parsed_structures: integer– Total number of structures that were seen while parsing the file. -
num_used_structures: integer– Total number of structures that were parsed from the file. This may differ from `num_parsed_structures` due to thresholds applied during parsing. -
reference_properties: type(DatasetStorage)– Inherited from AbstractStructureDataFile
Type-Bound Procedures
| Name | Attributes | Binding |
|---|---|---|
| open | public | ⇒ open_abstract_file |
| close | public | ⇒ close_abstract_file |
| check_ios | public | ⇒ check_ios |
| count_structures_and_atoms | public | ⇒ count_structures_and_atoms |
| read_next_structure | public | ⇒ read_next_structure |
| read_structures | public | ⇒ read_structures |
| read_reference_properties | public | ⇒ read_reference_properties |
| rewind | public | ⇒ rewind |
Procedure Details¶
subroutine rewind¶
subroutine rewind( &
self &
)
Arguments
-
self: class(AbstractStructureDataFile) [inout]