git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15083 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -901,7 +901,7 @@ void DumpImage::create_image()
|
||||
// communicate choose flag for ghost atoms to know if they are selected
|
||||
// if bcolor/bdiam = ATOM, setup bufcopy to comm atom color/diam attributes
|
||||
|
||||
if (nall > maxbufcopy) {
|
||||
if (atom->nmax > maxbufcopy) {
|
||||
maxbufcopy = atom->nmax;
|
||||
memory->destroy(chooseghost);
|
||||
memory->create(chooseghost,maxbufcopy,"dump:chooseghost");
|
||||
|
||||
Reference in New Issue
Block a user