* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
* Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
const rvec x[],
const t_pbc* pbc,
t_disresdata* dd,
- history_t* hist)
+ const history_t* hist)
{
rvec dx;
real * rt, *rm3tav, *Rtl_6, *Rt_6, *Rtav_6;
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
* Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
const rvec* x,
const t_pbc* pbc,
t_disresdata* disresdata,
- history_t* hist);
+ const history_t* hist);
//! Calculates the distance restraint forces, return the potential.
real ta_disres(int nfa,
gmx::ArrayRefWithPadding<const gmx::RVec> coordinates,
gmx::ArrayRef<const gmx::RVec> xWholeMolecules,
t_fcdata* fcdata,
- history_t* hist,
+ const history_t* hist,
gmx::ForceOutputs* forceOutputs,
const t_forcerec* fr,
const struct t_pbc* pbc,
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2014,2015,2016,2017,2018 by the GROMACS development team.
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
gmx::ArrayRefWithPadding<const gmx::RVec> coordinates,
gmx::ArrayRef<const gmx::RVec> xWholeMolecules,
t_fcdata* fcdata,
- history_t* hist,
+ const history_t* hist,
gmx::ForceOutputs* forceOutputs,
const t_forcerec* fr,
const struct t_pbc* pbc,
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
* Copyright (c) 2013,2014,2015,2016,2017 The GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
const rvec x[],
const t_pbc* pbc,
t_oriresdata* od,
- history_t* hist)
+ const history_t* hist)
{
int nref;
real edt, edt_1, invn, pfac, r2, invr, corrfac, wsv2, sw, dev;
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
* Copyright (c) 2010,2014,2015,2017,2018 by the GROMACS development team.
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
const rvec x[],
const t_pbc* pbc,
t_oriresdata* oriresdata,
- history_t* hist);
+ const history_t* hist);
/*! \brief
* Diagonalizes the order tensor(s) of the orienation restraints.
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
* Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
const gmx_localtop_t* top,
const matrix box,
gmx::ArrayRefWithPadding<gmx::RVec> coordinates,
- history_t* hist,
+ const history_t* hist,
gmx::ForceBuffersView* force,
tensor vir_force,
const t_mdatoms* mdatoms,
const gmx_localtop_t* top,
const matrix box,
gmx::ArrayRefWithPadding<gmx::RVec> x,
- history_t* hist,
+ const history_t* hist,
gmx::ForceBuffersView* forceView,
tensor vir_force,
const t_mdatoms* mdatoms,
ArrayRefWithPadding<RVec> vPadded,
const matrix box,
ArrayRef<real> lambda,
- history_t* hist,
+ const history_t* hist,
gmx::ForceBuffersView* f,
tensor force_vir,
const t_mdatoms* md,
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2008, The GROMACS development team.
* Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
gmx::ArrayRefWithPadding<gmx::RVec> v,
const matrix box,
gmx::ArrayRef<real> lambda,
- history_t* hist,
+ const history_t* hist,
gmx::ForceBuffersView* f,
tensor force_vir,
const t_mdatoms* md,