Force.lj_of_d2: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/force.bend as Force Lines 27-29 of bend-prot@0.1.0.0/force.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/force.bend&start_line=27&end_line=29 import Base # LJ energy from squared distance: 4e*((s2/d2)^12 - (s2/d2)^6), no sqrt. def lj_of_d2(d2: F32, +eps: F32, +sig2: F32) -> F32: lj_from_inv((sig2 / d2 : F32), eps) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.div https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/force.bend&name=lj_from_inv