Merge pull request #1506 from sniblett402/patch-1

Bugfix for bond_style table with MPI
This commit is contained in:
Axel Kohlmeyer 2019-06-11 19:10:41 -04:00 committed by GitHub
commit 1c1491eebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -503,7 +503,7 @@ void BondTable::param_extract(Table *tb, char *line)
void BondTable::bcast_table(Table *tb)
{
MPI_Bcast(&tb->ninput,1,MPI_INT,0,world);
MPI_Bcast(&tb->r0,1,MPI_INT,0,world);
MPI_Bcast(&tb->r0,1,MPI_DOUBLE,0,world);
int me;
MPI_Comm_rank(world,&me);
@ -522,7 +522,6 @@ void BondTable::bcast_table(Table *tb)
MPI_Bcast(&tb->fplo,1,MPI_DOUBLE,0,world);
MPI_Bcast(&tb->fphi,1,MPI_DOUBLE,0,world);
}
MPI_Bcast(&tb->r0,1,MPI_INT,0,world);
}
/* ----------------------------------------------------------------------