Dear LIGGGHTS users,
I have a simple problem related to dump custom command.
I have defined a per-atom vector which has 12 elements. I perform some calculations on this vector and want to dump it out, however I get the following error.
"Dump custom fix ID does not compute per-atom vector"
This is the input script commands I use:
fix LB all property/atom LB vector yes no no -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
dump dmp all custom ${nDump} dump.${OutName} id type f_LB[1] ....f_LB[12]
The manual says I should be able to do this. I can't understand what is wrong.
If I put a scalar in the dump custom command, it does not have any issues.
Thanks for the help in advance.
Sincerely,
Liz
ckloss | Wed, 01/14/2015 - 18:26
Hi Liz,
Hi Liz,
it works fine at my end - are you using the latest version of LIGGGHTS?
Christoph
leaso | Tue, 03/24/2015 - 04:53
Adding a large fix property atom vector
Yup. It worked for me. I can't remember what I was doing incorrectly.
I had a followup question. Incase I need to add a per-atom vector which has a large amount of elements ~100.
Is there convenient way without having to type the initial value 100 times?
like
fix LB all property/atom LB vector yes no no -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1.....(100 times)
Thanks,
Liz