Force.coul_frow: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/force.bend as Force Lines 326-335 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=326&end_line=335 import Base import bend-prot@0.1.0.0/geom.bend as G import bend-prot@0.1.0.0/protein.bend as P def coul_frow(+pi: G.Vec3, +qi: F32, +ke: F32, +c2: F32, ys: List<&2, P.Atom>, qs: List<&2, F32>) -> G.Vec3: match ys qs: case Nil{} Nil{}: G.V3{0.0, 0.0, 0.0} case Nil{} qh <> qt: G.V3{0.0, 0.0, 0.0} case h <> t Nil{}: G.V3{0.0, 0.0, 0.0} case h <> t qh <> qt: G.Vec3.add(coul_frow(pi, qi, ke, c2, t, qt), coul_fhead(pi, qi, ke, c2, h, qh)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/force.bend&name=coul_fhead https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3.add https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom