Merge commit d30f2cb6 from release-2020 into master
authorPaul Bauer <paul.bauer.q@gmail.com>
Tue, 7 Jan 2020 10:01:22 +0000 (11:01 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Tue, 7 Jan 2020 10:16:32 +0000 (11:16 +0100)
Merging the release-2020 branch in stages to allow update to TPR format
to be cherry-picked in.

Change-Id: I36c0861d0cb6f17a3f4ff739fa868867844f2944

69 files changed:
1  2 
admin/ci-templates/.regressiontest-template.yml
admin/copyright.py
cmake/gmxCPackUtilities.cmake
cmake/gmxVersionInfo.cmake
docs/CMakeLists.txt
docs/conf.py
docs/dev-manual/tools.rst
docs/release-notes/index.rst
docs/user-guide/environment-variables.rst
docs/user-guide/mdp-options.rst
docs/user-guide/mdrun-performance.rst
python_packaging/documentation/conf.py
python_packaging/src/gmxapi/_logging.py
python_packaging/src/gmxapi/commandline.py
python_packaging/src/gmxapi/datamodel.py
python_packaging/src/gmxapi/export_tprfile.cpp
python_packaging/src/gmxapi/operation.py
python_packaging/src/gmxapi/version.py
python_packaging/src/setup.py
src/api/CMakeLists.txt
src/api/cpp/CMakeLists.txt
src/gromacs/applied_forces/densityfittingforceprovider.cpp
src/gromacs/domdec/domdec.cpp
src/gromacs/domdec/domdec.h
src/gromacs/ewald/pme_load_balancing.cpp
src/gromacs/ewald/pme_load_balancing.h
src/gromacs/ewald/pme_only.cpp
src/gromacs/ewald/tests/pmetestcommon.cpp
src/gromacs/fileio/pdbio.cpp
src/gromacs/gmxana/anadih.cpp
src/gromacs/gmxana/angle_correction.cpp
src/gromacs/gmxana/angle_correction.h
src/gromacs/gmxana/cmat.cpp
src/gromacs/gmxana/gmx_angle.cpp
src/gromacs/gmxpreprocess/readir.cpp
src/gromacs/mdlib/energyoutput.cpp
src/gromacs/mdlib/energyoutput.h
src/gromacs/mdlib/forcerec.cpp
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdlib/tests/energyoutput.cpp
src/gromacs/mdlib/trajectory_writing.cpp
src/gromacs/mdrun/md.cpp
src/gromacs/mdrun/mimic.cpp
src/gromacs/mdrun/minimize.cpp
src/gromacs/mdrun/rerun.cpp
src/gromacs/mdrun/runner.cpp
src/gromacs/mdtypes/commrec.h
src/gromacs/mdtypes/state_propagator_data_gpu.h
src/gromacs/mdtypes/state_propagator_data_gpu_impl.cpp
src/gromacs/mdtypes/state_propagator_data_gpu_impl.h
src/gromacs/mdtypes/state_propagator_data_gpu_impl_gpu.cpp
src/gromacs/modularsimulator/computeglobalselement.cpp
src/gromacs/modularsimulator/energyelement.cpp
src/gromacs/modularsimulator/modularsimulator.cpp
src/gromacs/modularsimulator/modularsimulatorinterfaces.h
src/gromacs/modularsimulator/pmeloadbalancehelper.cpp
src/gromacs/modularsimulator/statepropagatordata.cpp
src/gromacs/modularsimulator/statepropagatordata.h
src/gromacs/nbnxm/cuda/nbnxm_buffer_ops_kernels.cuh
src/gromacs/nbnxm/cuda/nbnxm_cuda.cu
src/gromacs/pulling/pull.cpp
src/gromacs/pulling/pull.h
src/gromacs/taskassignment/decidegpuusage.cpp
src/gromacs/taskassignment/decidegpuusage.h
src/gromacs/timing/wallcycle.cpp
src/gromacs/timing/wallcycle.h
src/programs/mdrun/tests/CMakeLists.txt
src/programs/mdrun/tests/outputfiles.cpp
tests/CMakeLists.txt

index 0b349861cca53091cf8f7b41a3d3f7fe84e39832,8d57385a116f1c0e7e0bc64459d11dc08241762b..7b817430ef7f328b64bc163a5c747e1905dce0cb
@@@ -2,7 -2,7 +2,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
--# Copyright (c) 2013,2014,2015,2016,2018,2019, by the GROMACS development team, led by
++# Copyright (c) 2013,2014,2015,2016,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.
index 5a5c267c41a8623e2b8b6ee7978372b4e47955b7,3a788950fa6bc0c79072980a4851e81be2c72b01..11e1bac0bb89353f66341e3f8c691005e5572935
@@@ -1,7 -1,7 +1,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
- # Copyright (c) 2014,2015,2016,2017,2018, by the GROMACS development team, led by
 -# Copyright (c) 2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
++# Copyright (c) 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.
index 880363dba757e3a7b3a87cd55c13913bb268d26b,6c7925b0e85bfe76849c3eabd6c505de44374f65..42f59adeab0737fe75f04e4aebe7bfbfb52148d0
@@@ -1,7 -1,7 +1,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
--# Copyright (c) 2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
++# Copyright (c) 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.
index 568c798c4697bc5d9897ec20f1da288186c0c532,32636d3dd1e1aa1305379bd4adf267b86d2abc2f..99310f3417a84c977c67c63110ea08217d74de8c
@@@ -1,7 -1,7 +1,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
--# Copyright (c) 2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
++# Copyright (c) 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.
diff --cc docs/conf.py
index 8a50bd1f9186c19728a579dc3e357f7dedef5f83,929a34c0512087ddb528c3d35b455348b771ca86..1dd0bb1b2e8f87fa6c64bcbbabc9b42d7f0d37c6
@@@ -1,7 -1,7 +1,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
--# Copyright (c) 2015,2016,2017,2018,2019, by the GROMACS development team, led by
++# Copyright (c) 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.
Simple merge
Simple merge
Simple merge
Simple merge
index 4f93335501dc95b55258e21c7d1572c68d957929,860b6c58af7c5198b2bdaa10f2dc7296a8914317..3fdaf484bb4d3d0e4564a21189f366b95f41db18
@@@ -1,3 -1,37 +1,37 @@@
 -# Copyright (c) 2015,2016,2017,2018,2019, by the GROMACS development team, led by
+ #
+ # 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
+ # 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.
+ #
+ # GROMACS is free software; you can redistribute it and/or
+ # modify it under the terms of the GNU Lesser General Public License
+ # as published by the Free Software Foundation; either version 2.1
+ # of the License, or (at your option) any later version.
+ #
+ # GROMACS is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ # Lesser General Public License for more details.
+ #
+ # You should have received a copy of the GNU Lesser General Public
+ # License along with GROMACS; if not, see
+ # http://www.gnu.org/licenses, or write to the Free Software Foundation,
+ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+ #
+ # If you want to redistribute modifications to GROMACS, please
+ # consider that scientific software is very special. Version
+ # control is crucial - bugs must be traceable. We will be happy to
+ # consider code for inclusion in the official distribution, but
+ # derived work must not be called official GROMACS. Details are found
+ # in the README & COPYING files - if they are missing, get the
+ # official version at http://www.gromacs.org.
+ #
+ # To help us fund GROMACS development, we humbly ask that you cite
+ # the research papers on the package. Check out http://www.gromacs.org.
  # Configuration file for the Sphinx documentation builder.
  #
  # This file only contains a selection of the most common options. For a full
index 3c24083cc308e792881a8a96a6a89df950181996,890f225d22153b2f3e672a9a62b78222674691aa..2304e5a4b060c55bee7b49c50c4c1f4074da19b5
@@@ -1,7 -1,7 +1,7 @@@
  #
  # 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.
index 11b2e1fa5fa63bd51b071aedd9e5709bc24131f9,b881e67b7fb321a3323de20821b9df0bf156f068..378de8c6d6a85adb5e350a015c7f7e43469a09cb
@@@ -1,7 -1,7 +1,7 @@@
  #
  # 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.
@@@ -31,6 -31,6 +31,7 @@@
  #
  # To help us fund GROMACS development, we humbly ask that you cite
  # the research papers on the package. Check out http://www.gromacs.org.
++
  """
  Provide command line operation.
  """
index 96a94d1d8a904ebf1b872a2d2e3fde4898c46892,ee308f90b89bbcd0faf1a137e82197563d466577..c9af75092cfd2dacaa09260044e23431f866d4c0
@@@ -1,7 -1,7 +1,7 @@@
  #
  # 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.
index 58e48728fee6436cee5e94d738baa5e0deb6af59,6be962bfaaf4ff97ab571b72fd1c2e0dd0de4612..85387acd875ecfb853313fde4d246d727cb3b32c
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index 9468136e2060a2f265774068ab04116070ed2464,4ed554bf020b9098d48e17ba1214ca6feb1678c3..5e36d9ff1aced4025a31bf964bf963e9519271b4
@@@ -1,7 -1,7 +1,7 @@@
  #
  # 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.
index f4161966c6e77473944eefe9b39ce7c6090b715b,5a4e929b66fefee6c693bb4fee239a6c30b4abc3..f08e8a9ee278853e5a887ccd4cb55b80ba29eaaf
@@@ -1,7 -1,7 +1,7 @@@
  #
  # 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.
index 9ea6464095478a5884bf775e658d0210a26e0e14,c4a2c487484b28413c307158af673640fa7a72d0..d906933e1b0d942e7099517c0b03d01a6e2c7791
@@@ -1,7 -1,7 +1,7 @@@
  #
  # 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.
index c3b3f3ba51922125fa1cc16a2344505d80409baf,124b8dbc9d7e96f4c68b9d11fa476f3efe309e47..8b824e0461868b030976a714da3678a80181cbfb
@@@ -1,7 -1,7 +1,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
--# Copyright (c) 2018,2019, by the GROMACS development team, led by
++# Copyright (c) 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.
index 273d8382b826764a916b88453df76027a886bb0d,f22edbbbe84dac8c318a03b264c99798810bb46d..1f6e172060ac0fbb0655ca783d05d17e753edec2
@@@ -1,7 -1,7 +1,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
--# Copyright (c) 2018,2019, by the GROMACS development team, led by
++# Copyright (c) 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.
index 106831562de37c10b3d9e98faf16e22a6ffdee99,535b418a61b0b2caa448e6f101e20186184331f8..57f9e5a6a962d167d81cb120578fd0bd6f0bb7c7
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index 3f93013309faafb36a5989ed74febd712487ae1c,de3fc3c4b367160b238c7506416addda8f0c3787..3e8a3d87c93875c503752b948cea37c965a1d786
@@@ -2,7 -2,7 +2,7 @@@
   * This file is part of the GROMACS molecular simulation package.
   *
   * Copyright (c) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019, by the.
-- * 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.
index 78c321d624cd60120c0dac951078a7faee853132,9fb46bc0608c722f5b136c8462a7c108beb2a900..cf915168681500c54bcffcace8fcd71b61920804
@@@ -2,7 -2,7 +2,7 @@@
   * This file is part of the GROMACS molecular simulation package.
   *
   * Copyright (c) 2005 - 2014, The GROMACS development team.
-- * Copyright (c) 2015,2016,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 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.
index 98d0d9e2fcc1a616f36d63ef8e72f3a51ff7f95b,e0431a76cdc05b15f94aba0f919d6cad248301d4..19eca520debe4ce22a8e6f34d38fb9291f43f240
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 2012-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.
index 929188917aed6f6ffa0668f586d52da02cbc7eb3,1e6682d46c6b63462557f8571197b5509361d65e..b163d349eccbecec8372216bf2c2f9945c2ec090
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 2012-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.
index a4ec1506569247686254ec41de92fda9fe26e318,4e66664ae22663f3c2afa15cd2bfaae033dc1a7b..6c8077bbabddae3f36280e5719c547dead264c26
@@@ -3,7 -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.
index a57195d1f6f6fe0729a025052bc33bc04d0abaae,fc68e96f4131af69cbc38c607be52f92230f1946..57bed345c4573ce8cd395cad7b6407b6afeae56d
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2016,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 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.
index 3466d8d4f1114644918dbe3c9fba228062ccc701,f431614cc8a512e39d767b6fd97c9a9d9726a755..c842577de67b6557227922b5891d53eac07378a2
@@@ -3,7 -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.
index b76f99dc1aed9e2bf31e3bcd5ccedf66b7595668,bfe16bede134eead6646469ce52e79c2d1819237..2731d4a11d69fd83467764910fe6cbb114cf854e
@@@ -3,7 -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.
index 0000000000000000000000000000000000000000,3ee9a99542e339aef73bcf8ce03262fd89b3fd00..3bf1507dd74075d11171d64a6d8a1021a8f25a75
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,56 +1,56 @@@
 - * Copyright (c) 2019, by the GROMACS development team, led by
+ /*
+  * This file is part of the GROMACS molecular simulation package.
+  *
++ * 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.
+  *
+  * GROMACS is free software; you can redistribute it and/or
+  * modify it under the terms of the GNU Lesser General Public License
+  * as published by the Free Software Foundation; either version 2.1
+  * of the License, or (at your option) any later version.
+  *
+  * GROMACS is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  * Lesser General Public License for more details.
+  *
+  * You should have received a copy of the GNU Lesser General Public
+  * License along with GROMACS; if not, see
+  * http://www.gnu.org/licenses, or write to the Free Software Foundation,
+  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+  *
+  * If you want to redistribute modifications to GROMACS, please
+  * consider that scientific software is very special. Version
+  * control is crucial - bugs must be traceable. We will be happy to
+  * consider code for inclusion in the official distribution, but
+  * derived work must not be called official GROMACS. Details are found
+  * in the README & COPYING files - if they are missing, get the
+  * official version at http://www.gromacs.org.
+  *
+  * To help us fund GROMACS development, we humbly ask that you cite
+  * the research papers on the package. Check out http://www.gromacs.org.
+  */
+ #include "gmxpre.h"
+ #include "angle_correction.h"
+ #include <algorithm>
+ #include "gromacs/math/units.h"
+ #include "gromacs/math/vec.h"
+ real correctRadianAngleRange(const real angle)
+ {
+     real correctedAngle = angle;
+     while (correctedAngle < -M_PI)
+     {
+         correctedAngle += 2 * M_PI;
+     }
+     while (correctedAngle >= M_PI)
+     {
+         correctedAngle -= 2 * M_PI;
+     }
+     return correctedAngle;
+ }
index 0000000000000000000000000000000000000000,5c68c4df4e91cfced228b711cfd4034c7acb6ce2..52ab32a3be5252ed88a008ccd382ab095d8aa6ca
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,48 +1,48 @@@
 - * Copyright (c) 2019, by the GROMACS development team, led by
+ /*
+  * This file is part of the GROMACS molecular simulation package.
+  *
++ * 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.
+  *
+  * GROMACS is free software; you can redistribute it and/or
+  * modify it under the terms of the GNU Lesser General Public License
+  * as published by the Free Software Foundation; either version 2.1
+  * of the License, or (at your option) any later version.
+  *
+  * GROMACS is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  * Lesser General Public License for more details.
+  *
+  * You should have received a copy of the GNU Lesser General Public
+  * License along with GROMACS; if not, see
+  * http://www.gnu.org/licenses, or write to the Free Software Foundation,
+  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+  *
+  * If you want to redistribute modifications to GROMACS, please
+  * consider that scientific software is very special. Version
+  * control is crucial - bugs must be traceable. We will be happy to
+  * consider code for inclusion in the official distribution, but
+  * derived work must not be called official GROMACS. Details are found
+  * in the README & COPYING files - if they are missing, get the
+  * official version at http://www.gromacs.org.
+  *
+  * To help us fund GROMACS development, we humbly ask that you cite
+  * the research papers on the package. Check out http://www.gromacs.org.
+  */
+ #ifndef GMX_GMXANA_ANGLE_CORRECTION_H
+ #define GMX_GMXANA_ANGLE_CORRECTION_H
+ #include "gromacs/math/units.h"
+ /*! \brief
+  * Return the angle in radians after correcting to be within range of -PI < \p angle < PI.
+  *
+  * \param[in] angle The angle in radians.
+  * \returns Angle within range.
+  */
+ real correctRadianAngleRange(real angle);
+ #endif
index cde327414c01eff198371fcab431a11d423d2111,07368d9d41b2c5ddff94daa131bd7edcd54e5d96..96f20a86dabb9e9b85da9d2ac03724b2770f334e
@@@ -3,7 -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,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 2013,2014,2015,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.
index 0a92c634d86bb4a2eb91a7e44024e3d772db76c5,e99bee5628e958d5ed9574e09c120adb03d3d753..5b6246a96c10c8e8acb1d33d62c51624d4d1483c
@@@ -3,7 -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.
index d6dbbe240cc215fe0462b9a06553d53c807ee83d,8ad44f530073e2a3ecd3167c08cff8d0f0a9f9c7..9a5e6908edd86719bdd72c7e05852f5b64bb6d77
@@@ -3,7 -3,7 +3,7 @@@
   *
   * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
   * Copyright (c) 2001-2004, The GROMACS development team.
-- * Copyright (c) 2013-2019, by the GROMACS development team, led by
++ * Copyright (c) 2013-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.
index bb71c96b0f02c6763f6f60139571fa47e85421a2,f2532f3dfe063cbfa5a30337ceb2ce11f3a89a42..c692c03f87f0f58e57c9a2d630b169604adb6cea
@@@ -3,7 -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.
index f8cc196d5ec7ede2d19ea16f883c4c410c082668,070b7eeb230d79abf3c5e18a0d71f3ab268a2890..898093092af71d56660432b150d836a4bbd447f8
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index 9440cf8f088e99c42c1f1737eb7df1d9705914ef,c8a42aac5896ea3b95e02b2d792eb07133607c95..adfb6caf090e7a8d97387b39fc1585f9440f08bb
@@@ -3,7 -3,7 +3,7 @@@
   *
   * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
   * Copyright (c) 2001-2004, The GROMACS development team.
-- * Copyright (c) 2013-2019, by the GROMACS development team, led by
++ * Copyright (c) 2013-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.
index 8e0541bc8634e80e9a2c7999c16b286e60a88948,c8d3cbb713cf504460c7342a1e563f59e24ac7fa..938e774d5d85a65cd365b78d3ffbc2d2eb7d925f
@@@ -3,7 -3,7 +3,7 @@@
   *
   * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
   * Copyright (c) 2001-2004, The GROMACS development team.
-- * Copyright (c) 2013-2019, by the GROMACS development team, led by
++ * Copyright (c) 2013-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.
index 32f3993dd9a1794868ff7617c53de2610a783345,dae26029590b2056f3f0aa21573f8dce4752469b..06f2bf73280810331d6841ebc9402b34ffe1f74e
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 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.
index dc2cc747fc4424b2675122a1b8405813a8605599,e06b416a0a1ad0837fab92262a5e8a66619b8a0c..9cca0c87f184bf5ceb5e81b7b70740ec72206cf4
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * 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.
index 4f163faf865f7ef5c3ee9caadb0fee5ec2bf86e8,8505f8649d6695c82ed79a346fd5c1dcff28a887..99421cbd9a3249b76d47c17c3a57a390633f83d0
@@@ -3,7 -3,7 +3,7 @@@
   *
   * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
   * Copyright (c) 2001-2004, The GROMACS development team.
-- * Copyright (c) 2011-2019, by the GROMACS development team, led by
++ * Copyright (c) 2011-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.
index a86999fb3d8f6b74be7d4e0b09dca67043e12462,65e08ed342ff599994757e921ca3fa48b444af14..6c2e4e7ba57a1fcdb9f9fc381b449122cbd2ea24
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 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.
index cab90eb55d4124f137dbb721630e6000aea5b205,e20b7e88b0fe19231ebcf91463edf43948042efc..8afbb528fbe86235fa88ea7e1dc45bc52bdc194f
@@@ -3,7 -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.
index 4ef73be2c01014e2c4f279a80de08e3e0f364f96,c75be98e38a590a0db99618a84eee49ff4e1b3d7..bbf7655135be424db65a9dbc3c233ab01dc5e7f2
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 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.
index b0ee231788f74ce01b7be8632ba76cdf6b173671,f5b9cb1b7ab66d47a762e7f311f315a601023ae5..95a95f5c24decd92f1de1f8df98417ca5ec6c3a6
@@@ -3,7 -3,7 +3,7 @@@
   *
   * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
   * Copyright (c) 2001-2004, The GROMACS development team.
-- * Copyright (c) 2011-2019, by the GROMACS development team, led by
++ * Copyright (c) 2011-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.
index 47973cd7ee1f53caa7196370a9621a1c841c77a4,72291ff816680b7353b42d10b177bcd19308edd9..524b76395f399e4ce0dae5dee3e93b98018e85ec
@@@ -3,7 -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,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 2013,2014,2015,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.
index c6ae19c589c0101759ddd7b135f2161f282872e8,697f9d2c861053326f139df573bd4d39c273570e..44cbc8d7e53887f0aa75abc272dbbe15bcb2f589
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index 9b201b9376f2d35aa5f85af8b0a7c5a1966c08f8,1e2eadaff463886f9b683890f6993c07d3b5dd71..ae6bcd6c71eef3d217c1c46e46c79604d7078caf
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index af073b6284dde35d568465192004b375be8b2dd0,9ac9711d298862052e1cc3c138f93ba8ea3a292c..142327772274c4c29db5b922a43b18569868fecc
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index 9d674afd8f5d05c8abdbadeab75010efe7c032ff,29821a43133ddaacd8078a7c2ae2596c95aa2037..031327e80d844b1917b4c65c5317e95aac721b56
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
@@@ -243,15 -255,12 +255,16 @@@ void StatePropagatorDataGpu::Impl::copy
                                                  AtomLocality                         atomLocality,
                                                  CommandStream                        commandStream)
  {
      GMX_UNUSED_VALUE(dataSize);
  
 +    GMX_ASSERT(atomLocality < AtomLocality::Count, "Wrong atom locality.");
 +
      GMX_ASSERT(dataSize >= 0, "Trying to copy to device buffer before it was allocated.");
  
 +    GMX_ASSERT(commandStream != nullptr,
 +               "No stream is valid for copying with given atom locality.");
+     wallcycle_start_nocount(wcycle_, ewcLAUNCH_GPU);
+     wallcycle_sub_start(wcycle_, ewcsLAUNCH_STATE_PROPAGATOR_DATA);
  
      int atomsStartAt, numAtomsToCopy;
      std::tie(atomsStartAt, numAtomsToCopy) = getAtomRangesFromAtomLocality(atomLocality);
@@@ -277,15 -289,12 +293,16 @@@ void StatePropagatorDataGpu::Impl::copy
                                                    AtomLocality             atomLocality,
                                                    CommandStream            commandStream)
  {
      GMX_UNUSED_VALUE(dataSize);
  
 +    GMX_ASSERT(atomLocality < AtomLocality::Count, "Wrong atom locality.");
 +
      GMX_ASSERT(dataSize >= 0, "Trying to copy from device buffer before it was allocated.");
  
 +    GMX_ASSERT(commandStream != nullptr,
 +               "No stream is valid for copying with given atom locality.");
+     wallcycle_start_nocount(wcycle_, ewcLAUNCH_GPU);
+     wallcycle_sub_start(wcycle_, ewcsLAUNCH_STATE_PROPAGATOR_DATA);
  
      int atomsStartAt, numAtomsToCopy;
      std::tie(atomsStartAt, numAtomsToCopy) = getAtomRangesFromAtomLocality(atomLocality);
@@@ -321,8 -341,11 +349,11 @@@ void StatePropagatorDataGpu::Impl::copy
      // TODO: remove this by adding an event-mark free flavor of this function
      if (GMX_GPU == GMX_GPU_CUDA)
      {
 -        xReadyOnDevice_[atomLocality].markEvent(commandStream);
 +        xReadyOnDevice_[atomLocality].markEvent(xCopyStreams_[atomLocality]);
      }
+     wallcycle_sub_stop(wcycle_, ewcsLAUNCH_STATE_PROPAGATOR_DATA);
+     wallcycle_stop(wcycle_, ewcLAUNCH_GPU);
  }
  
  GpuEventSynchronizer*
