Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / mdlib / trajectory_writing.cpp
index 225c8844e1d8f863b4b8f2125a00026bce13cdd8..9c87f46c4c237a84cbf8c13ef33ae17b91915c51 100644 (file)
@@ -194,10 +194,10 @@ void do_md_trajectory_writing(FILE*                    fplog,
             if (fr->bMolPBC && !ir->bPeriodicMols)
             {
                 /* Make molecules whole only for confout writing */
-                do_pbc_mtop(ir->ePBC, state->box, top_global, x_for_confout);
+                do_pbc_mtop(ir->pbcType, state->box, top_global, x_for_confout);
             }
             write_sto_conf_mtop(ftp2fn(efSTO, nfile, fnm), *top_global->name, top_global,
-                                x_for_confout, state_global->v.rvec_array(), ir->ePBC, state->box);
+                                x_for_confout, state_global->v.rvec_array(), ir->pbcType, state->box);
             if (fr->bMolPBC && state == state_global)
             {
                 sfree(x_for_confout);