In the spirit of version 5.0, the recent Verlet scheme fix for shells,
commit
debd482d, removed the support for PD. Now it's back.
Refs #1429.
Change-Id: I686d4287ec8946e418aa98e739a1a81a0b7f7055
}
else
{
- cg0 = 0;
- cg1 = top->cgs.nr;
+ if (PARTDECOMP(cr))
+ {
+ pd_cg_range(cr, &cg0, &cg1);
+ }
+ else
+ {
+ cg0 = 0;
+ cg1 = top->cgs.nr;
+ }
put_charge_groups_in_box(fplog, cg0, cg1, fr->ePBC, state->box,
&(top->cgs), state->x, fr->cg_cm);
}