using local data as a variable
Hi,
I am a new user of Liggghts and have some problem. I am trying to use compute pair/gran/local command for calculating the contact force of grains. I know that this compute calculates a local array which can not be used as a variable.
1. how can I perform some math operators and functions on specific columns of this local array (for example use ^ or * and then calculate the sum of all the vector elements)?
Forums:
- Read more about using local data as a variable
- 3 comments
- Log in or register to post comments