[lammps-users] Ghost particle velcity

How do we communicate the ghost particle velocity to local particle(reverse communication), like lammps does for force ?

If you use atom style dpd (or add it via atom_style hybrid)
then ghost atoms will have a velocity corresponding to
the true atom. I don't know what it means to go
the other way (reverse), since why would you want to
sum velocities of ghost particles back to the original.
So style dpd does not do that.


Suppose I change (add some factor to) the velocity of ghost particle, how can I transfer (communicate) back to original atom ?

2009/5/9 Steve Plimpton <[email protected]>

If you're doing this from your own fix, then you should
call something like this:


See fix_bond_break.cpp for an example. Note that you
also need to provide (un)pack_reverse_comm() and set