outputting per-atom values from the code
Hi everybody,
I'm calculating per-atom-values in a fix within the LIGGGHTS-code. Now I'm wondering how is the easiest way for outputting them. Right now they are stored in an array like that:
peratom_prop = (double*)memory->create_1d_double_array(0, nlocal, "peratom_prop");
1.: Outputting the per-atom-vector by the fix, which then could be stored in a variable of the inputskript and which then also could be used within the dump custom command?
2.: directly access this per-atom-vector by the dump-custom-command.
Unfortunately I don't have a clue for both ways how to proceed...
Forums:
- Read more about outputting per-atom values from the code
- 1 comment
- Log in or register to post comments