add neighbor list kind output to screen

This commit is contained in:
Steve Plimpton
2017-01-20 13:24:09 -07:00
parent aa0ad9b483
commit caea8973a3
4 changed files with 25 additions and 9 deletions

View File

@ -1102,6 +1102,7 @@ void Neighbor::print_pairwise_info()
{
int i,m;
char str[128];
const char *kind;
FILE *out;
const double cutghost = MAX(cutneighmax,comm->cutghostuser);
@ -1160,8 +1161,16 @@ void Neighbor::print_pairwise_info()
}
fprintf(out,"%s",str);
if (requests[i]->occasional) fprintf(out,", occasional");
else fprintf(out,", perpetual");
if (requests[i]->half) kind = "half";
else if (requests[i]->full) kind = "full";
else if (requests[i]->gran) kind = "size";
else if (requests[i]->granhistory) kind = "size/history";
else if (requests[i]->respainner) kind = "respa/inner";
else if (requests[i]->respamiddle) kind = "respa/middle";
else if (requests[i]->respaouter) kind = "respa/outer";
else if (requests[i]->half_from_full) kind = "half/from/full";
if (requests[i]->occasional) fprintf(out,", %s, occasional",kind);
else fprintf(out,", %s, perpetual",kind);
if (requests[i]->ghost) fprintf(out,", ghost");
if (requests[i]->ssa) fprintf(out,", ssa");
if (requests[i]->omp) fprintf(out,", omp");