Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / gmxlib / mshift.c
index b650767b75d63c5358b2ede7ee599a204689338e..5bb304f1945e2ac2a0924de6b79dfc2c1a37f465 100644 (file)
@@ -64,7 +64,7 @@ static void add_gbond(t_graph *g,atom_id a0,atom_id a1)
 {
   int     i;
   atom_id inda0,inda1;
-  bool    bFound;
+  gmx_bool    bFound;
 
   inda0 = a0 - g->start;
   inda1 = a1 - g->start;
@@ -269,12 +269,12 @@ static void compact_graph(FILE *fplog,t_graph *g)
   }
 }
 
-static bool determine_graph_parts(t_graph *g,int *part)
+static gmx_bool determine_graph_parts(t_graph *g,int *part)
 {
   int  i,e;
   int  nchanged;
   atom_id at_i,*at_i2;
-  bool bMultiPart;
+  gmx_bool bMultiPart;
 
   /* Initialize the part array with all entries different */
   for(at_i=g->start; at_i<g->end; at_i++) {
@@ -313,12 +313,12 @@ static bool determine_graph_parts(t_graph *g,int *part)
 
 void mk_graph_ilist(FILE *fplog,
                    t_ilist *ilist,int at_start,int at_end,
-                   bool bShakeOnly,bool bSettle,
+                   gmx_bool bShakeOnly,gmx_bool bSettle,
                    t_graph *g)
 {
   int     *nbond;
   int     i,nbtot;
-  bool    bMultiPart;
+  gmx_bool    bMultiPart;
 
   snew(nbond,at_end);
   nbtot = calc_start_end(fplog,g,ilist,at_start,at_end,nbond);
@@ -389,7 +389,7 @@ void mk_graph_ilist(FILE *fplog,
 
 t_graph *mk_graph(FILE *fplog,
                  t_idef *idef,int at_start,int at_end,
-                 bool bShakeOnly,bool bSettle)
+                 gmx_bool bShakeOnly,gmx_bool bSettle)
 {
   t_graph *g;
 
@@ -514,7 +514,7 @@ static int mk_grey(FILE *log,int nnodes,egCol egc[],t_graph *g,int *AtomI,
 {
   int      m,j,ng,ai,aj,g0;
   rvec     dx,hbox;
-  bool     bTriclinic;
+  gmx_bool     bTriclinic;
   ivec     is_aj;
   t_pbc    pbc;