Merge commit d30f2cb6 from release-2020 into master
[alexxy/gromacs.git] / src / gromacs / pulling / pull.h
index 20b8bf1d4c6f4454b41d4c6dfc2374e5eee17085..c9e304e19bdbda8a34f669203e293700a8fc75b7 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017,2018,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.
@@ -338,6 +338,12 @@ gmx_bool pull_have_potential(const struct pull_t* pull);
  */
 gmx_bool pull_have_constraint(const struct pull_t* pull);
 
+/*! \brief Returns if inputrec has pull coordinates with constraint pulling.
+ *
+ * \param[in] pullParameters  Pulling input parameters from input record.
+ */
+bool pull_have_constraint(const pull_params_t* pullParameters);
+
 /*! \brief Returns the maxing distance for pulling
  *
  * For distance geometries, only dimensions with pcrd->params[dim]=1