Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_nmtraj.cpp
index 7c4557cec0c350845ff1b4660143176ab6900a19..c752308e9217b59df0f8758f17a159e64e6db284 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2017,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2017,2019,2020, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -97,7 +97,7 @@ int gmx_nmtraj(int argc, char* argv[])
 
     t_trxstatus* out;
     t_topology   top;
-    int          ePBC;
+    PbcType      pbcType;
     t_atoms*     atoms;
     rvec *       xtop, *xref, *xav, *xout;
     int          nvec, *eignr = nullptr;
@@ -130,7 +130,7 @@ int gmx_nmtraj(int argc, char* argv[])
     read_eigenvectors(opt2fn("-v", NFILE, fnm), &natoms, &bFit, &xref, &bDMR, &xav, &bDMA, &nvec,
                       &eignr, &eigvec, &eigval);
 
-    read_tps_conf(ftp2fn(efTPS, NFILE, fnm), &top, &ePBC, &xtop, nullptr, box, bDMA);
+    read_tps_conf(ftp2fn(efTPS, NFILE, fnm), &top, &pbcType, &xtop, nullptr, box, bDMA);
 
     /* Find vectors and phases */