LAWS.bond_forces_cons: law of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/LAWS.bend as LAWS Lines 799-805 of bend-prot@0.1.0.0/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/LAWS.bend&start_line=799&end_line=805 import Base import bend-prot@0.1.0.0/geom.bend as G import bend-prot@0.1.0.0/protein.bend as P import bend-prot@0.1.0.0/bonded.bend as B # Bond forces split head atom from tail atoms. law bond_forces_cons: for h: P.Atom for t: List<&2, P.Atom> for bonds: List<&2, U32> for k: F32 {B.bond_forces(h <> t, bonds, k) == B.bond_force_list(P.Atom.serial(h), bonds, h <> t, k) <> B.bond_forces(t, bonds, k) : List<&2, G.Vec3>} Uses (8): 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/bonded.bend&name=bond_force_list https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/bonded.bend&name=bond_forces https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom.serial