A general question about "communicate multi"

Hi all,

I have a general question about the command “communicate.” In my simulation, I have one group (called “poly”) which needs a longer ghost cutoff due to the bonded interactions of long distance I applied, but the amount of such group in the system is small. The other group (called “solv”) doesn’t require long ghost cutoff, but it pretty much occupy 90% of the system. As a result, I want to apply two ghost cutoff in order to save some computational time. I know LAMMPS runs input line by line, so is it legit to put two “communicate” in the input like this? Thank you.

communicate multi group solv vel yes cutoff 0.0
communicate multi group poly vel yes cutoff 3.0

Best,
Ming-Tsung

Hi all,

I have a general question about the command "communicate." In my simulation,
I have one group (called "poly") which needs a longer ghost cutoff due to
the bonded interactions of long distance I applied, but the amount of such
group in the system is small. The other group (called "solv") doesn't
require long ghost cutoff, but it pretty much occupy 90% of the system. As a
result, I want to apply two ghost cutoff in order to save some computational
time. I know LAMMPS runs input line by line, so is it legit to put two
"communicate" in the input like this? Thank you.

it is legitimate syntax, but it will not do what your intention is.
the second line will override the first. there can be only one setting
for each flag.

on top of that, i don't think the cutoff option will work the way you
think. please revisit the documentation carefully.

axel.