def sd_move
import bend-prot@0.1.0.0/force.bend as Forceimport Base
import bend-prot@0.1.0.0/geom.bend as G
import bend-prot@0.1.0.0/protein.bend as P
209def sd_move(h: P.Atom, f: G.Vec3, +dt: F32) -> P.Atom:
210 match h f:
211 case P.Atom{serial, elem, +pos} G.V3{+fx, +fy, +fz}:
212 P.Atom{serial, elem, G.Vec3.add(pos, G.Vec3.scale(dt, G.V3{fx, fy, fz}))}