Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / include / gmx_ga2la.h
index 9e95642fa27c0f5e15067cd67e19940aaf13e1d2..9e385eed1e3301ac39dae515cf95c0589a46262a 100644 (file)
@@ -56,7 +56,7 @@ typedef struct {
 } gmx_lal_t;
 
 typedef struct gmx_ga2la {
-    bool      bAll;
+    gmx_bool      bAll;
     int       mod;
     int       nalloc;
     gmx_laa_t *laa;
@@ -256,7 +256,7 @@ static void ga2la_change_la(gmx_ga2la_t ga2la,int a_gl,int a_loc)
  * in which case it indicates that it is more than one cell away
  * in zone cell - #zones.
  */
-static bool ga2la_get(const gmx_ga2la_t ga2la,int a_gl,int *a_loc,int *cell)
+static gmx_bool ga2la_get(const gmx_ga2la_t ga2la,int a_gl,int *a_loc,int *cell)
 {
     int ind;
 
@@ -288,7 +288,7 @@ static bool ga2la_get(const gmx_ga2la_t ga2la,int a_gl,int *a_loc,int *cell)
 /* Returns if the global atom a_gl is a home atom.
  * Sets the local atom.
  */
-static bool ga2la_get_home(const gmx_ga2la_t ga2la,int a_gl,int *a_loc)
+static gmx_bool ga2la_get_home(const gmx_ga2la_t ga2la,int a_gl,int *a_loc)
 {
     int ind;
 
@@ -324,7 +324,7 @@ static bool ga2la_get_home(const gmx_ga2la_t ga2la,int a_gl,int *a_loc)
 
 /* Returns if the global atom a_gl is a home atom.
  */
-static bool ga2la_is_home(const gmx_ga2la_t ga2la,int a_gl)
+static gmx_bool ga2la_is_home(const gmx_ga2la_t ga2la,int a_gl)
 {
     int ind;