read_structure Interface

public interface read_structure

Module Procedures

private subroutine read_structure_from_file(self, file, error, format)

Arguments

Type IntentOptional 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

private subroutine read_structure_from_unit(self, unit, ftype, error)

Arguments

Type IntentOptional 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