static void calc_com_pbc(int nrefat,t_topology *top,rvec x[],t_pbc *pbc,
- atom_id index[],rvec xref,bool bPBC,matrix box)
+ atom_id index[],rvec xref,gmx_bool bPBC,matrix box)
{
const real tol=1e-4;
- bool bChanged;
+ gmx_bool bChanged;
int m,j,ai,iter;
real mass,mtot;
rvec dx,xtest;
real inp,outp,two_pi,nav,normfac,rmin2,rmax2,rcut,rcut2,r2,r,mass,mtot;
real c1,c2;
char str[STRLEN];
- bool bTPS;
+ gmx_bool bTPS;
rvec xref,dx,dxh1,dxh2,outer;
gmx_rmpbc_t gpbc=NULL;
t_pbc pbc;
};
output_env_t oenv;
- static bool bCom = FALSE,bVec23=FALSE,bPBC = FALSE;
+ static gmx_bool bCom = FALSE,bVec23=FALSE,bPBC = FALSE;
static real rmin=0.0,rmax=0.5,binwidth=0.02,rbinw=0.02;
t_pargs pa[] = {
{ "-com", FALSE, etBOOL, {&bCom},