Update release notes for gmx msd and clear some TODOs
authorKevin Boyd <kevin44boyd@gmail.com>
Sun, 24 Oct 2021 23:40:40 +0000 (16:40 -0700)
committerKevin Boyd <kevin44boyd@gmail.com>
Sun, 24 Oct 2021 23:40:58 +0000 (16:40 -0700)
Fixes #3869

docs/release-notes/2022/major/tools.rst
src/gromacs/trajectoryanalysis/modules/msd.cpp

index e35b1f3e8f05bcb4355399eb54dfe051d64d365d..5613d2f5bd30acc56ce3be47e6c5b8fc8a4e4cec 100644 (file)
@@ -11,18 +11,26 @@ Improvements to |Gromacs| tools
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 
 The tool now uses the |Gromacs| selection syntax. Rather than piping selections via stdin,
-selections are now made using the "-sel" option.
+selections are now made using the "-sel" option. There is a new option called ``-maxtau``,
+which limits maximum time delta between frames to compare for calculating MSDs. This will allow
+users who otherwise would run into out-of-memory errors and slow execution with large systems
+to restrict sampling to useful tau values.
 
 This migration comes with about a 20% speedup in execution time.
 
-TODO: Modify/Delete this segment as features are added back in.
 Some rarely used features have yet to be migrated, including:
 
-- Mass weighting of MSDs cannot currently be turned on or off. It is set to on when -mol is set, otherwise off.
 - The -tensor option is not yet implemented.
 - System COM removal with -rmcomm has not yet been implemented.
 - B-factor writing using the -pdb option is not yet supported.
 
+A slight behavior change is the removal of the -mw option. ``gmx msd`` with ``-mol`` will
+take the MSD of the center-of-mass of of molecules, while no mass-weighting is done
+when ``-mol`` is not selected. In previous |Gromacs| versions, ``-mw`` was on by default,
+and ``-nomw`` was silently ignored when ``-mol`` was chosen. This change will only cause
+different results when performing MSD calculations on a non-homogenous group of particles without
+``-mol`` set.
+
 :issue:`2368`
 
 ``gmx chi`` no longer needs ``residuetypes.dat`` entries for custom residues
index beae64d65e997c07c119c284dab0d0da6cf5f7d5..0a0dd25616e296690a6b9e50689926f763388b46 100644 (file)
@@ -391,12 +391,9 @@ struct MsdGroupData
 
 /*! \brief Implements the gmx msd module
  *
- * \todo Implement -(no)mw. Right now, all calculations are mass-weighted with -mol, and not otherwise
  * \todo Implement -tensor for full MSD tensor calculation
  * \todo Implement -rmcomm for total-frame COM removal
  * \todo Implement -pdb for molecule B factors
- * \todo Implement -maxtau option proposed at https://gitlab.com/gromacs/gromacs/-/issues/3870
- * \todo Update help text as options are added and clarifications decided on at https://gitlab.com/gromacs/gromacs/-/issues/3869
  */
 class Msd : public TrajectoryAnalysisModule
 {