index e90277657376776d8dd6d43604735cfde9c90344,7e8a8199c39a862fb39cfb2cbf26f3f98a8cfdd7..bf6935b20c31daa2ad17b8c4aadfb077a0717a0a
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index faa84fdc9c00159895a73a587db35f049571c29c,dc8fc3e4930b5b13e246f01e9ae6dc388030e421..7ae50a611661c0b50cadc54bb321614130112c03
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index 72c6dfa76b8cf546f2ab6e7ad99e8f9c12d8dd78,c785f5d3dddf88ab0be79ab9679b576bdc143712..b116f29b2cfc8029a035dd396ea493017ec4fa03
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index a93b2070fb344cf631c66e6fbd0b320fcdfc5421,6d4986d2dd9137f97ed21b9fd6fe8a9fc0d34a54..de1e152718d425fe24c408291018af4c7908c2d6
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index 718fc2ccbf1155e2f14f2acf6b1942190c3c28f7,54df4768d77a2b295dd5116f4a2ee60f10ab1130..11f9212f7cf5b905561e99056e5ab4dc67afe48e
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index c59f6d1e8bade7404add682771e19c4ebd038b35,17b8eb47cb30ccf1cdafda2a07c38fa3ea9c9097..c0ed27be688ca93c6e298b743f84ac6291224b6a
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index eed831f0e7c6cfe6ee9c9082485d8edbfa2444bc,d6a7fac8d385700b3e20373b05a8d8187b1e8a77..71a3d269f30799543d668331aa77564c77dcc920
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * 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.
index a535842e7ef5f28240308329cb5937acad8305cd,53bd7541efddd79f6758ee27091f9dcf45374021..efb713c093b8f1c414b70867594fe11d20e90401
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 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.
index 04d0dfd3838fa29fd09171261ea4f42c5cd0b08d,acf3717d8eba6746aa389cc392cdd111f9a82b84..2bec5d520b9c66f82e39e7bc90775650505f5060
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 2012-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.
index c20deec924102628ce1a33e4c3a6cfa4709c0e39,a93cda1ea6d0638ce7dbf72242bfaf052dc80b5f..b70211fbcd0d59abca5966dc378fa5a02e31de22
@@@ -3,7 -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.
index 20b8bf1d4c6f4454b41d4c6dfc2374e5eee17085,de6ec28f5abcc90d666f2036f18afabfc727392c..c9e304e19bdbda8a34f669203e293700a8fc75b7
@@@ -3,7 -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.
index a83b2b82e04324f7fc3048a9719c7c439ef194cd,9b069fd890a44c139a700fe8bc9a00001855848a..bfd43291b253cb55c63ad9c10c65d26064b208ff
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2015,2016,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 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.
index 08ff410b406fd6e389543665cfce7abee9cebbfd,45ba2d333f43312593fdec38641d882d5532319e..573cac02cfcbf742df5015b9a403c6913643f275
@@@ -1,7 -1,7 +1,7 @@@
  /*
   * This file is part of the GROMACS molecular simulation package.
   *
-- * Copyright (c) 2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 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.
index 59a55b8bd1ae5ca52e4b40a47f1317d0c729ddfb,638b8dc475e7da59a742f77479e202089109fdb0..9c5ff6e63a14e61b42dc3371e0874d083b7a6da1
@@@ -3,7 -3,7 +3,7 @@@
   *
   * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
   * Copyright (c) 2001-2008, 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.
index fa65919c609a794fa2aded880ae370ec06ef4691,c2d5bc8bf51798a5dc8514c85377b5d12ac8cbd9..85bd5b59d573d5ee68487be35c26a7295ab97d4b
@@@ -3,7 -3,7 +3,7 @@@
   *
   * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
   * Copyright (c) 2001-2008, The GROMACS development team.
-- * Copyright (c) 2013,2014,2015,2017,2018,2019, by the GROMACS development team, led by
++ * Copyright (c) 2013,2014,2015,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.
index e5869b594ce151b66b8e8faa009b1e9016b48003,c6bda330656d5d723ae79f650c249904d51cc2d1..beb86b9b3a610446dc11cad134eea2c5458ab9d3
@@@ -1,7 -1,7 +1,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
--# 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.
index 0000000000000000000000000000000000000000,5b0db0bfe0dadf01ec5f93ac32b2a13a58963d30..9414b16c9f2e2659a8b53e2728627c363f1c0668
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,118 +1,118 @@@
 - * Copyright (c) 2019, by the GROMACS development team, led by
+ /*
+  * This file is part of the GROMACS molecular simulation package.
+  *
++ * 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.
+  *
+  * GROMACS is free software; you can redistribute it and/or
+  * modify it under the terms of the GNU Lesser General Public License
+  * as published by the Free Software Foundation; either version 2.1
+  * of the License, or (at your option) any later version.
+  *
+  * GROMACS is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  * Lesser General Public License for more details.
+  *
+  * You should have received a copy of the GNU Lesser General Public
+  * License along with GROMACS; if not, see
+  * http://www.gnu.org/licenses, or write to the Free Software Foundation,
+  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+  *
+  * If you want to redistribute modifications to GROMACS, please
+  * consider that scientific software is very special. Version
+  * control is crucial - bugs must be traceable. We will be happy to
+  * consider code for inclusion in the official distribution, but
+  * derived work must not be called official GROMACS. Details are found
+  * in the README & COPYING files - if they are missing, get the
+  * official version at http://www.gromacs.org.
+  *
+  * To help us fund GROMACS development, we humbly ask that you cite
+  * the research papers on the package. Check out http://www.gromacs.org.
+  */
+ /*! \internal \file
+  * \brief
+  * Checks that expected output files are present
+  *
+  * \author Pascal Merz <pascal.merz@me.com>
+  * \ingroup module_mdrun_integration_tests
+  */
+ #include "gmxpre.h"
+ #include "gromacs/utility/path.h"
+ #include "gromacs/utility/stringutil.h"
+ #include "testutils/simulationdatabase.h"
+ #include "moduletest.h"
+ namespace gmx
+ {
+ namespace test
+ {
+ namespace
+ {
+ /*! \brief Test fixture base for presence of output files
+  *
+  * This test checks that some expected output files are actually written
+  * in a very simple mdrun call. Currently, it tests for the presence of
+  * full precision trajectory (.trr), log file (.log), energy trajectory (.edr),
+  * final configuration (.gro) and checkpoint file (.cpt).
+  *
+  * The test only checks whether the files are existing, it does not check
+  * their contents.
+  */
+ using OutputFilesTestParams = std::tuple<std::string, std::string>;
+ class OutputFiles : public MdrunTestFixture, public ::testing::WithParamInterface<OutputFilesTestParams>
+ {
+ };
+ TEST_P(OutputFiles, FilesArePresent)
+ {
+     auto params         = GetParam();
+     auto simulationName = std::get<0>(params);
+     auto integrator     = std::get<1>(params);
+     SCOPED_TRACE(
+             formatString("Checking for presence of expected output files using "
+                          "simulation '%s' with integrator '%s'",
+                          simulationName.c_str(), integrator.c_str()));
+     // Prepare the .tpr file
+     {
+         CommandLine caller;
+         runner_.useTopGroAndNdxFromDatabase(simulationName);
+         runner_.useStringAsMdpFile(prepareMdpFileContents(
+                 prepareMdpFieldValues(simulationName.c_str(), integrator.c_str(), "no", "no")));
+         EXPECT_EQ(0, runner_.callGrompp(caller));
+     }
+     // Do mdrun
+     {
+         CommandLine mdrunCaller;
+         ASSERT_EQ(0, runner_.callMdrun(mdrunCaller));
+     }
+     // Check if expected files are present
+     {
+         for (const auto& file : { runner_.fullPrecisionTrajectoryFileName_, runner_.logFileName_,
+                                   runner_.edrFileName_, fileManager_.getTemporaryFilePath("state.gro"),
+                                   fileManager_.getTemporaryFilePath("state.cpt") })
+         {
+             EXPECT_TRUE(File::exists(file, File::returnFalseOnError))
+                     << "File " << file << " was not found.";
+         }
+     }
+ }
+ INSTANTIATE_TEST_CASE_P(Argon12,
+                         OutputFiles,
+                         ::testing::Combine(::testing::Values("argon12"),
+                                            ::testing::Values("md", "md-vv")));
+ } // namespace
+ } // namespace test
+ } // namespace gmx
index de6a5af418c8940d012140822f7f3c26fcc68625,2dbc14b37f0ca0476a1f7d4d729b56c0f85e644f..0f0200396f0519087be651958a4bd5e373541ee6
@@@ -1,7 -1,7 +1,7 @@@
  #
  # This file is part of the GROMACS molecular simulation package.
  #
--# Copyright (c) 2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
++# Copyright (c) 2012,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.