id_center should be of type tagint
This commit is contained in:
@ -566,7 +566,7 @@ int FixNeighborSwap::pick_i_swap_atom()
|
||||
|
||||
MPI_Allreduce(MPI_IN_PLACE, &root_rank, 1, MPI_INT, MPI_MAX, world);
|
||||
|
||||
MPI_Bcast(&id_center, 1, MPI_INT, root_rank, world);
|
||||
MPI_Bcast(&id_center, 1, MPI_LMP_TAGINT, root_rank, world);
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
@ -53,7 +53,7 @@ class FixNeighborSwap : public Fix {
|
||||
|
||||
int nswaptypes;
|
||||
int jtype_selected;
|
||||
int id_center;
|
||||
tagint id_center;
|
||||
double x_center;
|
||||
double y_center;
|
||||
double z_center;
|
||||
|
||||
Reference in New Issue
Block a user