In addition to the previous email. How it is done in LIGGGHTS/LAMMPS [1]
They check not the real distance, but its square.

[1] 
https://github.com/gladk/LIGGGHTS-PUBLIC/blob/master/src/pair_gran_hooke_history_viscel.cpp#L652

Anton

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to