make sure numbers for atoms outside the compute group are zero

This commit is contained in:
Axel Kohlmeyer
2020-06-23 10:24:47 -04:00
parent 9aea4e509e
commit a766b6a901

View File

@ -239,7 +239,7 @@ void ComputeHexOrderAtom::compute_peratom()
}
qn[0] = usum/nnn;
qn[1] = vsum/nnn;
}
} else qn[0] = qn[1] = 0.0;
}
}