Sim.zero_charges: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/sim.bend as Sim Lines 56-63 of bend-prot@0.1.0.0/sim.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/sim.bend&start_line=56&end_line=63 import Base import bend-prot@0.1.0.0/protein.bend as P # Zero charges aligned with atoms (no charge model yet; Coulomb kernels # take external charges and are exercised by laws). def zero_charges(xs: List<&2, P.Atom>) -> List<&2, F32>: match xs: case Nil{}: Nil{} case h <> t: 0.0 <> zero_charges(t) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom