avoid accessing uninitialized data when exiting LAMMPS early
This commit is contained in:
@ -124,6 +124,7 @@ void CommBrick::init_buffers()
|
|||||||
maxrecv = BUFMIN;
|
maxrecv = BUFMIN;
|
||||||
memory->create(buf_recv,maxrecv,"comm:buf_recv");
|
memory->create(buf_recv,maxrecv,"comm:buf_recv");
|
||||||
|
|
||||||
|
nswap = 0;
|
||||||
maxswap = 6;
|
maxswap = 6;
|
||||||
allocate_swap(maxswap);
|
allocate_swap(maxswap);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user