Sim.maxforce2_of: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/sim.bend as Sim Lines 242-249 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=242&end_line=249 import Base import bend-prot@0.1.0.0/geom.bend as G def maxforce2_of(ds: List<&2, DynAtom>) -> F32: match ds: case Nil{}: 0.0 case h <> t: match h: case DA{serial, elem, pos, vel, frc, mass}: F32.max(G.Vec3.norm2(frc), maxforce2_of(t)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.max 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/geom.bend&name=Vec3.norm2 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/sim.bend&name=DynAtom