refactor communication cutoff estimator. move it to Comm class. and adjust heuristics.

This commit is contained in:
Axel Kohlmeyer
2019-07-24 17:27:35 -04:00
parent 1d310ad73e
commit c098582df8
6 changed files with 42 additions and 35 deletions

View File

@ -366,7 +366,7 @@ void Info::command(int narg, char **arg)
if (comm->mode == 0) {
fprintf(out,"Communication mode = single\n");
fprintf(out,"Communication cutoff = %g\n",
MAX(comm->cutghostuser,neighbor->cutneighmax));
comm->get_comm_cutoff());
}
if (comm->mode == 1) {