update load balancing output to use utils::logmesg() and {fmt}
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user