Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / gmxlib / disre.c
index 705167ce6fdd5edac97f1e4cf71f6c0d381e7bd0..e39eb1586fc1d9e887fe6ff63a37f51405728f66 100644 (file)
@@ -54,7 +54,7 @@
 #include "mtop_util.h"
 
 void init_disres(FILE *fplog,const gmx_mtop_t *mtop,
-                 t_inputrec *ir,const t_commrec *cr,bool bPartDecomp,
+                 t_inputrec *ir,const t_commrec *cr,gmx_bool bPartDecomp,
                  t_fcdata *fcd,t_state *state)
 {
     int          fa,nmol,i,npair,np;
@@ -249,7 +249,7 @@ void calc_disres_R_6(const gmx_multisim_t *ms,
     ivec        it,jt,dt;
     t_disresdata *dd;
     real        ETerm,ETerm1,cf1=0,cf2=0,invn=0;
-    bool        bTav;
+    gmx_bool        bTav;
 
     dd = &(fcd->disres);
     bTav         = (dd->dr_tau != 0);
@@ -368,11 +368,11 @@ real ta_disres(int nfa,const t_iatom forceatoms[],const t_iparams ip[],
     real        tav_viol,instant_viol,mixed_viol,violtot,vtot;
     real        tav_viol_Rtav7,instant_viol_Rtav7;
     real        up1,up2,low;
-    bool        bConservative,bMixed,bViolation;
+    gmx_bool        bConservative,bMixed,bViolation;
     ivec        it,jt,dt;
     t_disresdata *dd;
     int         dr_weighting;
-    bool        dr_bMixed;
+    gmx_bool        dr_bMixed;
     
     dd = &(fcd->disres);
     dr_weighting = dd->dr_weighting;