gmx_bool bBHAM, bLJcut, bWater, bQ, bLJ;
int nw, nqlj, nq, nlj;
double fq, fqlj, flj, fqljw, fqw;
- t_iparams *iparams;
bBHAM = (mtop->ffparams.functype[0] == F_BHAM);
/* Cost of 1 water with one Q atom or with 1/3 water (LJ negligible) */
fqw = c_group_qw;
- iparams = mtop->ffparams.iparams;
+ gmx::ArrayRef<const t_iparams> iparams = mtop->ffparams.iparams;
atnr = mtop->ffparams.atnr;
nw = 0;
nqlj = 0;
{
int atnr, a, nqlj, nq, nlj;
gmx_bool bQRF;
- t_iparams *iparams;
real r_eff;
double c_qlj, c_q, c_lj;
double nppa;
bQRF = (EEL_RF(ir->coulombtype) || ir->coulombtype == eelCUT);
- iparams = mtop->ffparams.iparams;
+ gmx::ArrayRef<const t_iparams> iparams = mtop->ffparams.iparams;
atnr = mtop->ffparams.atnr;
nqlj = 0;
nq = 0;