/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
bool check_grid_jump(int64_t step, const gmx_domdec_t* dd, real cutoff, const gmx_ddbox_t* ddbox, gmx_bool bFatal);
/*! \brief Print statistics for domain decomposition communication */
-void print_dd_statistics(const t_commrec* cr, const t_inputrec* ir, FILE* fplog);
+void print_dd_statistics(const t_commrec* cr, const t_inputrec& inputrec, FILE* fplog);
/*! \brief Partition the system over the nodes.
*
* \param[in] nstglobalcomm Will globals be computed on this step
* \param[in] state_global Global state
* \param[in] top_global Global topology
- * \param[in] ir Input record
+ * \param[in] inputrec Input record
* \param[in] imdSession IMD handle
* \param[in] pull_work Pulling data
* \param[in] state_local Local state
int nstglobalcomm,
t_state* state_global,
const gmx_mtop_t& top_global,
- const t_inputrec* ir,
+ const t_inputrec& inputrec,
gmx::ImdSession* imdSession,
pull_t* pull_work,
t_state* state_local,
void checkNumberOfBondedInteractions(const gmx::MDLogger& mdlog,
t_commrec* cr,
int totalNumberOfBondedInteractions,
- const gmx_mtop_t* top_global,
+ const gmx_mtop_t& top_global,
const gmx_localtop_t* top_local,
gmx::ArrayRef<const gmx::RVec> x,
const matrix box,