Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / pbcutil / mshift.h
index bc73a6db54081e8b5fd45716c01e97740cefe014..db370317230acf329f7ae3a1c6e138a1c79ff228 100644 (file)
@@ -46,6 +46,7 @@
 struct InteractionList;
 struct gmx_moltype_t;
 struct t_idef;
+enum class PbcType : int;
 
 typedef enum
 {
@@ -103,7 +104,7 @@ void done_graph(t_graph* g);
 void p_graph(FILE* log, const char* title, t_graph* g);
 /* Print a graph to log */
 
-void mk_mshift(FILE* log, t_graph* g, int ePBC, const matrix box, const rvec x[]);
+void mk_mshift(FILE* log, t_graph* g, PbcType pbcType, const matrix box, const rvec x[]);
 /* Calculate the mshift codes, based on the connection graph in g. */
 
 void shift_x(const t_graph* g, const matrix box, const rvec x[], rvec x_s[]);