def vv_scale_head
import bend-prot@0.1.0.0/sim.bend as Simimport Base
import bend-prot@0.1.0.0/geom.bend as G
117def vv_scale_head(h: DynAtom, lam: F32) -> DynAtom:
118 match h:
119 case DA{serial, elem, pos, vel, frc, mass}:
120 DA{serial, elem, pos, G.Vec3.scale(lam, vel), frc, mass}