mbuild_polybuild.aa_functional_groups.tftp.TFTP.n_direct_bonds

property TFTP.n_direct_bonds

Return the number of bonds a particle is directly involved in.

This method should only be used on on compounds at the bottom of their hierarchy (i.e. a particle).

Returns:

The number of compounds this compound is directly bonded to.

Return type:

int