Merge branch 'collected-small-changes' into refactor-reaxff-parser
This commit is contained in:
@ -1193,7 +1193,7 @@ void FixWallGran::granular(double rsq, double dx, double dy, double dz,
|
||||
knfac = E; //Hooke
|
||||
a = sqrt(dR);
|
||||
Fne = knfac*delta;
|
||||
if (normal_model != HOOKE) {
|
||||
if (normal_model != NORMAL_HOOKE) {
|
||||
Fne *= a;
|
||||
knfac *= a;
|
||||
}
|
||||
|
||||
@ -596,10 +596,13 @@ void CreateAtoms::command(int narg, char **arg)
|
||||
// print status
|
||||
|
||||
MPI_Barrier(world);
|
||||
if (me == 0)
|
||||
utils::logmesg(lmp,"Created {} atoms\n"
|
||||
" create_atoms CPU = {:.3f} seconds\n",
|
||||
atom->natoms - natoms_previous, MPI_Wtime() - time1);
|
||||
if (me == 0) {
|
||||
utils::logmesg(lmp,"Created {} atoms\n", atom->natoms - natoms_previous);
|
||||
if (scaleflag) domain->print_box(" using lattice units in ");
|
||||
else domain->print_box(" using box units in ");
|
||||
utils::logmesg(lmp," create_atoms CPU = {:.3f} seconds\n",
|
||||
MPI_Wtime() - time1);
|
||||
}
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user