Force.lj_eps: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/force.bend as Force Lines 236-253 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=236&end_line=253 import Base # --- Per-element Lennard-Jones: illustrative eps (kcal/mol) and sigma (A) # by element number; unknown elements take a generic (0.20, 3.00). These # are placeholders, not a force field. Lorentz-Berthelot combining: # eps = sqrt(ei*ej), sig2 = ((si+sj)/2)^2. def lj_eps(e: U32) -> F32: match e: case 1: 0.03 case 6: 0.066 case 7: 0.17 case 8: 0.21 case 16: 0.25 case _: 0.2 Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil