gmx_bool bGStatEveryStep, bGStat, bCalcVir, bCalcEnerStep, bCalcEner;
gmx_bool bNS, bNStList, bSimAnn, bStopCM,
bFirstStep, bInitStep, bLastStep = FALSE,
- bBornRadii, bUsingEnsembleRestraints;
+ bUsingEnsembleRestraints;
gmx_bool bDoDHDL = FALSE, bDoFEP = FALSE, bDoExpanded = FALSE;
gmx_bool do_ene, do_log, do_verbose, bRerunWarnNoV = TRUE,
bForceUpdate = FALSE, bCPT;
step_rel = 0;
// TODO extract this to new multi-simulation module
- if (MASTER(cr) && MULTISIM(cr) && !useReplicaExchange)
+ if (MASTER(cr) && isMultiSim(cr->ms) && !useReplicaExchange)
{
if (!multisim_int_all_are_equal(cr->ms, ir->nsteps))
{
bLastStep = TRUE;
}
- /* Determine whether or not to update the Born radii if doing GB */
- bBornRadii = bFirstStep;
- if (ir->implicit_solvent && (step % ir->nstgbradii == 0))
- {
- bBornRadii = TRUE;
- }
-
/* do_log triggers energy and virial calculation. Because this leads
* to different code paths, forces can be different. Thus for exact
* continuation we should avoid extra log output.
constr, enerd, fcd,
state, &f, force_vir, mdatoms,
nrnb, wcycle, graph, groups,
- shellfc, fr, bBornRadii, t, mu_tot,
+ shellfc, fr, t, mu_tot,
vsite,
ddOpenBalanceRegion, ddCloseBalanceRegion);
}
state->box, state->x, &state->hist,
f, force_vir, mdatoms, enerd, fcd,
state->lambda, graph,
- fr, vsite, mu_tot, t, ed, bBornRadii,
+ fr, vsite, mu_tot, t, ed,
(bNS ? GMX_FORCE_NS : 0) | force_flags,
ddOpenBalanceRegion, ddCloseBalanceRegion);
}
state->fep_state = lamnew;
}
/* Print the remaining wall clock time for the run */
- if (MULTIMASTER(cr) &&
+ if (isMasterSimMasterRank(cr->ms, cr) &&
(do_verbose || gmx_got_usr_signal()) &&
!bPMETunePrinting)
{
eprAVER, mdebin, fcd, groups, &(ir->opts), ir->awh);
}
}
- // TODO Enable the next line when merging to master branch
- // done_ebin(mdebin->ebin);
+ done_ebin(mdebin->ebin);
done_mdoutf(outf);
if (bPMETune)