xnn.ffnn.models.ffield.lammps_pair_parameters#
- xnn.ffnn.models.ffield.lammps_pair_parameters(p, spec, offd)[source]#
Fill the pair radii and van der Waals parameters as LAMMPS does, in place.
pair_style reaxffderives every pair from the atomic values – the arithmetic mean of the sigma / pi / double-pi bond radii and the geometric mean ofDevdw,rvdwandalfa– and then lets an off-diagonal entry override each value that is positive. Negative atomic pi radii are kept: whether a pi channel exists is decided per atom (seeReaxFF), not from the pair radius. Every pair ofspecgets an entry in both orientations.