Don't silently allow the user to combine velocity generation and an
unconstrained start.
Change-Id: I62f9f917fe583dfccdddfb5f9fad82a17e15ca25
bNeedVel = EI_STATE_VELOCITY(ir->eI);
bGenVel = (bNeedVel && opts->bGenVel);
+ if (bGenVel && ir->bContinuation)
+ {
+ sprintf(warn_buf,
+ "Generating velocities is inconsistent with attempting "
+ "to continue a previous run. Choose only one of "
+ "gen-vel = yes and continuation = yes.");
+ warning_error(wi, warn_buf);
+ }
snew(plist,F_NRE);
init_plist(plist);