/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2015,2016,2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2018,2019,2020,2021, 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.
template<typename>
class ArrayRef;
struct AwhBiasStateHistory;
-struct AwhBiasParams;
+class AwhBiasParams;
class BiasParams;
class PointState;
* \param[in] params The bias parameters.
* \param[in] t Time.
* \param[in] detectedCovering True if we detected that the sampling interval has been
- * sufficiently covered. \param[in,out] weightsumCovering The weight sum for checking covering.
+ * sufficiently covered.
+ * \param[in,out] weightsumCovering The weight sum for checking covering.
* \param[in,out] fplog Log file.
* \returns the new histogram size.
*/
* \param[in,out] fplog Log file.
* \returns the new histogram size.
*/
- double newHistogramSize(const BiasParams& params,
- double t,
- bool covered,
- const std::vector<PointState>& pointStates,
- ArrayRef<double> weightsumCovering,
- FILE* fplog);
+ double newHistogramSize(const BiasParams& params,
+ double t,
+ bool covered,
+ ArrayRef<const PointState> pointStates,
+ ArrayRef<double> weightsumCovering,
+ FILE* fplog);
/*! \brief Restores the histogram size from history.
*