# 氢质量重分配

**氢质量重分配**（hydrogen mass repartitioning，HMR）是分子动力学模拟中的一种技术：把质量从每个重原子转移到与它成键的氢原子上，在保持分子总质量不变的同时，减缓最快的原子运动，从而可以采用更大的积分时间步长。在最常见的方案中，每个氢原子的质量被提高到三倍，约为 3 amu，这使得全原子模拟可以用 4 fs 的时间步长运行，而非常规的 1 至 2 fs。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC7902386/)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup>

| 关键事实 | 细节 |
|---|---|
| 机制 | 质量从每个重原子重新分配到与其共价成键的氢原子上，同时保持分子总质量守恒。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup> |
| 标准方案 | 每个氢原子的质量提高到原来的 3 倍（约至 3 amu），相应地从母体重原子中扣除。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC7902386/)</sup> |
| 时间步长 | 在合理的模拟稳定性下，可将时间步长提高到 4 fs，而典型上限为 2 fs。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup> |
| 起源 | 由费恩斯特拉（Feenstra）等人于 1999 年提出；霍普金斯（Hopkins）等人于 2015 年证明其在蛋白质模拟中具有实用价值。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC7902386/)</sup> |
| 水的注意事项 | 对水施加 HMR 会增大水的黏度并减慢蛋白质构象转变速率，因此不应将其应用于水。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup> |
| 软件支持 | NAMD、AMBER、ACEMD、GROMACS 和 OpenMM 均提供支持；CHARMM-GUI 为 NAMD、GROMACS、AMBER、GENESIS、LAMMPS、Desmond 和 OpenMM 支持 HMR。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10027446/)</sup><sup> • </sup><sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC7902386/)</sup> |
| 典型收益 | GROMACS 报告其基于 grompp 的 HMR 选项使性能提高到原来的近两倍；一份教程基准测试测得从 26.9 ns/day 提升到 52.3 ns/day。<sup>[4](https://gromacs-manual.biophysics.kth.se/2026.4/release-notes/2024/major/performance.html)</sup><sup> • </sup><sup>[5](https://tutorials.gromacs.org/docs/md-intro-tutorial.html)</sup> |

## 物理基础

原子级分子动力学模拟的积分时间步长由体系中最快的运动决定，通常是涉及氢原子的键伸缩，其周期约为 10 fs；积分器在约该周期一半以内是稳定的。<sup>[6](https://software.acellera.com/acemd/explanation/integrator-and-constraints.html)</sup> 由于振动频率取决于原子质量，增大氢原子的质量会降低这些振动的频率。<sup>[7](https://sire.openbiosim.org/tutorial/part06/06_faster_fep.html)</sup> 单纯给氢原子增加质量会使整个分子变重并减慢所有运动，因此改为从成键的重原子那里移走质量，使总质量保持不变。<sup>[8](https://openmm.github.io/openmm-cookbook/PR49/notebooks/tutorials/simulation_parameters.html)</sup>

有两点性质使这一做法在许多用途下是安全的。可观测量的平衡热力学平均值与系综平均值与具体的质量分布无关，而自由能由势能导出，势能并不依赖于质量。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10027446/)</sup><sup> • </sup><sup>[7](https://sire.openbiosim.org/tutorial/part06/06_faster_fep.html)</sup> 理论上，把氢的质量提高到三倍只允许时间步长增大到约 \( \sqrt{3} \) 倍，然而在实践中 4 fs 的时间步长已被常规使用。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup>

## 历史与采用

费恩斯特拉及其同事在 1999 年指出，选择性地增大某些原子的质量实际上是重新标度了所模拟的时间长度，并规定在原子之间重新分配质量，使体系总质量保持不变。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10027446/)</sup> 霍普金斯及其同事在 2015 年将其改进为现代算法，证明在氢质量为 3 amu、时间步长为 4 fs 时，能够一致地重现显式溶剂中小肽和大蛋白质的常规模拟所观察到的构象。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup> 此后 HMR 在 NAMD、AMBER、ACEMD 和 GROMACS 中得到经常使用，主要原因是它无需修改分子动力学源代码即可实现，而 CHARMM-GUI 网络服务则使其为更广泛的群体所使用。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10027446/)</sup>

