forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10825 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
995ec050ce
commit
99f67ba8bb
|
@ -733,7 +733,8 @@ void ReadData::bodies()
|
|||
bigint natoms = nbodies;
|
||||
|
||||
while (nread < natoms) {
|
||||
nchunk = MIN(natoms-nread,CHUNK);
|
||||
if (natoms-nread > CHUNK) nmax = CHUNK;
|
||||
else nmax = natoms-nread;
|
||||
|
||||
if (me == 0) {
|
||||
nchunk = 0;
|
||||
|
|
Loading…
Reference in New Issue