List of contact forces for each particle

Submitted by ehsan63 on Sun, 05/22/2011 - 14:41

Hi All,

I need to get the list of contact forces for each atom. I am using LIGGGHTS as a library in my C++ code and need a class or function for getting that list. Do you have any comment?

Bests,
Ehsan.

ckloss's picture

ckloss | Mon, 05/23/2011 - 14:34

Hi Ehsan,

have a look at compute pair/gran/local. But be aware that it calculates local data, i.e. per-processor data - so you may need to modify/wrap it.

Best,
Christoph