Excluding periodic interactions on half of cell faces
Asked by
Jan Stránský
Hello,
I am wondering, if it is possible to exclude periodic interactions on negative faces of periodic cell (those with outer normal against coordinate axes) while preserving periodic contacts on positive faces.
Dividing the cell into 3 parts in each directions and using bitmasks could be one solution, but I would like not to use this one. I want to use it in a very special case where I use a lot of masks for a lot of periodic cells using actually one periodic cell. So, introducing 6 bits for each one, I would run out of int width.
Thanks
Jan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bruno Chareyre
- Solved:
- Last query:
- Last reply:
To post a message you must log in.