Fixed segv in make_edi when no reference structure given
[gromacs/adressmacs.git] / include / topsort.h
blob8551bc91ddb432a81f6a1ad3b94076ad7d65d928
1 #ifndef _topsort_h
2 #define _topsort_h
4 #ifdef HAVE_CONFIG_H
5 #include <config.h>
6 #endif
8 #ifdef CPLUSPLUS
9 extern "C" {
10 #endif
12 #include "typedefs.h"
14 /* Returns if the are bonded interactions for free energy calculations */
15 extern bool gmx_mtop_bondeds_free_energy(gmx_mtop_t *mtop);
17 /* Sort all the bonded ilists in idef to have the perturbed ones at the end
18 * and set nr_nr_nonperturbed in ilist.
20 extern void gmx_sort_ilist_fe(t_idef *idef);
22 #ifdef CPLUSPLUS
24 #endif
26 #endif