[lammps-users] Dump bonds


I was wondering if any one could help me with the commands necessary to dump a bond list. From the manual, I was thinking I should use the following combination:
compute blist all property/local btype batom1 batom2
dump 2 all local 1000 bonds_test_* index c_blist
But this results in the error message:
‘ERROR: Dump local compute does not calculate local vector’

So I am not sure where my mistake is. Thanks in advance for any assistance.


I am not sure Chris, as I haven’t tried it myself. But, did you try getting the output from thermo command in log file instead of dump?

You need c_blist[1] since your compute is producing 3 vectors, not one.