Merge branch 'release-4-6'
[alexxy/gromacs.git] / src / gromacs / legacyheaders / constr.h
index 92d4cb520ca119f60d6606a7a7d01aabfdd66c39..a45b58d25f2a922a4edd6e23b541685b1855b724 100644 (file)
@@ -252,6 +252,15 @@ gmx_bool constrain_lincs(FILE *log,gmx_bool bLog,gmx_bool bEner,
                            int maxwarn,int *warncount);
 /* Returns if the constraining succeeded */
 
+
+/* helper functions for andersen temperature control, because the
+ * gmx_constr construct is only defined in constr.c. Return the list
+ * of blocks (get_sblock) and the number of blocks (get_nblocks).  */
+
+int *get_sblock(struct gmx_constr *constr);
+
+int get_nblocks(struct gmx_constr *constr);
+
 #ifdef __cplusplus
 }
 #endif