}
/* this one is mostly harmless... */
-static bool bWarnedGuess=FALSE;
+static gmx_bool bWarnedGuess=FALSE;
int guess_ePBC(matrix box)
{
return shift;
}
-bool correct_box(FILE *fplog,int step,tensor box,t_graph *graph)
+gmx_bool correct_box(FILE *fplog,int step,tensor box,t_graph *graph)
{
int zy,zx,yx,i;
- bool bCorrected;
+ gmx_bool bCorrected;
/* check if the box still obeys the restrictions, if not, correct it */
zy = correct_box_elem(fplog,step,box,ZZ,YY);
ivec bPBC;
real d2old,d2new,d2new_c;
rvec trial,pos;
- bool bXY,bUse;
+ gmx_bool bXY,bUse;
const char *ptr;
pbc->ndim_ePBC = ePBC2npbcdim(ePBC);
}
t_pbc *set_pbc_dd(t_pbc *pbc,int ePBC,
- gmx_domdec_t *dd,bool bSingleDir,matrix box)
+ gmx_domdec_t *dd,gmx_bool bSingleDir,matrix box)
{
ivec nc2;
int npbcdim,i;
int i,j;
rvec dx_start,trial;
real d2min,d2trial;
- bool bRot;
+ gmx_bool bRot;
rvec_sub(x1,x2,dx);
int i,j;
dvec dx_start,trial;
double d2min,d2trial;
- bool bRot;
+ gmx_bool bRot;
dvec_sub(x1,x2,dx);
}
}
-bool image_rect(ivec xi,ivec xj,ivec box_size,real rlong2,int *shift,real *r2)
+gmx_bool image_rect(ivec xi,ivec xj,ivec box_size,real rlong2,int *shift,real *r2)
{
int m,t;
int dx,b,b_2;
return TRUE;
}
-bool image_cylindric(ivec xi,ivec xj,ivec box_size,real rlong2,
+gmx_bool image_cylindric(ivec xi,ivec xj,ivec box_size,real rlong2,
int *shift,real *r2)
{
int m,t;
4,17, 5,11, 6,23, 7,13,
8,20, 10,18, 12,16, 14,22 };
int e,i,j;
- bool bFirst = TRUE;
+ gmx_bool bFirst = TRUE;
snew(edge,NCUCEDGE*2);