def lj_pair_pbc

bend-prot@0.1.0.0 · pbc.bend:24

import bend-prot@0.1.0.0/pbc.bend as Pbc
import Base
import bend-prot@0.1.0.0/geom.bend as G
import bend-prot@0.1.0.0/force.bend as F

24def lj_pair_pbc(+pi: G.Vec3, +pj: G.Vec3, +eps: F32, +sig2: F32, +c2: F32, +box: G.Vec3) -> F32:
25  +d2 = mic_dist2(pi, pj, box)
26  F.lj_pair_go(d2, eps, sig2, F32.is_lt(d2, c2))

Uses (5)

Used by (1)