Return the c-pointer to the array containing the coordinates of polarizable atoms.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | s_prt |
function C_ommp_get_cpol(s_prt) bind(c, name='ommp_get_cpol')
!! Return the c-pointer to the array containing the coordinates of
!! polarizable atoms.
type(c_ptr), value :: s_prt
type(ommp_system), pointer :: s
type(c_ptr) :: C_ommp_get_cpol
call c_f_pointer(s_prt, s)
C_ommp_get_cpol = c_loc(s%eel%cpol)
end function C_ommp_get_cpol