get rid of BIGINT_FORMAT and use utils::logmesg()

This commit is contained in:
Axel Kohlmeyer
2020-06-05 07:32:09 -04:00
parent 8ed32f95b3
commit 73c6171ad6
3 changed files with 60 additions and 144 deletions

View File

@ -45,6 +45,7 @@
#include "math_const.h"
#include "memory.h"
#include "error.h"
#include "fmt/format.h"
using namespace LAMMPS_NS;
using namespace MathConst;
@ -212,9 +213,8 @@ void Min::setup(int flag)
fprintf(screen,"Setting up %s style minimization ...\n",
update->minimize_style);
if (flag) {
fprintf(screen," Unit style : %s\n", update->unit_style);
fprintf(screen," Current step : " BIGINT_FORMAT "\n",
update->ntimestep);
fmt::print(screen," Unit style : {}\n", update->unit_style);
fmt::print(screen," Current step : {}\n", update->ntimestep);
timer->print_timeout(screen);
}
}