return -1;
}
-static bool hbond(rvec x[],int i,int j,real distance)
+static gmx_bool hbond(rvec x[],int i,int j,real distance)
{
real tol = distance*distance;
rvec tmp;
}
static void chk_allhb(t_atoms *pdba,rvec x[],t_blocka *hb,
- bool donor[],bool accept[],real dist)
+ gmx_bool donor[],gmx_bool accept[],real dist)
{
int i,j,k,ii,natom;
}
}
-static bool chk_hbonds(int i,t_atoms *pdba, rvec x[],
- bool ad[],bool hbond[],rvec xh,
+static gmx_bool chk_hbonds(int i,t_atoms *pdba, rvec x[],
+ gmx_bool ad[],gmx_bool hbond[],rvec xh,
real angle,real dist)
{
- bool bHB;
+ gmx_bool bHB;
int j,aj,ri,natom;
real d2,dist2,a;
rvec nh,oh;
};
#define NPD asize(prot_don)
- bool *donor,*acceptor;
- bool *hbond,bHaveH=FALSE;
- bool bHDd,bHEd;
+ gmx_bool *donor,*acceptor;
+ gmx_bool *hbond,bHaveH=FALSE;
+ gmx_bool bHDd,bHEd;
rvec xh1,xh2;
int natom;
int i,nd,na,aj,hisind,his0,type=-1;