cglo_flags_iteration |= CGLO_STOPCM;
cglo_flags_iteration &= ~CGLO_TEMPERATURE;
}
- if (DOMAINDECOMP(cr) && shouldCheckNumberOfBondedInteractions(*cr->dd) && cgloIteration == 0)
+ if (DOMAINDECOMP(cr) && dd_localTopologyChecker(*cr->dd).shouldCheckNumberOfBondedInteractions()
+ && cgloIteration == 0)
{
cglo_flags_iteration |= CGLO_CHECK_NUMBER_OF_BONDED_INTERACTIONS;
}
}
if (DOMAINDECOMP(cr))
{
- checkNumberOfBondedInteractions(
- mdlog, cr, top_global, &top, makeConstArrayRef(state->x), state->box);
+ dd_localTopologyChecker(cr->dd)->checkNumberOfBondedInteractions(
+ &top, makeConstArrayRef(state->x), state->box);
}
if (ir->eI == IntegrationAlgorithm::VVAK)
{
* the full step kinetic energy and possibly for T-coupling.*/
/* This may not be quite working correctly yet . . . . */
int cglo_flags = CGLO_GSTAT | CGLO_TEMPERATURE;
- if (DOMAINDECOMP(cr) && shouldCheckNumberOfBondedInteractions(*cr->dd))
+ if (DOMAINDECOMP(cr) && dd_localTopologyChecker(*cr->dd).shouldCheckNumberOfBondedInteractions())
{
cglo_flags |= CGLO_CHECK_NUMBER_OF_BONDED_INTERACTIONS;
}
cglo_flags);
if (DOMAINDECOMP(cr))
{
- checkNumberOfBondedInteractions(
- mdlog, cr, top_global, &top, makeConstArrayRef(state->x), state->box);
+ dd_localTopologyChecker(cr->dd)->checkNumberOfBondedInteractions(
+ &top, makeConstArrayRef(state->x), state->box);
}
}
clear_mat(force_vir);
fcdata,
&MassQ,
&vcm,
- top_global,
top,
enerd,
ekind,
&nullSignaller,
trotter_seq,
nrnb,
- mdlog,
fplog,
wcycle);
if (vsite != nullptr && needVirtualVelocitiesThisStep)
| (!EI_VV(ir->eI) && bStopCM ? CGLO_STOPCM : 0)
| (!EI_VV(ir->eI) ? CGLO_TEMPERATURE : 0)
| (!EI_VV(ir->eI) ? CGLO_PRESSURE : 0) | CGLO_CONSTRAINT
- | (DOMAINDECOMP(cr) && shouldCheckNumberOfBondedInteractions(*cr->dd)
+ | (DOMAINDECOMP(cr) && dd_localTopologyChecker(*cr->dd).shouldCheckNumberOfBondedInteractions()
? CGLO_CHECK_NUMBER_OF_BONDED_INTERACTIONS
: 0));
if (DOMAINDECOMP(cr))
{
- checkNumberOfBondedInteractions(
- mdlog, cr, top_global, &top, makeConstArrayRef(state->x), state->box);
+ dd_localTopologyChecker(cr->dd)->checkNumberOfBondedInteractions(
+ &top, makeConstArrayRef(state->x), state->box);
}
if (!EI_VV(ir->eI) && bStopCM)
{