sprintf(err_buf,"pressure coupling with PPPM not implemented, use PME");
CHECK(ir->coulombtype == eelPPPM);
- if (epcPARRINELLORAHMAN == ir->epct && opts->bGenVel)
+ if (epcPARRINELLORAHMAN == ir->epc && opts->bGenVel)
{
sprintf(warn_buf,
"You are generating velocities so I am assuming you "
"are equilibrating a system. You are using "
- "Parrinello-Rahman pressure coupling, but this can be "
+ "%s pressure coupling, but this can be "
"unstable for equilibration. If your system crashes, try "
"equilibrating first with Berendsen pressure coupling. If "
"you are not equilibrating the system, you can probably "
- "ignore this warning.");
+ "ignore this warning.",
+ epcoupl_names[ir->epc]);
warning(wi,warn_buf);
}
}