Sim.total_energy: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/sim.bend as Sim Lines 270-271 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=270&end_line=271 import Base def total_energy(+ds: List<&2, DynAtom>, +qs: List<&2, F32>, +bonds: List<&2, U32>, +p: SimParams) -> F32: energy_sum(dyn_atoms(ds), qs, bonds, p) Uses (7): 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=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/sim.bend&name=DynAtom https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/sim.bend&name=SimParams https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/sim.bend&name=dyn_atoms https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/sim.bend&name=energy_sum