{
c = 0;
}
- real det = (1 + c*c)*comm->cutoff*comm->cutoff - dist_d*dist_d;
+ real det = (1 + c*c)*gmx::square(comm->systemInfo.cutoff) - dist_d*dist_d;
if (det > 0)
{
- dh[d1] = comm->cutoff - (c*dist_d + std::sqrt(det))/(1 + c*c);
+ dh[d1] = comm->systemInfo.cutoff - (c*dist_d + std::sqrt(det))/(1 + c*c);
}
else
{
dd_move_cellx(dd, ddbox, cell_ns_x0, cell_ns_x1);
if (isDlbOn(dd->comm) && dd->ndim > 1)
{
- check_grid_jump(step, dd, dd->comm->cutoff, ddbox, TRUE);
+ check_grid_jump(step, dd, dd->comm->systemInfo.cutoff, ddbox, TRUE);
}
}
}
bBondComm = comm->bBondComm;
/* Do we need to determine extra distances for multi-body bondeds? */
- bDistMB = (comm->haveInterDomainMultiBodyBondeds && isDlbOn(dd->comm) && dd->ndim > 1);
+ bDistMB = (comm->systemInfo.haveInterDomainMultiBodyBondeds && isDlbOn(dd->comm) && dd->ndim > 1);
/* Do we need to determine extra distances for only two-body bondeds? */
bDist2B = (bBondComm && !bDistMB);
- const real r_comm2 = gmx::square(domainToDomainIntoAtomToDomainCutoff(*comm, comm->cutoff));
+ const real r_comm2 = gmx::square(domainToDomainIntoAtomToDomainCutoff(*comm, comm->systemInfo.cutoff));
const real r_bcomm2 = gmx::square(domainToDomainIntoAtomToDomainCutoff(*comm, comm->cutoff_mbody));
if (debug)
zones = &comm->zones;
/* Do we need to determine extra distances for multi-body bondeds? */
- bDistMB = (comm->haveInterDomainMultiBodyBondeds && isDlbOn(dd->comm) && dd->ndim > 1);
+ bDistMB = (comm->systemInfo.haveInterDomainMultiBodyBondeds &&
+ isDlbOn(dd->comm) &&
+ dd->ndim > 1);
for (z = zone_start; z < zone_end; z++)
{
}
}
- rcs = comm->cutoff;
+ rcs = comm->systemInfo.cutoff;
rcmbs = comm->cutoff_mbody;
if (ddbox->tric_dir[dim])
{