shamrock.external.coala.kernel_collision.kconst#
- shamrock.external.coala.kernel_collision.kconst(K0, u, v)#
Function to compute constant kernel
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 constant kernel