more detailed log message with replicate
This commit is contained in:
@ -47,8 +47,6 @@ void Replicate::command(int narg, char **arg)
|
||||
int me = comm->me;
|
||||
int nprocs = comm->nprocs;
|
||||
|
||||
if (me == 0) utils::logmesg(lmp,"Replicating atoms ...\n");
|
||||
|
||||
// nrep = total # of replications
|
||||
|
||||
int nx = utils::inumeric(FLERR,arg[0],false,lmp);
|
||||
@ -56,6 +54,9 @@ void Replicate::command(int narg, char **arg)
|
||||
int nz = utils::inumeric(FLERR,arg[2],false,lmp);
|
||||
int nrep = nx*ny*nz;
|
||||
|
||||
if (me == 0)
|
||||
utils::logmesg(lmp,"Replicating atoms for a {}x{}x{} = {} times size system...\n", nx, ny, nz, nrep);
|
||||
|
||||
int bbox_flag = 0;
|
||||
if (narg == 4)
|
||||
if (strcmp(arg[3],"bbox") == 0) bbox_flag = 1;
|
||||
|
||||
Reference in New Issue
Block a user