}
gmx_shellfc_t init_shell_flexcon(FILE *fplog,
+ gmx_bool bCutoffSchemeIsVerlet,
gmx_mtop_t *mtop, int nflexcon,
rvec *x)
{
if (nshell == 0 && nflexcon == 0)
{
+ /* We're not doing shells or flexible constraints */
return NULL;
}
+ if (bCutoffSchemeIsVerlet)
+ {
+ gmx_fatal(FARGS, "The shell code does not work with the Verlet cut-off scheme.\n");
+ }
+
snew(shfc, 1);
shfc->nflexcon = nflexcon;