xnn.ffnn.models.reaxff_fast.bond_corrections#

xnn.ffnn.models.reaxff_fast.bond_corrections(b_src, b_dst, bop_si, bop_pi, bop_pp, deltap, species, spt, tab, gen, dtype, act=None)[source]#

(bo0, bosi, bopi, bopp) per bond and the per-atom bond energy (N,) in dtype of the bond list (b_src, b_dst) (LAMMPS conventions), from the uncorrected bond orders, the uncorrected coordination per atom, the per-species table (S, 2) (valency, correction valency), the per-species-pair table (S, S, BC_COLUMNS) and the general (boc1, boc2); act the integer flags of the bonds that take part (the others get zero bond orders; all without).

Parameters:
Return type:

tuple