Fixed some memory leaks.
[gromacs/qmmm-gamess-us.git] / include / topsort.h
blobbeb88435b52871372765683cada2cdf9683a3301
1 #ifndef _topsort_h
2 #define _topsort_h
4 #ifdef HAVE_CONFIG_H
5 #include <config.h>
6 #endif
8 #include "typedefs.h"
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
15 /* Returns if the are bonded interactions for free energy calculations */
16 bool gmx_mtop_bondeds_free_energy(const gmx_mtop_t *mtop);
18 /* Sort all the bonded ilists in idef to have the perturbed ones at the end
19 * and set nr_nr_nonperturbed in ilist.
21 void gmx_sort_ilist_fe(t_idef *idef,const real *qA,const real *qB);
23 #ifdef __cplusplus
25 #endif
27 #endif