pair_count Function

public function pair_count(sys, spec, n_pairs, n_cation, n_anion) result(code)

Contact-pair census for spec.

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: sys
character(len=*), intent(in) :: spec
integer(kind=c_size_t), intent(out) :: n_pairs
integer(kind=c_int), intent(out) :: n_cation
integer(kind=c_int), intent(out) :: n_anion

Return Value integer(kind=c_int)