int nshake;
char *include;
char *define;
- gmx_bool bGenVel;
- gmx_bool bGenPairs;
+ bool bGenVel;
+ bool bGenPairs;
real tempi;
int seed;
- gmx_bool bOrire;
- gmx_bool bMorse;
+ bool bOrire;
+ bool bMorse;
char *wall_atomtype[2];
char *couple_moltype;
int couple_lam0;
int couple_lam1;
- gmx_bool bCoupleIntra;
+ bool bCoupleIntra;
};
/*! \brief Initialise object to hold strings parsed from an .mdp file */
/* Returns the index of string s in the index groups */
void double_check(t_inputrec *ir, matrix box,
- gmx_bool bHasNormalConstraints,
- gmx_bool bHasAnyConstraints,
+ bool bHasNormalConstraints,
+ bool bHasAnyConstraints,
warninp_t wi);
/* Do more checks */
void do_index(const char* mdparin,
const char *ndx,
gmx_mtop_t *mtop,
- gmx_bool bVerbose,
+ bool bVerbose,
t_inputrec *ir,
warninp_t wi);
/* Read the index file and assign grp numbers to atoms.
/* Routines In readpull.c */
-char **read_pullparams(int *ninp_p, t_inpfile **inp,
- pull_params_t *pull,
- warninp_t wi);
+char **read_pullparams(std::vector<t_inpfile> *inp,
+ pull_params_t *pull,
+ warninp_t wi);
/* Reads the pull parameters, returns a list of the pull group names */
void make_pull_groups(pull_params_t *pull,
pull_t *set_pull_init(t_inputrec *ir, const gmx_mtop_t *mtop,
rvec *x, matrix box, real lambda,
- const gmx_output_env_t *oenv,
warninp_t wi);
/* Prints the initial pull group distances in x.
* If requested, adds the current distance to the initial reference location.
int str_nelem(const char *str, int maxptr, char *ptr[]);
/* helper function from readir.c to convert strings */
-char **read_rotparams(int *ninp_p, t_inpfile **inp, t_rot *rot, warninp_t wi);
+char **read_rotparams(std::vector<t_inpfile> *inp, t_rot *rot, warninp_t wi);
/* Reads enforced rotation parameters, returns a list of the rot group names */
void make_rotation_groups(t_rot *rot, char **rotgnames,
/* Process the rotation parameters after reading the index groups */
void set_reference_positions(t_rot *rot, rvec *x, matrix box,
- const char *fn, gmx_bool bSet, warninp_t wi);
+ const char *fn, bool bSet, warninp_t wi);
#endif