} aprop_t;
typedef struct gmx_atomprop {
- gmx_bool bWarned,bWarnVDW;
+ gmx_bool bWarned, bWarnVDW;
aprop_t prop[epropNR];
gmx_residuetype_t restype;
} gmx_atomprop;
snew(aps, 1);
gmx_residuetype_init(&aps->restype);
- aps->bWarned = FALSE;
+ aps->bWarned = FALSE;
aps->bWarnVDW = FALSE;
-
+
return (gmx_atomprop_t)aps;
}
{
if (NULL != fp)
{
- fprintf(fp,"NOTE: From version 5.0 %s uses the Van der Waals radii\n",
+ fprintf(fp, "NOTE: From version 5.0 %s uses the Van der Waals radii\n",
ShortProgram());
- fprintf(fp,"from the source below. This means the results may be different\n");
- fprintf(fp,"compared to previous GROMACS versions.\n");
- please_cite(fp,"Bondi1964a");
+ fprintf(fp, "from the source below. This means the results may be different\n");
+ fprintf(fp, "compared to previous GROMACS versions.\n");
+ please_cite(fp, "Bondi1964a");
}
}
j = get_prop_index(&(ap->prop[eprop]), ap->restype, resname,
atomname, &bExact);
- if (!ap->bWarnVDW)
+ if (eprop == epropVDW && !ap->bWarnVDW)
{
vdw_warning(stdout);
ap->bWarnVDW = TRUE;