/*
* 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.
*/
void setPeriodicBoundaryConditionType(PeriodicBoundaryConditionType pbc)
{
- pbcType_ = std::make_unique<int>(pbc.pbcType);
+ pbcType_ = std::make_unique<PbcType>(pbc.pbcType);
}
//! Get the periodic boundary conditions
- int periodicBoundaryConditionType()
+ PbcType periodicBoundaryConditionType()
{
if (pbcType_ == nullptr)
{
//! The local atom set to act on
std::unique_ptr<LocalAtomSet> localAtomSet_;
//! The type of periodic boundary conditions in the simulation
- std::unique_ptr<int> pbcType_;
+ std::unique_ptr<PbcType> pbcType_;
//! The simulation time step
double simulationTimeStep_ = 1;