Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / mdlib / vcm.cpp
index a2d998d8ae6655d8098625442026f0f913da38b1..b6997b6e089425bc63702d44db2ce9008adf0887 100644 (file)
@@ -64,7 +64,8 @@ t_vcm::t_vcm(const SimulationGroups& groups, const t_inputrec& ir) :
 
     if (mode == ecmANGULAR && ndim < 3)
     {
-        gmx_fatal(FARGS, "Can not have angular comm removal with pbc=%s", epbc_names[ir.ePBC]);
+        gmx_fatal(FARGS, "Can not have angular comm removal with pbc=%s",
+                  c_pbcTypeNames[ir.pbcType].c_str());
     }
 
     if (mode != ecmNO)