#define RANGECHK(i,n) if ((i)>=(n)) gmx_fatal(FARGS,"Your index file contains atomnumbers (e.g. %d)\nthat are larger than the number of atoms in the tpr file (%d)",(i),(n))
-static bool *bKeepIt(int gnx,int natoms,atom_id index[])
+static gmx_bool *bKeepIt(int gnx,int natoms,atom_id index[])
{
- bool *b;
+ gmx_bool *b;
int i;
snew(b,natoms);
return inv;
}
-static void reduce_block(bool bKeep[],t_block *block,
+static void reduce_block(gmx_bool bKeep[],t_block *block,
const char *name)
{
atom_id *index;
block->nr = newi;
}
-static void reduce_blocka(atom_id invindex[],bool bKeep[],t_blocka *block,
+static void reduce_blocka(atom_id invindex[],gmx_bool bKeep[],t_blocka *block,
const char *name)
{
atom_id *index,*a;
sfree(rinfo);
}
-static void reduce_ilist(atom_id invindex[],bool bKeep[],
+static void reduce_ilist(atom_id invindex[],gmx_bool bKeep[],
t_ilist *il,int nratoms,const char *name)
{
t_iatom *ia;
int i,j,newnr;
- bool bB;
+ gmx_bool bB;
if (il->nr) {
snew(ia,il->nr);
gmx_mtop_t *mtop,rvec x[],rvec v[])
{
t_topology top;
- bool *bKeep;
+ gmx_bool *bKeep;
atom_id *invindex;
int i;
int i;
gmx_large_int_t nsteps_req,run_step,frame;
double run_t,state_t;
- bool bOK,bNsteps,bExtend,bUntil,bTime,bTraj;
- bool bFrame,bUse,bSel,bNeedEner,bReadEner,bScanEner;
+ gmx_bool bOK,bNsteps,bExtend,bUntil,bTime,bTraj;
+ gmx_bool bFrame,bUse,bSel,bNeedEner,bReadEner,bScanEner;
gmx_mtop_t mtop;
t_atoms atoms;
t_inputrec *ir,*irnew=NULL;
/* Command line options */
static int nsteps_req_int = 0;
static real start_t = -1.0, extend_t = 0.0, until_t = 0.0;
- static bool bContinuation = TRUE,bZeroQ = FALSE,bVel=TRUE;
+ static gmx_bool bContinuation = TRUE,bZeroQ = FALSE,bVel=TRUE;
static t_pargs pa[] = {
{ "-extend", FALSE, etREAL, {&extend_t},
"Extend runtime by this amount (ps)" },