Move types/idef.h to topology/
[alexxy/gromacs.git] / src / gromacs / pbcutil / mshift.h
index b7479f5ca0a1cba0d3b6cae88db5308f473dbf7e..3c8783663da8ea09b5cf4330862bb1453112626f 100644 (file)
@@ -40,7 +40,6 @@
 #include <stdio.h>
 
 #include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/legacyheaders/types/idef.h"
 #include "gromacs/math/vectypes.h"
 #include "gromacs/utility/basedefinitions.h"
 
@@ -48,6 +47,9 @@
 extern "C" {
 #endif
 
+struct t_idef;
+struct t_ilist;
+
 typedef enum {
     egcolWhite, egcolGrey, egcolBlack, egcolNR
 } egCol;
@@ -70,7 +72,7 @@ typedef struct t_graph {
 #define SHIFT_IVEC(g, i) ((g)->ishift[i])
 
 t_graph *mk_graph(FILE *fplog,
-                  t_idef *idef, int at_start, int at_end,
+                  struct t_idef *idef, int at_start, int at_end,
                   gmx_bool bShakeOnly, gmx_bool bSettle);
 /* Build a graph from an idef description. The graph can be used
  * to generate mol-shift indices.
@@ -81,7 +83,7 @@ t_graph *mk_graph(FILE *fplog,
  */
 
 void mk_graph_ilist(FILE *fplog,
-                    t_ilist *ilist, int at_start, int at_end,
+                    struct t_ilist *ilist, int at_start, int at_end,
                     gmx_bool bShakeOnly, gmx_bool bSettle,
                     t_graph *g);
 /* As mk_graph, but takes t_ilist iso t_idef and does not allocate g */