update output formatting

This commit is contained in:
Axel Kohlmeyer
2020-07-12 16:33:47 -04:00
parent 38d9c0bedf
commit ed1bdb8ed4

View File

@ -345,10 +345,10 @@ void Replicate::command(int narg, char **arg)
MPI_Allreduce(&n, &size_buf_all, 1, MPI_INT, MPI_SUM, world); MPI_Allreduce(&n, &size_buf_all, 1, MPI_INT, MPI_SUM, world);
if (me == 0 && screen) { if (me == 0 && screen) {
fprintf(screen," bounding box image = (%i %i %i) to (%i %i %i)\n", fmt::print(screen," bounding box image = ({} {} {}) to ({} {} {})\n",
_imagelo[0],_imagelo[1],_imagelo[2], _imagelo[0],_imagelo[1],_imagelo[2],
_imagehi[0],_imagehi[1],_imagehi[2]); _imagehi[0],_imagehi[1],_imagehi[2]);
fprintf(screen," bounding box extra memory = %.2f MB\n", fmt::print(screen," bounding box extra memory = {:.2f} MB\n",
(double)size_buf_all*sizeof(double)/1024/1024); (double)size_buf_all*sizeof(double)/1024/1024);
} }