small bug fix for gather()
This commit is contained in:
@ -1567,7 +1567,7 @@ void lammps_gather(void *ptr, char *name, int type, int count, void *data)
|
|||||||
" fix does not return peratom data");
|
" fix does not return peratom data");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (lmp->modify->fix[fcid]->size_peratom_cols != count) {
|
if (count>1 && lmp->modify->fix[fcid]->size_peratom_cols != count) {
|
||||||
lmp->error->warning(FLERR,"lammps_gather:"
|
lmp->error->warning(FLERR,"lammps_gather:"
|
||||||
" count != values peratom for fix");
|
" count != values peratom for fix");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user