Remove some include order dependencies
[alexxy/gromacs.git] / src / gromacs / legacyheaders / types / fcdata.h
index 2c9d605e27ac45a5b109f70c74fad956316b11d0..9188a3bb6ea74a6e4ef616e04f761dc1c62543b3 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, 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.
@@ -41,6 +41,8 @@
 extern "C" {
 #endif
 
+#include "gromacs/math/vectypes.h"
+
 typedef real rvec5[5];
 
 /* Distance restraining stuff */
@@ -98,6 +100,12 @@ typedef struct {
     double **v;
 } t_oriresdata;
 
+typedef struct {
+    int   n;      /* n+1 is the number of points */
+    real  scale;  /* distance between two points */
+    real *data;   /* the actual table data, per point there are 4 numbers */
+} bondedtable_t;
+
 /*
  * Data struct used in the force calculation routines
  * for storing the tables for bonded interactions and