The contact vector

Submitted by JoshuaP on Wed, 10/21/2015 - 11:43

Hey,

the contact vector cdata.en is the vector from one particle to the next? But what is the direction of this vector? and is the length of the vector =1?

regards,
Joshua

aaigner's picture

aaigner | Thu, 10/22/2015 - 14:19

cdata.en .. in the meanwhile it is called sidata.en is calculated in pair_gran_base.h and points from particle j to i (let's say i is the currently selected particle and j is the neighbor) and has the length 1.

Bests
Andreas