xnn.ffnn.models.amoeba_ewald.switching#
- xnn.ffnn.models.amoeba_ewald.switching(R, taper, cutoff)[source]#
The C2 switch
S(R): one belowtaper, zero beyondcutoff,1 - 10 x^3 + 15 x^4 - 6 x^5withx = (R - taper) / (cutoff - taper)in between (unit value and zero first and second derivatives at the taper, zero value and derivatives at the cutoff).