Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / include / types / commrec.h
index b20eb635b976278f300694b0f1520c1a513d0d83..6a07aeffa43f2ba0ec2bf57b9be5b7abf82d7528 100644 (file)
@@ -131,7 +131,7 @@ typedef struct {
   int  nnodes;
   MPI_Comm mpi_comm_all;
   /* Use MPI_Sendrecv communication instead of non-blocking calls */
-  bool bSendRecv2;
+  gmx_bool bSendRecv2;
   /* The local DD cell index and rank */
   ivec ci;
   int  rank;
@@ -139,7 +139,7 @@ typedef struct {
   int  masterrank;
   /* Communication with the PME only nodes */
   int  pme_nodeid;
-  bool pme_receive_vir_ener;
+  gmx_bool pme_receive_vir_ener;
   gmx_pme_comm_n_box_p_t cnb;
   int  nreq_pme;
   MPI_Request req_pme[4];
@@ -149,13 +149,13 @@ typedef struct {
   ivec nc;
   int  ndim;
   ivec dim;  /* indexed by 0 to ndim */
-  bool bGridJump;
+  gmx_bool bGridJump;
 
   /* PBC from dim 0 to npbcdim */
   int npbcdim;
 
   /* Screw PBC? */
-  bool bScrewPBC;
+  gmx_bool bScrewPBC;
 
   /* Forward and backward neighboring cells, indexed by 0 to ndim */
   int  neighbor[DIM][2];
@@ -164,7 +164,7 @@ typedef struct {
   gmx_domdec_master_p_t ma;
 
   /* Are there inter charge group constraints */
-  bool bInterCGcons;
+  gmx_bool bInterCGcons;
 
   /* Global atom number to interaction list */
   gmx_reverse_top_p_t reverse_top;