git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13631 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2015-07-17 15:04:19 +00:00
parent 0a4962be43
commit b35f4e52db
5 changed files with 22 additions and 5 deletions

View File

@ -182,8 +182,11 @@ void Min::init()
void Min::setup()
{
if (comm->me == 0 && screen) fprintf(screen,"Setting up minimization ...\n");
if (comm->me == 0 && screen) {
fprintf(screen,"Setting up %s style minimization ...\n",
update->minimize_style);
fprintf(screen," Unit style: %s\n", update->unit_style);
}
update->setupflag = 1;
// setup extra global dof due to fixes

View File

@ -255,7 +255,7 @@ void NeighList::print_attributes()
printf(" %d = copy\n",rq->copy);
printf(" %d = skip\n",rq->skip);
printf(" %d = otherlist\n",rq->otherlist);
printf(" %p = listskip\n",listskip);
printf(" %p = listskip\n",(void *)listskip);
printf("\n");
}

View File

@ -793,12 +793,15 @@ void Neighbor::init()
if (!same || every != old_every || delay != old_delay ||
old_check != dist_check || old_cutoff != cutneighmax) {
if (me == 0) {
const double cutghost = MAX(cutneighmax,comm->cutghostuser);
if (logfile) {
fprintf(logfile,"Neighbor list info ...\n");
fprintf(logfile," %d neighbor list requests\n",nrequest);
fprintf(logfile," update every %d steps, delay %d steps, check %s\n",
every,delay,dist_check ? "yes" : "no");
fprintf(logfile," master list distance cutoff = %g\n",cutneighmax);
fprintf(logfile," ghost atom cutoff = %g\n",cutghost);
}
if (screen) {
fprintf(screen,"Neighbor list info ...\n");
@ -806,6 +809,7 @@ void Neighbor::init()
fprintf(screen," update every %d steps, delay %d steps, check %s\n",
every,delay,dist_check ? "yes" : "no");
fprintf(screen," master list distance cutoff = %g\n",cutneighmax);
fprintf(screen," ghost atom cutoff = %g\n",cutghost);
}
}
}

View File

@ -323,7 +323,12 @@ void Respa::init()
void Respa::setup()
{
if (comm->me == 0 && screen) fprintf(screen,"Setting up run ...\n");
if (comm->me == 0 && screen) {
fprintf(screen,"Setting up r-RESPA run ...\n");
fprintf(screen," Unit style : %s\n", update->unit_style);
fprintf(screen," Current step : " BIGINT_FORMAT "\n", update->ntimestep);
fprintf(screen," OuterTime step: %g\n", update->dt);
}
update->setupflag = 1;

View File

@ -87,7 +87,12 @@ void Verlet::init()
void Verlet::setup()
{
if (comm->me == 0 && screen) fprintf(screen,"Setting up run ...\n");
if (comm->me == 0 && screen) {
fprintf(screen,"Setting up Verlet run ...\n");
fprintf(screen," Unit style : %s\n", update->unit_style);
fprintf(screen," Current step: " BIGINT_FORMAT "\n", update->ntimestep);
fprintf(screen," Time step : %g\n", update->dt);
}
update->setupflag = 1;