*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
t_ilist *ilist_mol;
gmx_mtop_atomlookup_t alook;
+ if (ir->cutoff_scheme != ecutsGROUP)
+ {
+ gmx_fatal(FARGS, "QMMM is currently only supported with cutoff-scheme=group");
+ }
+ if (!EI_DYNAMICS(ir->eI))
+ {
+ gmx_fatal(FARGS, "QMMM is only supported with dynamics");
+ }
+
c6au = (HARTREE2KJ*AVOGADRO*gmx::power6(BOHR2NM));
c12au = (HARTREE2KJ*AVOGADRO*gmx::power12(BOHR2NM));
/* issue a fatal if the user wants to run with more than one node */