law lj_row_par4_step

bend-prot@0.1.0.0 · LAWS.bend:464

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
import bend-prot@0.1.0.0/par.bend as Par

464# A full unrolled row splits four parallel heads plus the tail.
465law lj_row_par4_step:
466  for pi: G.Vec3
467  for eps: F32
468  for sig2: F32
469  for c2: F32
470  for h1: P.Atom
471  for h2: P.Atom
472  for h3: P.Atom
473  for h4: P.Atom
474  for t: List<&2, P.Atom>
475  {Par.lj_row_par4(pi, eps, sig2, c2, h1 <> h2 <> h3 <> h4 <> t) == ((F.lj_head(pi, eps, sig2, c2, h1) + F.lj_head(pi, eps, sig2, c2, h2) : F32) + ((F.lj_head(pi, eps, sig2, c2, h3) + F.lj_head(pi, eps, sig2, c2, h4) : F32) + Par.lj_row_par4(pi, eps, sig2, c2, t) : F32) : F32) : F32}

Uses (7)

Used by (0)

No other definition uses this definition.