Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / kernel / mdrun.c
index fcb679e97440e0af747a1df2a15f13654b43357c..a610c5c88ce961e203416b497a3f55a2ff0fd972 100644 (file)
@@ -376,18 +376,18 @@ int main(int argc,char *argv[])
 #define NFILE asize(fnm)
 
   /* Command line options ! */
-  bool bCart        = FALSE;
-  bool bPPPME       = FALSE;
-  bool bPartDec     = FALSE;
-  bool bDDBondCheck = TRUE;
-  bool bDDBondComm  = TRUE;
-  bool bVerbose     = FALSE;
-  bool bCompact     = TRUE;
-  bool bSepPot      = FALSE;
-  bool bRerunVSite  = FALSE;
-  bool bIonize      = FALSE;
-  bool bConfout     = TRUE;
-  bool bReproducible = FALSE;
+  gmx_bool bCart        = FALSE;
+  gmx_bool bPPPME       = FALSE;
+  gmx_bool bPartDec     = FALSE;
+  gmx_bool bDDBondCheck = TRUE;
+  gmx_bool bDDBondComm  = TRUE;
+  gmx_bool bVerbose     = FALSE;
+  gmx_bool bCompact     = TRUE;
+  gmx_bool bSepPot      = FALSE;
+  gmx_bool bRerunVSite  = FALSE;
+  gmx_bool bIonize      = FALSE;
+  gmx_bool bConfout     = TRUE;
+  gmx_bool bReproducible = FALSE;
     
   int  npme=-1;
   int  nmultisim=0;
@@ -406,9 +406,9 @@ int main(int argc,char *argv[])
   real rdd=0.0,rconstr=0.0,dlb_scale=0.8,pforce=-1;
   char *ddcsx=NULL,*ddcsy=NULL,*ddcsz=NULL;
   real cpt_period=15.0,max_hours=-1;
-  bool bAppendFiles=TRUE;
-  bool bKeepAndNumCPT=FALSE;
-  bool bResetCountersHalfWay=FALSE;
+  gmx_bool bAppendFiles=TRUE;
+  gmx_bool bKeepAndNumCPT=FALSE;
+  gmx_bool bResetCountersHalfWay=FALSE;
   output_env_t oenv=NULL;
   const char *deviceOptions = "";
 
@@ -492,7 +492,7 @@ int main(int argc,char *argv[])
   unsigned long Flags, PCA_Flags;
   ivec     ddxyz;
   int      dd_node_order;
-  bool     bAddPart;
+  gmx_bool     bAddPart;
   FILE     *fplog,*fptest;
   int      sim_part,sim_part_fn;
   const char *part_suffix=".part";