Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / trajectoryanalysis / runnercommon.cpp
index 7496d39102097565003ed6cc36bd61a8b0a85da7..92d9e52ebe9fe99e8be9f04e5b9c77b223d02452 100644 (file)
@@ -2,7 +2,7 @@
  * This file is part of the GROMACS molecular simulation package.
  *
  * Copyright (c) 2010-2018, The GROMACS development team.
- * 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.
@@ -262,7 +262,7 @@ void TrajectoryAnalysisRunnerCommon::Impl::initFirstFrame()
         copy_mat(topInfo_.boxtop_, fr->box);
     }
 
-    set_trxframe_ePBC(fr, topInfo_.ePBC());
+    setTrxFramePbcType(fr, topInfo_.pbcType());
     if (topInfo_.hasTopology() && settings_.hasRmPBC())
     {
         gpbc_ = gmx_rmpbc_init(topInfo_);