CDMSreader__readwrite Module


Subroutines

public impure module subroutine CDMS_readfile_hfs(funit_in, funit_out, states_hfs, transitions_hfs)

Read a file containing transitions from the CDMS, get ony states and transitions with hyperfine resolution. Wrapper for CDMS_readfile.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: funit_in

File unit for the CDMS data

integer, intent(in) :: funit_out

File unti for the processed data. If funit is 0, do not write output

type(asymtop_state_hfs), intent(inout), allocatable :: states_hfs(:)

Array of states with hyperfine resolution

type(asymtop_transition_hfs), intent(inout), allocatable :: transitions_hfs(:)

Array of transitions with hyperfine resolution

public impure module subroutine CDMS_readfile_nohfs(funit_in, funit_out, states_nohfs, transitions_nohfs)

Read a file containing transitions from the CDMS, get ony states and transitions without hyperfine resolution. Wrapper for CDMS_readfile.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: funit_in

File unit for the CDMS data

integer, intent(in) :: funit_out

File unti for the processed data. If funit is 0, do not write output

type(asymtop_state_nohfs), intent(inout), allocatable :: states_nohfs(:)

Array of states statistically averaged over hyperfine levels

type(asymtop_transition_nohfs), intent(inout), allocatable :: transitions_nohfs(:)

Array of transitions avveraged over hyperfine levels

public impure module subroutine CDMS_readfile(funit_in, funit_out, return_hfs, return_nohfs, states_hfs, states_nohfs, transitions_hfs, transitions_nohfs)

Read a file containing transitions from the CDMS

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: funit_in

File unit for the CDMS data. Must refer to a stream, like stdin or an opened file

integer, intent(in) :: funit_out

File unti for the processed data. If funit is 0, do not write output. Must refer to a stream, like stdout or an opened file

logical, intent(in) :: return_hfs

Return states and transition arrays for hyperfine data ?

logical, intent(in) :: return_nohfs

Return states and transition arrays for non-hyperfine data ?

type(asymtop_state_hfs), intent(inout), allocatable :: states_hfs(:)

Array of states with hyperfine resolution

type(asymtop_state_nohfs), intent(inout), allocatable :: states_nohfs(:)

Array of states statistically averaged over hyperfine levels

type(asymtop_transition_hfs), intent(inout), allocatable :: transitions_hfs(:)

Array of transitions with hyperfine resolution

type(asymtop_transition_nohfs), intent(inout), allocatable :: transitions_nohfs(:)

Array of transitions avveraged over hyperfine levels