struct t_nrnb;
struct gmx_wallcycle;
struct VsiteThread;
+enum class PbcType : int;
namespace gmx
{
/*! \brief Create positions of vsite atoms based for the local system
*
* \param[in] vsite The vsite struct, when nullptr is passed, no MPI and no multi-threading
- * is used \param[in,out] x The coordinates \param[in] dt The time step \param[in,out]
- * v When != nullptr, velocities for vsites are set as displacement/dt \param[in] ip
- * Interaction parameters \param[in] ilist The interaction list \param[in] ePBC The
- * type of periodic boundary conditions \param[in] bMolPBC When true, molecules are broken over
- * PBC \param[in] cr The communication record \param[in] box The box
+ * is used
+ * \param[in,out] x The coordinates
+ * \param[in] dt The time step
+ * \param[in,out] v When != nullptr, velocities for vsites are set as displacement/dt
+ * \param[in] ip Interaction parameters
+ * \param[in] ilist The interaction list
+ * \param[in] pbcType The type of periodic boundary conditions
+ * \param[in] bMolPBC When true, molecules are broken over PBC
+ * \param[in] cr The communication record
+ * \param[in] box The box
*/
void construct_vsites(const gmx_vsite_t* vsite,
rvec x[],
rvec v[],
const t_iparams ip[],
const t_ilist ilist[],
- int ePBC,
+ PbcType pbcType,
gmx_bool bMolPBC,
const t_commrec* cr,
const matrix box);
matrix vir,
t_nrnb* nrnb,
const t_idef* idef,
- int ePBC,
+ PbcType pbcType,
gmx_bool bMolPBC,
const t_graph* g,
const matrix box,