#include "gromacs/math/vec.h"
#include "gromacs/mdlib/broadcaststructs.h"
#include "gromacs/mdlib/groupcoord.h"
-#include "gromacs/mdlib/mdrun.h"
#include "gromacs/mdlib/sighandler.h"
#include "gromacs/mdlib/sim_util.h"
#include "gromacs/mdtypes/enerdata.h"
#include "gromacs/mdtypes/inputrec.h"
#include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/mdtypes/mdrunoptions.h"
#include "gromacs/mdtypes/state.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/timing/wallcycle.h"
*
* Call on master only.
*/
-static FILE *open_imd_out(const char *fn,
- t_gmx_IMD_setup *IMDsetup,
- int nat_total,
- const gmx_output_env_t *oenv,
- const ContinuationOptions &continuationOptions)
+static FILE *open_imd_out(const char *fn,
+ t_gmx_IMD_setup *IMDsetup,
+ int nat_total,
+ const gmx_output_env_t *oenv,
+ const gmx::ContinuationOptions &continuationOptions)
{
FILE *fp;
}
}
-void init_IMD(t_inputrec *ir,
- const t_commrec *cr,
- const gmx_multisim_t *ms,
- const gmx_mtop_t *top_global,
- FILE *fplog,
- int defnstimd,
- const rvec x[],
- int nfile,
- const t_filenm fnm[],
- const gmx_output_env_t *oenv,
- const MdrunOptions &mdrunOptions)
+void init_IMD(t_inputrec *ir,
+ const t_commrec *cr,
+ const gmx_multisim_t *ms,
+ const gmx_mtop_t *top_global,
+ FILE *fplog,
+ int defnstimd,
+ const rvec x[],
+ int nfile,
+ const t_filenm fnm[],
+ const gmx_output_env_t *oenv,
+ const gmx::MdrunOptions &mdrunOptions)
{
int i;
int nat_total;
// user asked for should be handled with a fatal error, not just a
// warning.
- const ImdOptions &options = mdrunOptions.imdOptions;
+ const auto &options = mdrunOptions.imdOptions;
/* It seems we have a .tpr file that defines an IMD group and thus allows IMD sessions.
* Check whether we can actually provide the IMD functionality for this setting: */