shamrock.external.coala.kernel_collision.kdv#

shamrock.external.coala.kernel_collision.kdv(K0, u, v)#

Function to compute the cross-section term in the ballistic kernel K = sigma * dv

Parameters#

K0scalar, type -> float

constant value of the kernel function (used to adapt to code unit)

uscalar, type -> float

mass variable (colliding grain of mass u)

vscalar, type -> float

mass variable (colliding grain of mass v)

Returns#

resscalar, type -> float

evaluate cross-section term of the balistic kernel at u and v