Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / mdlib / domdec_con.c
index 749b472473148d569b5cad013b733736e5745492..9152317c7c180d4edb837afe81e35af23ffb1e12 100644 (file)
@@ -44,7 +44,7 @@ typedef struct gmx_domdec_specat_comm {
     int  nreq[DIM][2][2];
     /* The atoms to send */
     gmx_specatsend_t spas[DIM][2];
-    bool *bSendAtom;
+    gmx_bool *bSendAtom;
     int   bSendAtom_nalloc;
     /* Send buffers */
     int  *ibuf;
@@ -82,7 +82,7 @@ static void dd_move_f_specat(gmx_domdec_t *dd,gmx_domdec_specat_comm_t *spac,
     int  n,n0,n1,d,dim,dir,i;
     ivec vis;
     int  is;
-    bool bPBC,bScrew;
+    gmx_bool bPBC,bScrew;
     
     n = spac->at_end;
     for(d=dd->ndim-1; d>=0; d--)
@@ -208,7 +208,7 @@ static void dd_move_x_specat(gmx_domdec_t *dd,gmx_domdec_specat_comm_t *spac,
     gmx_specatsend_t *spas;
     rvec *x,*vbuf,*rbuf;
     int  nvec,v,n,nn,ns0,ns1,nr0,nr1,nr,d,dim,dir,i;
-    bool bPBC,bScrew=FALSE;
+    gmx_bool bPBC,bScrew=FALSE;
     rvec shift={0,0,0};
     
     nvec = 1;
@@ -454,7 +454,7 @@ static int setup_specat_communication(gmx_domdec_t *dd,
     int  nsend[2],nlast,nsend_zero[2]={0,0},*nsend_ptr;
     int  d,dim,ndir,dir,nr,ns,i,nrecv_local,n0,start,ireq,ind,buf[2];
     int  nat_tot_specat,nat_tot_prev,nalloc_old;
-    bool bPBC,bFirst;
+    gmx_bool bPBC,bFirst;
     gmx_specatsend_t *spas;
     
     if (debug)
@@ -711,7 +711,7 @@ static int setup_specat_communication(gmx_domdec_t *dd,
 static void walk_out(int con,int con_offset,int a,int offset,int nrec,
                      int ncon1,const t_iatom *ia1,const t_iatom *ia2,
                      const t_blocka *at2con,
-                     const gmx_ga2la_t ga2la,bool bHomeConnect,
+                     const gmx_ga2la_t ga2la,gmx_bool bHomeConnect,
                      gmx_domdec_constraints_t *dc,
                      gmx_domdec_specat_comm_t *dcc,
                      t_ilist *il_local)