more output simplification with fmtlib, std::string, and utils::logmesg()

This commit is contained in:
Axel Kohlmeyer
2020-06-25 23:48:17 -04:00
parent 84ec2cc39b
commit f2a4d12f7e
4 changed files with 111 additions and 166 deletions

View File

@ -210,8 +210,8 @@ void Min::init()
void Min::setup(int flag)
{
if (comm->me == 0 && screen) {
fprintf(screen,"Setting up %s style minimization ...\n",
update->minimize_style);
fmt::print(screen,"Setting up {} style minimization ...\n",
update->minimize_style);
if (flag) {
fmt::print(screen," Unit style : {}\n", update->unit_style);
fmt::print(screen," Current step : {}\n", update->ntimestep);