Move orientation restraints checks inside init function
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 4 Feb 2014 15:29:15 +0000 (16:29 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 9 Feb 2014 16:17:35 +0000 (17:17 +0100)
commit002d151cc9e46230554384c2d0a078777eb7d074
treee2a2f29dcce07470f9b40f1826481c93e6761175
parent29049f6dee5d171362b49c637ffc2c4edb24878f
Move orientation restraints checks inside init function

This removes clutter from runner(), much like init_disre() already
does. Removed duplicate check for the number of orientation restraints
being zero. Removed an unused function parameter.

Change-Id: Icc6a08a2ed4af010e65bfe1f5e49b6c229454df1
src/gromacs/gmxlib/orires.c
src/gromacs/legacyheaders/orires.h
src/programs/mdrun/runner.c