def zero_charges
import bend-prot@0.1.0.0/sim.bend as Simimport Base
import bend-prot@0.1.0.0/protein.bend as P
56# Zero charges aligned with atoms (no charge model yet; Coulomb kernels
57# take external charges and are exercised by laws).
58def zero_charges(xs: List<&2, P.Atom>) -> List<&2, F32>:
59 match xs:
60 case Nil{}:
61 Nil{}
62 case h <> t:
63 0.0 <> zero_charges(t)