Hey all,
I’m trying to print the list of all atoms in a dynamic group. the “dump custom” returns the correct list (a couple of atoms) while the “dump local” gives every possible index. Any idea why?
compute ComputeNeighbor all coord/atom cutoff 3.0
compute ComputeNeighborReduce all reduce sum c_ComputeNeighbor
compute ComputePropertyLocal all property/local patom1 patom2
compute ComputePair all pair/local dist
thermo_style custom step temp c_EnergyPotReduce c_EnergyKin etotal press vol c_ComputeNeighborReduce
run 0 post no
variable NNdist atom "c_ComputeNeighbor > 1"
group HasNeighbor dynamic all var NNdist every 1
dump DumpCustom HasNeighbor custom 100 *.dump id x y z c_EnergyPot c_ComputeNeighbor
dump DumpLocal HasNeighbor local 100 *.report index c_ComputePropertyLocal[1] c_ComputePropertyLocal[2] c_ComputePair
run 300