law sd_sweep_cons

bend-prot@0.1.0.0 · LAWS.bend:179

import bend-prot@0.1.0.0/LAWS.bend as LAWS
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/force.bend as F

179# A sweep over cons cells moves the head and sweeps the tail.
180law sd_sweep_cons:
181  for h: P.Atom
182  for t: List<&2, P.Atom>
183  for f: G.Vec3
184  for ft: List<&2, G.Vec3>
185  for dt: F32
186  {F.sd_sweep(h <> t, f <> ft, dt) == F.sd_move(h, f, dt) <> F.sd_sweep(t, ft, dt) : List<&2, P.Atom>}

Uses (6)

Used by (0)

No other definition uses this definition.