read_uhf Interface

public interface read_uhf

Read number of unpaired electrons from a .UHF file or formatted unit


Module Procedures

private subroutine read_uhf_from_file(uhf, file, error)

Read number of unpaired electrons from a file

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: uhf

Number of unpaired electrons

character(len=*), intent(in) :: file

Path to .UHF file

type(error_type), intent(out), allocatable :: error

Error handling

private subroutine read_uhf_from_unit(uhf, unit, error)

Read number of unpaired electrons from an open formatted unit

Arguments

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