Conserved quantities and ensemble measure for Martyna–Tobias–Klein barostats with restricted cell degrees of freedom Preprint: perspective
Kohei Shinohara · 2026
Read Conserved quantities and ensemble measure for Martyna–Tobias–Klein barostats with restricted cell degrees of freedom Preprint: perspective by Kohei Shinohara (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-24061.txt.
Introduction
Shinohara derives the conserved quantity and ensemble measure for MTK barostats with limited cell motion. Barostats control pressure in molecular simulations by letting the cell shape change. In the standard MTK form, all cell degrees of freedom are active. Shinohara restricts motion to a subset of cell axes. The conserved energy-like quantity keeps the same form, with the count of active axes in place of the full count. He verifies exact conservation and gives a full integration scheme. The dynamics sample the right ensemble on the restricted shapes.
Catalog record
| CREATOR | Kohei Shinohara |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 45942 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.24061
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Conserved quantities and ensemble measure for Martyna–Tobias–Klein barostats with restricted cell degrees of freedom Preprint: perspective Kohei Shinohara Abstract We derive the conserved energy-like quantity and ensemble measure for Martyna–Tobias–Klein (MTK) barostats in which only a restricted subset of the cell degrees of freedom are active. In the standard fully anisotropic MTK formulation the number of barostat degrees of freedom is d 2 d^{2} , where d d is the spatial dimension. When only n c n_{c} axes of the cell matrix are allowed to fluctuate, the conserved energy-like quantity retains the same functional form but with d 2 d^{2} replaced by n c n_{c} in every term that counts barostat degrees of freedom. The derivation builds on the generalized Liouville framework for non-Hamiltonian systems and the existing MTK integration machinery. We verify that this quantity is exactly conserved, show that the resulting dynamics samples the isothermal–isobaric ensemble restricted to the submanifold of cell shapes in which inactive components are held fixed, and provide a complete Liouville-operator-based integration scheme for the masked MTK variant. I Introduction The Martyna–Tobias–Klein (MTK) equations of motion 3 extend the Nosé–Hoover chain (NHC) thermostat 2 ; 9 to constant-pressure molecular dynamics by coupling the simulation cell to a barostat variable. When combined with a measure-preserving, time-reversible integrator derived from the Liouville-operator formalism 6 , the MTK scheme provides a robust route to sampling the isothermal–isobaric ( NPT ) ensemble. In many practical applications, one does not wish to allow the full cell tensor to fluctuate. For example, slab geometries call for pressure control only along the surface normal ( NP_{z}T ensemble), while uniaxial-stress simulations constrain the lateral dimensions. Codes such as LAMMPS 5 already support such restricted-axis ensembles, following the Shinoda formulation 4 . The original MTK paper 3 derives the conserved energy-like quantity for the isotropic and fully anisotropic ( d^{2} degrees of freedom) cases, but does not treat the intermediate case in which a subset of cell axes is active. To the best of my knowledge, no compact published derivation exists for the corresponding reduced-degree-of-freedom conserved energy-like quantity and ensemble measure. Two restrictions apply to the present formulation. First, we address only diagonal cell-length fluctuations; the extension to off-diagonal tilt factors is left for future work. Second, each active cell axis must be orthogonal to all other axes (Sec. III ), which excludes certain non-orthogonal cell shapes from partial barostatting. This orthogonality condition is automatically satisfied for orthorhombic cells. For a hexagonal cell, the unique six-fold axis is orthogonal to the basal plane and may be barostatted alone, but simultaneous control of both in-plane basis vectors requires reformulation in an orthohexagonal supercell because they are not orthogonal. A fully triclinic cell cannot satisfy the condition at all. This short note fills the derivation gap identified above: we recall the generalized Liouville framework for non-Hamiltonian systems (Sec. II ), derive the equations of motion, the conserved energy-like quantity, and the expected ensemble for the masked MTK barostat (Sec. III ), and provide the Liouville-operator-based integration scheme for the masked variant (Appendix D ). For completeness, Appendices A – C summarize the standard integration schemes—the NHC thermostat, the isotropic MTK barostat, and the fully anisotropic MTK barostat—on which Appendix D builds. Sec. II and Appendices A – C review established material from Refs. 2 ; 3 ; 6 ; 9 ; the novel contributions of this note are contained in Sec. III and Appendix D . The implementation of the masked MTK barostat in ASE 1 is available at ase.md.nose_hoover_chain.MaskedMTKNPT . II Non-Hamiltonian systems The MTK equations of motion are non-Hamiltonian: the thermostat and barostat couplings break the symplectic structure. Their statistical-mechanical validity rests on the generalized Liouville framework for non-Hamiltonian systems 7 ; 8 ; 6 ; 9 , which we now summarize. We consider a dynamical system \displaystyle\dot{{\bm{x}}}=\bm{\xi}({\bm{x}}) (1) for n -dimensional phase-space variables {\bm{x}} . We write an initial condition {\bm{x}}_{0} and the corresponding trajectory {\bm{x}}_{t}:={\bm{x}}({\bm{x}}_{0},t) at time t . The Liouville operator \displaystyle i\mathcal{L} \displaystyle\coloneqq\bm{\xi}({\bm{x}})\cdot\nabla_{{\bm{x}}}, (2) gives the formal solution {\bm{x}}_{t}=e^{i\mathcal{L}t}\,{\bm{x}}_{0} . Factorizing e^{i\mathcal{L}\Delta t} via symmetric Trotter splittings yields time-reversible, measure-preserving integrators 6 . The phase-space compressibility of the dynamical system is defined as \displaystyle\kappa({\bm{x}}) \displaystyle\coloneqq\nabla_{{\bm{x}}}\cdot\dot{{\bm{x}}}=\sum_{i=1}^{n}\frac{\partial\xi_{i}({\bm{x}})}{\partial x_{i}}. (3) The phase-space volume elements d{\bm{x}}_{0} and d{\bm{x}}_{t} are related by the phase-space compressibility as \displaystyle d{\bm{x}}_{t}=\exp\left(\int_{0}^{t}\kappa({\bm{x}}_{s})ds\right)d{\bm{x}}_{0}. (4) The measure e^{-w(t)}d{\bm{x}}_{t} is conserved along the trajectory, where w(t) is an indefinite time integral of \kappa({\bm{x}}) along the trajectory, \displaystyle w(t) \displaystyle\coloneqq\int^{t}\kappa({\bm{x}}_{s})ds. (5) Note that we drop the dependence of w(t) on the initial condition {\bm{x}}_{0} when it is clear from context. We suppose that the system has m independent conserved quantities \Lambda_{k}({\bm{x}})\,(k=1,\dots,m) . For the initial condition {\bm{x}}_{0} , we write the values as C_{k}=\Lambda_{k}({\bm{x}}_{t}) . The microcanonical partition function of this system with conserved quantities \{C_{k}\} is defined as \displaystyle\Omega(\{C_{k}\})=\int d{\bm{x}}\,e^{-w(t)}\prod_{k=1}^{m}\delta(\Lambda_{k}({\bm{x}})-C_{k}). (6) Because the measure e^{-w}d{\bm{x}} is conserved along the trajectory, we can sample the microcanonical distribution by running a single trajectory and accumulating time averages with the assumption of ergodicity. III Masked MTK barostat Throughout this section, d denotes the spatial dimension, N the number of particles, and N_{f}=dN the number of physical degrees of freedom (in the absence of constraints). We write {\bm{r}}_{i} , {\bm{p}}_{i} , m_{i} , and {\bm{F}}_{i} for the position, momentum, mass, and force on particle i , and {\bm{h}} for the d\times d cell matrix whose rows are the basis vectors. We consider the case where only n_{c} of the d cell axes are allowed to fluctuate, i.e. the barostat momentum {\mathbf{p}_{g}} is restricted to have at most n_{c} nonzero diagonal entries while the cell matrix {\bm{h}} itself may have arbitrary shape. Label the first n_{c} axes as active and the remaining d-n_{c} axes as inactive, and let {\bm{e}}_{k} be the unit vector along the k -th cartesian axis associated with the cell matrix {\bm{h}} , not a fixed cartesian unit vector. We denote the length of the k -th axis as \lambda_{k} , \displaystyle{\bm{h}} \displaystyle=\begin{pmatrix}\lambda_{1}{\bm{e}}_{1}^{\top}\\ \vdots\\ \lambda_{d}{\bm{e}}_{d}^{\top}\end{pmatrix}. (7) The masked barostat momentum is restricted to the subspace spanned by the active axes: \displaystyle{\mathbf{p}_{g}}=\sum_{c=1}^{n_{c}}p_{c}\,{\bm{e}}_{c}{\bm{e}}_{c}^{\top}, (8) where p_{c} is the scalar momentum conjugate to axis c . We assume the active axes are orthogonal to all other axes, \displaystyle{\bm{e}}_{c}^{\top}{\bm{e}}_{k}=0,\quad c=1,\dots,n_{c},\;k\neq c. (9) This condition is automatically satisfied for orthorhombic cells. For non-orthogonal cells it restricts which axes may be active: in a hexagonal cell the unique six-fold axis is orthogonal to the basal plane and may be barostatted alone, but activating both in-plane hexagonal basis vectors would violate orthogonality because they are not orthogonal; one must instead adopt an orthohexagonal supercell. A fully triclinic cell, in which no pair of axes is in general orthogonal, falls outside the scope of this formulation entirely. III.1 Equations of motion To make the masked formulation explicit, we first write the physical Hamiltonian and instantaneous internal stress tensor: \displaystyle\mathcal{H}({\bm{r}},{\bm{p}}) \displaystyle\coloneqq\sum_{i=1}^{N}\frac{{\bm{p}}_{i}^{2}}{2m_{i}}+U({\bm{r}}), (10) \displaystyle\mathbf{P}^{\mathrm{int}} \displaystyle=\frac{1}{\det{\bm{h}}}\sum_{i=1}^{N}\left[\frac{{\bm{p}}_{i}{\bm{p}}_{i}^{\top}}{m_{i}}+{\bm{F}}_{i}{\bm{r}}_{i}^{\top}\right], (11) where we assume the potential energy U depends only on the particle positions {\bm{r}} and not on the cell {\bm{h}} . The thermostat chain variables are (\eta_{j},p_{\eta_{j}}) and the barostat chain variables are (\xi_{j},p_{\xi_{j}}) for j=1,\dots,M . Their driving forces are \displaystyle G_{1} \displaystyle\coloneqq\sum_{i=1}^{N}\frac{{\bm{p}}_{i}^{2}}{m_{i}}-N_{f}kT, (12a) \displaystyle G_{j} \displaystyle\coloneqq\frac{p_{\eta_{j-1}}^{2}}{Q_{j-1}}-kT\quad(j=2,\dots,M), (12b) \displaystyle G^{\prime}_{1} \displaystyle\coloneqq\sum_{c=1}^{n_{c}}\frac{p_{c}^{2}}{W_{g}}-n_{c}kT, (12c) \displaystyle G^{\prime}_{j} \displaystyle\coloneqq\frac{p_{\xi_{j-1}}^{2}}{Q^{\prime}_{j-1}}-kT\quad(j=2,\dots,M). (12d)