FILE *log_p,
const t_mdatoms &md_p,
const t_commrec *cr_p,
- const gmx_multisim_t &ms,
+ const gmx_multisim_t *ms,
t_nrnb *nrnb,
gmx_wallcycle *wcycle_p,
bool pbcHandlingRequired,
//! Communication support.
const t_commrec *cr = nullptr;
//! Multi-sim support.
- const gmx_multisim_t &ms;
+ const gmx_multisim_t *ms = nullptr;
/*!\brief Input options.
*
* \todo Replace with IMdpOptions */
FILE *log,
const t_mdatoms &md,
const t_commrec *cr,
- const gmx_multisim_t &ms,
+ const gmx_multisim_t *ms,
t_nrnb *nrnb,
gmx_wallcycle *wcycle,
bool pbcHandlingRequired,
FILE *log_p,
const t_mdatoms &md_p,
const t_commrec *cr_p,
- const gmx_multisim_t &ms_p,
+ const gmx_multisim_t *ms_p,
t_nrnb *nrnb_p,
gmx_wallcycle *wcycle_p,
bool pbcHandlingRequired,
FILE *log,
const t_mdatoms &md,
const t_commrec *cr,
- const gmx_multisim_t &ms,
+ const gmx_multisim_t *ms,
t_nrnb *nrnb,
gmx_wallcycle *wcycle,
bool pbcHandlingRequired,
int64_t step,
Lincs *lincsd, const t_mdatoms &md,
const t_commrec *cr,
- const gmx_multisim_t &ms,
+ const gmx_multisim_t *ms,
const rvec *x, rvec *xprime, rvec *min_proj,
matrix box, t_pbc *pbc,
real lambda, real *dvdlambda,
{
cconerr(lincsd, xprime, pbc,
&ncons_loc, &p_ssd, &p_max, &p_imax);
- if (isMultiSim(&ms))
+ if (isMultiSim(ms))
{
- sprintf(buf3, " in simulation %d", ms.sim);
+ sprintf(buf3, " in simulation %d", ms->sim);
}
else
{
int64_t step,
Lincs *lincsd, const t_mdatoms &md,
const t_commrec *cr,
- const gmx_multisim_t &ms,
+ const gmx_multisim_t *ms,
const rvec *x, rvec *xprime, rvec *min_proj,
matrix box, t_pbc *pbc,
real lambda, real *dvdlambda,
|| observablesHistory.edsamHistory);
auto constr = makeConstraints(mtop, *inputrec, doEssentialDynamics,
fplog, *mdAtoms->mdatoms(),
- cr, *ms, nrnb, wcycle, fr->bMolPBC);
+ cr, ms, nrnb, wcycle, fr->bMolPBC);
if (DOMAINDECOMP(cr))
{