def bond_force_look

bend-prot@0.1.0.0 · bonded.bend:289

import bend-prot@0.1.0.0/bonded.bend as Bonded
import Base
import bend-prot@0.1.0.0/geom.bend as G

289def bond_force_look(s: U32, ma: Maybe<&1, G.Vec3 & U32>, mb: Maybe<&1, G.Vec3 & U32>, a: U32, b: U32, +k: F32) -> G.Vec3:
290  match ma:
291    case None{}:
292      G.V3{0.0, 0.0, 0.0}
293    case Some{(pa, ea)}:
294      bond_force_look1(s, pa, ea, mb, a, b, k)

Uses (7)

Used by (1)