cannot determine communication without a box

This commit is contained in:
Axel Kohlmeyer
2020-10-26 18:49:30 -04:00
parent 656b7eac8b
commit f70775bd52

View File

@ -348,6 +348,7 @@ void Info::command(int narg, char **arg)
commstyles[comm->style], commlayout[comm->layout],
comm->ghost_velocity ? "yes" : "no");
if (domain->box_exist) {
if (comm->mode == 0)
fmt::print(out,"Communication mode = single\n"
"Communication cutoff = {}\n",
@ -362,6 +363,7 @@ void Info::command(int narg, char **arg)
fmt::print(out,"Communication cutoff for type {} = {:.8}\n", i, cut);
}
}
}
fmt::print(out,"Nprocs = {}, Nthreads = {}\n",comm->nprocs,comm->nthreads);
if (domain->box_exist)
fmt::print(out,"Processor grid = {} x {} x {}\n",comm->procgrid[0],