Return the number of polarizable atoms in the system.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | value | :: | s_prt |
function C_ommp_get_pol_atoms(s_prt) bind(c, name='ommp_get_pol_atoms')
!! Return the number of polarizable atoms in the system.
implicit none
type(c_ptr), value :: s_prt
type(ommp_system), pointer :: s
integer(ommp_integer) :: C_ommp_get_pol_atoms
call c_f_pointer(s_prt, s)
C_ommp_get_pol_atoms = s%eel%pol_atoms
end function C_ommp_get_pol_atoms