Make PBC type enumeration into PbcType enum class
[alexxy/gromacs.git] / src / gromacs / modularsimulator / statepropagatordata.cpp
index c0ed27be688ca93c6e298b743f84ac6291224b6a..0a02f40a0d9706dc991ed72cf0b9aa98cdfc0bd6 100644 (file)
@@ -93,7 +93,7 @@ StatePropagatorData::StatePropagatorData(int                            numAtoms
     lastStep_(-1),
     canMoleculesBeDistributedOverPBC_(canMoleculesBeDistributedOverPBC),
     systemHasPeriodicMolecules_(inputrec->bPeriodicMols),
-    pbcType_(inputrec->ePBC),
+    pbcType_(inputrec->pbcType),
     topologyHolder_(topologyHolder),
     lastPlannedStep_(inputrec->nsteps + inputrec->init_step),
     writeFinalConfiguration_(writeFinalConfiguration),