*ir, *top_global, stateGpu->getUpdateStream(), stateGpu->xUpdatedOnDevice());
t_pbc pbc;
- set_pbc(&pbc, epbcXYZ, state->box);
+ set_pbc(&pbc, PbcType::Xyz, state->box);
integrator->setPbc(&pbc);
}
{
/* Construct the virtual sites for the initial configuration */
construct_vsites(vsite, state->x.rvec_array(), ir->delta_t, nullptr, top.idef.iparams,
- top.idef.il, fr->ePBC, fr->bMolPBC, cr, state->box);
+ top.idef.il, fr->pbcType, fr->bMolPBC, cr, state->box);
}
}
if (useGpuForUpdate)
{
t_pbc pbc;
- set_pbc(&pbc, epbcXYZ, state->box);
+ set_pbc(&pbc, PbcType::Xyz, state->box);
integrator->setPbc(&pbc);
}
}
shift_self(graph, state->box, state->x.rvec_array());
}
construct_vsites(vsite, state->x.rvec_array(), ir->delta_t, state->v.rvec_array(),
- top.idef.iparams, top.idef.il, fr->ePBC, fr->bMolPBC, cr, state->box);
+ top.idef.iparams, top.idef.il, fr->pbcType, fr->bMolPBC, cr, state->box);
if (graph != nullptr)
{
{
integrator->scaleCoordinates(pressureCouplingMu);
t_pbc pbc;
- set_pbc(&pbc, epbcXYZ, state->box);
+ set_pbc(&pbc, PbcType::Xyz, state->box);
integrator->setPbc(&pbc);
}