forked from lijiext/lammps
Merge pull request #1506 from sniblett402/patch-1
Bugfix for bond_style table with MPI
This commit is contained in:
commit
1c1491eebf
|
@ -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);
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue