t_gromppopts *opts, t_inputrec *ir, gmx_bool bZero,
gmx_bool bGenVel, gmx_bool bVerbose, t_state *state,
gpp_atomtype_t atype, gmx_mtop_t *sys,
- int *nmi, t_molinfo **mi, t_params plist[],
+ int *nmi, t_molinfo **mi, t_molinfo **intermolecular_interactions,
+ t_params plist[],
int *comb, double *reppow, real *fudgeQQ,
gmx_bool bMorse,
warninp_t wi)
/* TOPOLOGY processing */
sys->name = do_top(bVerbose, topfile, topppfile, opts, bZero, &(sys->symtab),
plist, comb, reppow, fudgeQQ,
- atype, &nrmols, &molinfo, ir,
+ atype, &nrmols, &molinfo, intermolecular_interactions,
+ ir,
&nmolblock, &molblock, bGB,
wi);
t_gromppopts *opts;
gmx_mtop_t *sys;
int nmi;
- t_molinfo *mi;
+ t_molinfo *mi, *intermolecular_interactions;
gpp_atomtype_t atype;
t_inputrec *ir;
int natoms, nvsite, comb, mt;
snew(state, 1);
new_status(fn, opt2fn_null("-pp", NFILE, fnm), opt2fn("-c", NFILE, fnm),
opts, ir, bZero, bGenVel, bVerbose, state,
- atype, sys, &nmi, &mi, plist, &comb, &reppow, &fudgeQQ,
+ atype, sys, &nmi, &mi, &intermolecular_interactions,
+ plist, &comb, &reppow, &fudgeQQ,
opts->bMorse,
wi);
}
ntype = get_atomtype_ntypes(atype);
- convert_params(ntype, plist, mi, comb, reppow, fudgeQQ, sys);
+ convert_params(ntype, plist, mi, intermolecular_interactions,
+ comb, reppow, fudgeQQ, sys);
if (debug)
{