repl_ex_nst, repl_ex_nex, repl_ex_seed);
}
- /* PME tuning is only supported with GPUs or PME nodes and not with rerun or LJ-PME.
- * With perturbed charges with soft-core we should not change the cut-off.
- */
+ /* PME tuning is only supported with GPUs or PME nodes and not with rerun or LJ-PME. */
if ((Flags & MD_TUNEPME) &&
EEL_PME(fr->eeltype) &&
( (fr->cutoff_scheme == ecutsVERLET && fr->nbv->bUseGPU) || !(cr->duty & DUTY_PME)) &&
- !(ir->efep != efepNO && mdatoms->nChargePerturbed > 0 && ir->fepvals->bScCoul) &&
!bRerunMD && !EVDW_PME(fr->vdwtype))
{
pme_loadbal_init(&pme_loadbal, ir, state->box, fr->ic, fr->pmedata);