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 bonds d_ids (hydrogen d_key) times its H…Z pairs (hydrogen a_key, Z a_src, offsets a_off), Z not X): the bonds, X, H, Z and the offsets (C, 3).

Parameters:
Return type:

tuple