def lj_row_elem

bend-prot@0.1.0.0 · force.bend:281

import bend-prot@0.1.0.0/force.bend as Force
import Base
import bend-prot@0.1.0.0/geom.bend as G
import bend-prot@0.1.0.0/protein.bend as P

281def lj_row_elem(+si: U32, +pi: G.Vec3, +ys: List<&2, P.Atom>, +c2: F32) -> F32:
282  match ys:
283    case Nil{}:
284      0.0
285    case h <> t:
286      (lj_row_elem(si, pi, t, c2) + lj_head_elem(si, pi, c2, h) : F32)

Uses (7)

Used by (3)