);
}
+ if ((Flags & MD_RERUN) &&
+ (EI_ENERGY_MINIMIZATION(inputrec->eI) || eiNM == inputrec->eI))
+ {
+ gmx_fatal(FARGS, "The .mdp file specified an energy mininization or normal mode algorithm, and these are not compatible with mdrun -rerun");
+ }
+
if (can_use_allvsall(inputrec,mtop,TRUE,cr,fplog))
{
/* All-vs-all loops do not work with domain decomposition */
const char *flegend[] = { "Hydrophobic", "Hydrophilic",
"Total", "D Gsolv" };
const char *vlegend[] = { "Volume (nm\\S3\\N)", "Density (g/l)" };
+ const char *or_and_oa_legend[] = { "Average (nm\\S2\\N)", "Standard deviation (nm\\S2\\N)" };
const char *vfile;
real t;
gmx_atomprop_t aps=NULL;
atom_area2[i] /= nfr;
}
fprintf(stderr,"Printing out areas per atom\n");
- fp = xvgropen(opt2fn("-or",nfile,fnm),"Area per residue","Residue",
+ fp = xvgropen(opt2fn("-or",nfile,fnm),"Area per residue over the trajectory","Residue",
"Area (nm\\S2\\N)",oenv);
- fp2 = xvgropen(opt2fn("-oa",nfile,fnm),"Area per atom","Atom #",
+ xvgr_legend(fp, asize(or_and_oa_legend),or_and_oa_legend,oenv);
+ fp2 = xvgropen(opt2fn("-oa",nfile,fnm),"Area per atom over the trajectory","Atom #",
"Area (nm\\S2\\N)",oenv);
+ xvgr_legend(fp2, asize(or_and_oa_legend),or_and_oa_legend,oenv);
if (bITP) {
fp3 = ftp2FILE(efITP,nfile,fnm,"w");
fprintf(fp3,"[ position_restraints ]\n"
"and a group for the output. The calculation group should always",
"consists of all the non-solvent atoms in the system.",
"The output group can be the whole or part of the calculation group.",
- "The area can be plotted",
+ "The average and standard deviation of the area over the trajectory can be plotted",
"per residue and atom as well (options [TT]-or[tt] and [TT]-oa[tt]).",
"In combination with the latter option an [TT]itp[tt] file can be",
"generated (option [TT]-i[tt])",