xnn.ffnn.models.reaxff.taper_up#
- xnn.ffnn.models.reaxff.taper_up(x, rmin, rmax)[source]#
Ascending bond-order taper: 0 below
rmin, 1 abovermax.The cubic switching polynomial applied to the raw bond-order exponentials, with the regularized denominator
(rmin - rmax)^3 + 1e-7under which published ReaxFF-nn parameter libraries were trained – for the tiny bond-order thresholds this taper is applied to, the constant dominates the cube, so it acts as a near-step atrminrather than a smooth switch.