if (DOMAINDECOMP(cr))
{
- dd_init_local_state(cr->dd, state_global, &ems->s);
+ dd_init_local_state(*cr->dd, state_global, &ems->s);
/* Distribute the charge groups over the nodes from the master node */
dd_partition_system(fplog,
nrnb,
nullptr,
FALSE);
- dd_store_state(cr->dd, &ems->s);
+ dd_store_state(*cr->dd, &ems->s);
}
else
{
nrnb,
wcycle,
FALSE);
- dd_store_state(cr->dd, &ems->s);
+ dd_store_state(*cr->dd, &ems->s);
}
namespace