Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / coordinateio / coordinatefile.cpp
index 4c245b12725c4d706422dbb3681d65ec01be4fc8..8bc9224ac27e3bd76695fe51e597e7a082eb11b2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -322,8 +322,8 @@ deepCopy_t_trxframe(const t_trxframe& input, t_trxframe* copy, RVec* xvec, RVec*
         }
     }
     copy_mat(input.box, copy->box);
-    copy->bPBC = input.bPBC;
-    copy->ePBC = input.ePBC;
+    copy->bPBC    = input.bPBC;
+    copy->pbcType = input.pbcType;
 }
 
 /*! \brief