id_center should be of type tagint

This commit is contained in:
Axel Kohlmeyer
2025-07-11 06:33:46 -04:00
parent bc3c85b6a4
commit 491f5d96b8
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;