## 在各模拟软件包中的实现

各软件包以不同方式提供这一技术。

- **GROMACS** 过去通过 `pdb2gmx` 提供 HMR，该工具会修改拓扑，这一选项鲜有人用。从 2024.0 版（2024 年 1 月 30 日发布）起，`grompp` 中通过 `mass-repartition-factor` 这一 mdp 选项提供了灵活的方案，作用于标准拓扑，性能提高到原来的近两倍。<sup>[4](https://gromacs-manual.biophysics.kth.se/2026.4/release-notes/2024/major/performance.html)</sup><sup> • </sup><sup>[9](https://manual.gromacs.org/documentation/2024.1/release-notes/2024/major/highlights.html)</sup> GROMACS 手册指出，采用重分配后的质量时，时间步长常常可以提高到 4 fs，这不影响平衡分布，但会使动力学略微变慢。<sup>[10](https://www.rro.rs/gentoo-distfiles/distfiles/85/manual-2024.6.pdf)</sup> 一份在 8 个 CPU 核心上的教程基准测试测得：常规分子动力学为 26.9 ns/day，而在 `mass-repartition-factor = 3` 与 4 fs 时间步长下为 52.3 ns/day。<sup>[5](https://tutorials.gromacs.org/docs/md-intro-tutorial.html)</sup>
- **OpenMM** 在创建体系时提供 `hydrogenMass` 参数，例如 `hydrogenMass=4*amu`。它只作用于与重原子成键的氢原子，加给氢原子的质量会从重原子中扣除，保持总量不变；与约束结合使用时，可以进一步增大步长。<sup>[11](https://docs.openmm.org/6.3.0/userguide/application.html)</sup> OpenMM Setup 工具默认使用 `hydrogenMass=1.5*amu`，据称这是在尽量不影响动力学的前提下提高时间步长的普遍良好选择。<sup>[8](https://openmm.github.io/openmm-cookbook/PR49/notebooks/tutorials/simulation_parameters.html)</sup> 2023 年的一条 OpenMM 问题报告记录称，对 `hydrogenMass` 行为的改动使其在 `rigidWaters=True` 时不再作用于水，导致一些用户在创建体系后手动设置氢和氧的质量。<sup>[12](https://github.com/openmm/openmm/issues/4235)</sup>
- **AMBER** 提供 `hmassrepartition` 命令，它默认将与所选重原子成键的所有氢原子的质量提高到 3.024 u，并相应减小重原子的质量以保持总质量不变；`dowater` 选项可将该处理扩展到水。<sup>[13](https://amberhub.chpc.utah.edu/hmassrepartition/)</sup> 工作流程中通常用 ParmEd 在平衡前将其应用于已有的 parm7 拓扑，以便以 4 fs 而非 2 fs 运行。<sup>[14](https://github.com/purnawanpp/HMS)</sup>
- **OpenFF Interchange** 在 v0.3.20 版（2024 年 2 月）中为其 OpenMM 和 GROMACS 导出功能加入了 HMR，通过相关导出方法的 `hydrogen_mass` 参数施加。<sup>[15](https://zenodo.org/records/10651907)</sup>
- **ACEMD** 将 HMR 内建于其默认的 4 fs 时间步长之中，并与键约束配合，因此一个普通的运行设定就能得到稳定的轨迹。<sup>[6](https://software.acellera.com/acemd/explanation/integrator-and-constraints.html)</sup>

## 验证与局限

**膜体系。** 一项系统性比较研究了膜与膜蛋白体系在无 HMR、2 fs 下与有 HMR、4 fs 下的表现，发现结构性质（如每脂质面积、电子密度分布和序参量）几乎没有差异，尽管扩散系数有所不同；通过孔蛋白的电导、肽的分配、氢键动力学以及膜混合对 HMR 和时间步长的依赖性极小。采用标准 12 Å 截断半径的 HMR 与常规模拟一致，但将截断半径缩短到 9 Å 会改变若干结构和动力学性质，因此作者得出结论：HMR 对膜体系是有效的，而 9 Å 截断半径则不是。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup> 在 CPU 上，4 fs 方案比 2 fs 方案快约 75%；在 GPU 上，从 2 fs 到 4 fs 的加速在 NAMD 中为 40%，在 Amber16 中为 85% 至 90%。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup>

**水。** HMR 不应施加于水：同时施加于蛋白质和水会增大水的黏度，并减慢蛋白质构象之间的转变速率。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)</sup> 另外，对刚性水模型的研究报告称，在氢与氧之间重新分配质量（将氢提高到约 3 amu，并将氧减少两倍于此的量），在常与该方案搭配使用的 4 fs 时间步长下仍会导致能量均分失效；水的刚体描述需要 0.5 fs 或更小的时间步长才能准确模拟其动力学。<sup>[16](https://www.osti.gov/servlets/purl/2283867)</sup><sup> • </sup><sup>[17](https://arxiv.org/abs/2412.03448)</sup>

**动力学。** 由于质量发生改变，动力学量需要谨慎对待。一项关于蛋白质-配体识别的研究发现，长时间步长分子动力学可能延缓该过程，而 SEEKR2 里程碑法平台支持时间步长最高达 4 fs 的 HMR，它报告称在其所研究的体系中，HMR 显著降低了计算成本，而预测动力学的精度几乎没有损失。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC10027446/)</sup><sup> • </sup><sup>[18](https://commons.ii.inc/documents/PMCID%3APMC9277580)</sup> 一项 2026 年关于丙氨酸二肽的副本交换研究发现，氢质量增至原来的两倍（HMR2）和三倍（HMR3）的模型能够重现参考模型的能量与构象性质，计算效率最高达到原来的 4 倍，并得出结论：由于适用面更广且更简单，HMR 优于轻水模型。<sup>[19](https://pubmed.ncbi.nlm.nih.gov/41510765/)</sup> 一种采用非均匀缩放因子、仅作用于溶质分子的优化 HMR 方案，重现了平动和转动扩散，并在约 200 微秒的可溶性蛋白、膜蛋白和脂双层模拟中，于 2 fs 与更大的多时间步积分之间给出一致的结果，计算效率达到常规方法的两倍以上。<sup>[20](https://pubs.acs.org/doi/abs/10.1021/acs.jctc.1c00185)</sup>

**数值误差。** 增大时间步长会加剧系统性的离散化误差，在 Verlet 族积分器中，这些误差表现为势能和体积等热力学可观测量的偏差正比于 \( \Delta t^{2} \)；轨迹在表面上呈现的数值稳定性可能掩盖这些底层的热力学不准确。<sup>[21](https://arxiv.org/abs/2603.02383)</sup>

## 相关方法

HMR 是延长时间步长的若干方法之一。约束与氢成键的键可将安全上限提高到约 2 fs，约束所有键则可提高到约 3 fs；用虚拟相互作用位点替代氢原子，在 GROMACS 中可实现 4 或 5 fs 的时间步长。<sup>[6](https://software.acellera.com/acemd/explanation/integrator-and-constraints.html)</sup><sup> • </sup><sup>[10](https://www.rro.rs/gentoo-distfiles/distfiles/85/manual-2024.6.pdf)</sup> 多时间步为达到同一目的提供了另一条途径：在 GROMACS 教程基准测试中，对长程非键力采用多时间步达到 50.8 ns/day，接近质量重分配的 52.3 ns/day，而两种方法都会略微改变体系的动力学。<sup>[5](https://tutorials.gromacs.org/docs/md-intro-tutorial.html)</sup> 降低水的质量而非提高氢的质量，即轻水方法，在副本交换模拟中被发现效率低于 HMR3，且仅限于富水体系。<sup>[19](https://pubmed.ncbi.nlm.nih.gov/41510765/)</sup>

## References

1. [CHARMM-GUI Supports Hydrogen Mass Repartitioning and Different Protonation States of Phosphates in LPS, J. Chem. Theory Comput./PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC7902386/)
2. [Accelerating Membrane Simulations with Hydrogen Mass Repartitioning, J. Chem. Theory Comput. 2019, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC7271963/)
3. [Long-time-step molecular dynamics can retard simulation of protein-ligand recognition process, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC10027446/)
4. [GROMACS 2024 release notes: Performance improvements](https://gromacs-manual.biophysics.kth.se/2026.4/release-notes/2024/major/performance.html)
5. [Molecular dynamics simulation of a small protein using GROMACS, GROMACS tutorials](https://tutorials.gromacs.org/docs/md-intro-tutorial.html)
6. [Integrator and constraints, ACEMD documentation](https://software.acellera.com/acemd/explanation/integrator-and-constraints.html)
7. [Running Faster Free Energy Simulations, sire/openbiosim tutorial](https://sire.openbiosim.org/tutorial/part06/06_faster_fep.html)
8. [Selecting Values for Simulation Parameters, OpenMM Cookbook](https://openmm.github.io/openmm-cookbook/PR49/notebooks/tutorials/simulation_parameters.html)
9. [GROMACS 2024.0 Highlights](https://manual.gromacs.org/documentation/2024.1/release-notes/2024/major/highlights.html)
10. [GROMACS Documentation, Release 2024.6](https://www.rro.rs/gentoo-distfiles/distfiles/85/manual-2024.6.pdf)
11. [The OpenMM Application Layer: Introduction, OpenMM Users Guide 6.3](https://docs.openmm.org/6.3.0/userguide/application.html)
12. [OpenMM issue #4235: Allow setting water hydrogen mass with rigid water forcefields](https://github.com/openmm/openmm/issues/4235)
13. [hmassrepartition, AMBER-hub](https://amberhub.chpc.utah.edu/hmassrepartition/)
14. [Hydrogen Mass Repartitioning using AmberTools, Parmed and GROMACS, GitHub tutorial](https://github.com/purnawanpp/HMS)
15. [OpenFF Interchange v0.3.20 release record, Zenodo](https://zenodo.org/records/10651907)
16. [MD Simulation of Water Using a Rigid Body Description Requires a Small Time Step to Ensure Equipartition (OSTI document)](https://www.osti.gov/servlets/purl/2283867)
17. [Consequences of the failure of equipartition for the p-V behavior of liquid water, arXiv:2412.03448](https://arxiv.org/abs/2412.03448)
18. [SEEKR2 with the OpenMM Molecular Dynamics Engine (PMC9277580)](https://commons.ii.inc/documents/PMCID%3APMC9277580)
19. [Accelerating Replica Exchange Molecular Dynamics: A Comparison of Hydrogen Mass Repartitioning and Light Water Models, J. Chem. Theory Comput. 2026, PubMed](https://pubmed.ncbi.nlm.nih.gov/41510765/)
20. [Optimized Hydrogen Mass Repartitioning Scheme Combined with Accurate Temperature/Pressure Evaluations, J. Chem. Theory Comput.](https://pubs.acs.org/doi/abs/10.1021/acs.jctc.1c00185)
21. [Extrapolating molecular dynamics simulations to zero time step and across thermodynamic space, arXiv:2603.02383](https://arxiv.org/abs/2603.02383)

---
*Initially written Oct 22, 2026*

Topic: 物质世界与数学 › 物理学 › 物理学方法、实践与学术共同体 › Applied and interdisciplinary physics › Computational and simulation physics › Numerical methods in physics › Molecular and particle simulation methods › Classical molecular dynamics

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/hydrogen-mass-repartitioning

English original: https://www.edgepedia.org/hydrogen-mass-repartitioning
