Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | s_prt |
function C_ommp_qm_helper_get_frozen(s_prt) bind(c, name='ommp_qm_helper_get_frozen')
use mod_qm_helper, only: ommp_qm_helper
implicit none
type(c_ptr), value :: s_prt
type(ommp_qm_helper), pointer :: s
type(c_ptr) :: C_ommp_qm_helper_get_frozen
call c_f_pointer(s_prt, s)
C_ommp_qm_helper_get_frozen = c_loc(s%qm_top%frozen)
end function C_ommp_qm_helper_get_frozen