def lj_fself

bend-prot@0.1.0.0 · force.bend:159

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

159def lj_fself(+d2: F32, +d: G.Vec3, +eps: F32, +sig2: F32, self: Bool) -> G.Vec3:
160  match self:
161    case True{}:
162      G.V3{0.0, 0.0, 0.0}
163    case False{}:
164      lj_fpair(d2, d, eps, sig2)

Uses (4)

Used by (1)