def init_kick_atom
import bend-prot@0.1.0.0/sim.bend as Simimport Base
69def init_kick_atom(h: DynAtom) -> DynAtom:
70 match h:
71 case DA{+serial, elem, pos, vel, frc, mass}:
72 DA{serial, elem, pos, kick_vec(serial), frc, mass}
import bend-prot@0.1.0.0/sim.bend as Simimport Base
69def init_kick_atom(h: DynAtom) -> DynAtom:
70 match h:
71 case DA{+serial, elem, pos, vel, frc, mass}:
72 DA{serial, elem, pos, kick_vec(serial), frc, mass}