whitespace fixes, silence compiler warning about too few format specifiers

This commit is contained in:
Axel Kohlmeyer
2017-09-25 16:31:39 -04:00
parent f2c1172741
commit 836a6d292c
2 changed files with 8 additions and 8 deletions

View File

@ -130,7 +130,7 @@ void Finish::end(int flag)
atom->natoms);
if (logfile) fprintf(logfile,fmt1,time_loop,ntasks,update->nsteps,
atom->natoms);
// Gromacs/NAMD-style performance metric for suitable unit settings
if ( timeflag && !minflag && !prdflag && !tadflag &&
@ -144,7 +144,7 @@ void Finish::end(int flag)
double one_fs = force->femtosecond;
double t_step = ((double) time_loop) / ((double) update->nsteps);
double step_t = 1.0/t_step;
if (strcmp(update->unit_style,"lj") == 0) {
double tau_day = 24.0*3600.0 / t_step * update->dt / one_fs;
const char perf[] = "Performance: %.3f tau/day, %.3f timesteps/s\n";
@ -161,7 +161,7 @@ void Finish::end(int flag)
}
// CPU use on MPI tasks and OpenMP threads
if (timeflag) {
if (lmp->kokkos) {
const char fmt2[] =