rendevous comm option for special bonds and fix rigid/small

This commit is contained in:
Steve Plimpton
2018-11-30 11:54:48 -07:00
committed by Axel Kohlmeyer
parent 2f20581b29
commit 9912c44413
13 changed files with 1249 additions and 875 deletions

View File

@ -76,7 +76,7 @@ void Replicate::command(int narg, char **arg)
if (atom->nextra_grow || atom->nextra_restart || atom->nextra_store)
error->all(FLERR,"Cannot replicate with fixes that store atom quantities");
// Record wall time for atom replication
// record wall time for atom replication
MPI_Barrier(world);
double time1 = MPI_Wtime();
@ -762,15 +762,15 @@ void Replicate::command(int narg, char **arg)
special.build();
}
// Wall time
// total time
MPI_Barrier(world);
double time2 = MPI_Wtime();
if (me == 0) {
if (screen)
fprintf(screen," Time spent = %g secs\n",time2-time1);
fprintf(screen," replicate CPU = %g secs\n",time2-time1);
if (logfile)
fprintf(logfile," Time spent = %g secs\n",time2-time1);
fprintf(logfile," replicate CPU = %g secs\n",time2-time1);
}
}