git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10983 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2013-11-05 18:07:24 +00:00
parent c44a7a2673
commit 767784895d
1 changed files with 0 additions and 6 deletions

View File

@ -3358,8 +3358,6 @@ void Variable::peratom2global(int flag, char *word,
int index = atom->map(id);
printf("WORD %d %d %s %d\n",me,index,word,flag);
double mine;
if (index >= 0 && index < atom->nlocal) {
@ -3386,13 +3384,9 @@ void Variable::peratom2global(int flag, char *word,
} else mine = 0.0;
printf("PRE %d %d %s %d\n",me,index,word,flag);
double value;
MPI_Allreduce(&mine,&value,1,MPI_DOUBLE,MPI_SUM,world);
printf("POST %d %d %s %d\n",me,index,word,flag);
if (tree) {
Tree *newtree = new Tree();
newtree->type = VALUE;