namespace gmx
{
class CpuInfo;
+class MDLogger;
}
struct gmx_mtop_t;
/*! \brief Set up the dynamic pairlist pruning
*
- * \param[in,out] fplog Log file
- * \param[in] ir The input parameter record
- * \param[in] mtop The global topology
- * \param[in] box The unit cell
- * \param[in] useGpu Tells if we are using a GPU for non-bondeds
- * \param[in] ic The nonbonded interactions constants
- * \param[in,out] listParams The list setup parameters
+ * \param[in,out] mdlog MD logger
+ * \param[in] ir The input parameter record
+ * \param[in] mtop The global topology
+ * \param[in] box The unit cell
+ * \param[in] nbnxnKernelType The type of nbnxn kernel used
+ * \param[in] ic The nonbonded interactions constants
+ * \param[in,out] listParams The list setup parameters
*/
-void setupDynamicPairlistPruning(FILE *fplog,
+void setupDynamicPairlistPruning(const gmx::MDLogger &mdlog,
const t_inputrec *ir,
const gmx_mtop_t *mtop,
matrix box,
- bool useGpu,
+ int nbnxnKernelType,
const interaction_const_t *ic,
NbnxnListParameters *listParams);