Hello,
I am working on a code that uses forward_comm_compute method in lammps. I noticed in the recent lammps package, the comm.cpp is much shorter than the older ones, and implement of forward_comm_compute (and similar methods for fix) is not in the comm.cpp anymore. I wonder if it has been move else where. Or there is an alternative way to communicate information about ghost atoms.
Thank you.
Bin
Hello,
I am working on a code that uses forward_comm_compute method in lammps. I noticed in the recent lammps package, the comm.cpp is much shorter than the older ones, and implement of forward_comm_compute (and similar methods for fix) is not in the comm.cpp anymore. I wonder if it has been move else where. Or there is an alternative way to communicate information about ghost atoms.
the function is still available. comm.h still defines it as a pure
method. however, since LAMMPS now supports two styles of domain
decomposition (brick and tiled) there are two derived classes that
provide the suitable implementation for the respective communication
style.
axel.
Hello Axel,
Thank you for your quick response. A followup to the previous question. Does this mean that in my code, I should use for instance CommBrick->forward_comm_compute(this) rather than Comm->forward_comm_compute (this) ?
Bin
Hello Axel,
Thank you for your quick response. A followup to the previous question. Does this mean that in my code, I should use for instance CommBrick->forward_comm_compute(this) rather than Comm->forward_comm_compute (this) ?
of course not.
see other computes that use forward communication.
axel.