update load balancing output to use utils::logmesg() and {fmt}

This commit is contained in:
Axel Kohlmeyer
2020-06-03 21:21:58 -04:00
parent 9e8ce240a0
commit c0fb794848
13 changed files with 67 additions and 88 deletions

View File

@ -15,6 +15,7 @@
#include <cstring>
#include "atom.h"
#include "error.h"
#include "fmt/format.h"
using namespace LAMMPS_NS;
@ -62,7 +63,7 @@ void ImbalanceStore::compute(double *weight)
/* -------------------------------------------------------------------- */
void ImbalanceStore::info(FILE *fp)
std::string ImbalanceStore::info()
{
fprintf(fp," storing weight in atom property d_%s\n",name);
return fmt::format(" storing weight in atom property d_{}\n",name);
}