xnn.ffnn.models.reaxff_kernels.hbond_cross#
- xnn.ffnn.models.reaxff_kernels.hbond_cross(d_ids, d_key, b_src, a_src, a_key, a_off, n)[source]#
The hydrogen-bond candidates on the CPU as the grouped cross product of
_group_cross()gives them (by hydrogen, its X-H bondsd_ids(hydrogend_key) times its H…Z pairs (hydrogena_key, Za_src, offsetsa_off), Z not X): the bonds, X, H, Z and the offsets(C, 3).