Adding clarifying comment

This commit is contained in:
jtclemm
2024-11-04 13:24:27 -07:00
parent bf888045d6
commit 3e531b9842

View File

@ -464,6 +464,8 @@ double NStencil::memory_usage()
bytes += (double)atom->ntypes * maxstencil_multi_old * sizeof(double);
} else if (neighstyle == Neighbor::MULTI) {
int n = ncollections;
// May not yet be initialized for occasional lists
if (maxstencil_multi) {
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {