Hi all,
Does anyone know when to use comm_pair and when reverse_comm_pair?
They seem to be the same in use?
But in pair_eam.cpp,
"// communicate and sum densities
if (newton_pair) comm->reverse_comm_pair(this);"
while,
" // communicate derivative of embedding function
comm->comm_pair(this);"
So I am confused when using them to modify other source codes.
By the way, why is there coefficients for pbc for reverse_comm_pair, but none for comm_pair?
Thanks!
Chen Chen