nr_in_cg, maxcg);
}
- ngid = mtop->groups.grps[egcENER].nr;
+ ngid = mtop->groups.groups[SimulationAtomGroupType::EnergyOutput].nr;
snew(ns->bExcludeAlleg, ngid);
for (i = 0; i < ngid; i++)
{
sfree(ns);
}
-int search_neighbours(FILE *log,
- t_forcerec *fr,
- matrix box,
- gmx_localtop_t *top,
- const gmx_groups_t *groups,
- const t_commrec *cr,
- t_nrnb *nrnb,
- const t_mdatoms *md,
- gmx_bool bFillGrid)
+int search_neighbours(FILE *log,
+ t_forcerec *fr,
+ matrix box,
+ gmx_localtop_t *top,
+ const SimulationGroups *groups,
+ const t_commrec *cr,
+ t_nrnb *nrnb,
+ const t_mdatoms *md,
+ gmx_bool bFillGrid)
{
const t_block *cgs = &(top->cgs);
rvec box_size, grid_x0, grid_x1;
/* Set some local variables */
bGrid = fr->bGrid;
- ngid = groups->grps[egcENER].nr;
+ ngid = groups->groups[SimulationAtomGroupType::EnergyOutput].nr;
for (m = 0; (m < DIM); m++)
{