Adding clarifying comment
This commit is contained in:
@ -464,6 +464,8 @@ double NStencil::memory_usage()
|
|||||||
bytes += (double)atom->ntypes * maxstencil_multi_old * sizeof(double);
|
bytes += (double)atom->ntypes * maxstencil_multi_old * sizeof(double);
|
||||||
} else if (neighstyle == Neighbor::MULTI) {
|
} else if (neighstyle == Neighbor::MULTI) {
|
||||||
int n = ncollections;
|
int n = ncollections;
|
||||||
|
|
||||||
|
// May not yet be initialized for occasional lists
|
||||||
if (maxstencil_multi) {
|
if (maxstencil_multi) {
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
for (int j = 0; j < n; j++) {
|
for (int j = 0; j < n; j++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user