#include "gmx_ana.h"
static void insert_ion(int nsa,int *nwater,
- bool bSet[],int repl[],atom_id index[],
+ gmx_bool bSet[],int repl[],atom_id index[],
real pot[],rvec x[],t_pbc *pbc,
int sign,int q,const char *ionname,
t_mdatoms *mdatoms,
- real rmin,bool bRandom,int *seed)
+ real rmin,gmx_bool bRandom,int *seed)
{
int i,ii,ei,owater,wlast,m,nw;
real extr_e,poti,rmin2;
rvec xei,dx;
- bool bSub=FALSE;
+ gmx_bool bSub=FALSE;
int maxrand;
ei=-1;
FILE *fpin,*fpout;
char buf[STRLEN],buf2[STRLEN],*temp,**mol_line=NULL;
int line,i,nsol,nmol_line,sol_line,nsol_last;
- bool bMolecules;
+ gmx_bool bMolecules;
printf("\nProcessing topology\n");
fpin = ffopen(topinout,"r");
static const char *p_name="NA",*n_name="CL";
static real rmin=0.6,scale=0.001,conc=0;
static int seed=1993;
- static bool bRandom=TRUE,bNeutral=FALSE;
+ static gmx_bool bRandom=TRUE,bNeutral=FALSE;
static t_pargs pa[] = {
{ "-np", FALSE, etINT, {&p_num}, "Number of positive ions" },
{ "-pname", FALSE, etSTR, {&p_name},"Name of the positive ion" },
int *repl;
atom_id *index;
char *grpname;
- bool *bSet,bPDB;
+ gmx_bool *bSet,bPDB;
int i,nw,nwa,nsa,nsalt,iqtot;
FILE *fplog;
output_env_t oenv;