Published July 1, 2026 | Version v1
Software Open

P3MaZe: a Mass-Zero constrained-dynamics formulation of particle–mesh electrostatics

  • 1. Centre Européen de Calcul Atomique et Moléculaire (CECAM), Ecole Polytechnique Fédérale de Lausanne, 1015 Lausanne, Switzerland
  • 2. ROR icon National Center of Competence in Research Materials' Revolution: Computational Design and Discovery of Novel Materials

* Contact person

Description

We introduce P3MaZe, a real-space particle–mesh electrostatic method that combines the standard short-range/long-range decomposition of Particle-Particle Particle-Mesh (P3M) electrostatics with the Mass-Zero constrained dynamics (MaZe) framework. In this formulation, the smooth long-range electrostatic potential is represented on a mesh as a zero-inertia auxiliary field, while the discretized Poisson equation is enforced as a holonomic constraint during molecular dynamics. By retaining the standard P3M decomposition, P3MaZe preserves the systematic accuracy controls associated with the real-space cutoff, the Ewald splitting, the mesh spacing, and the charge assignment procedure, while replacing the conventional multigrid Poisson solver by a constrained correction problem. The method is validated for molten NaCl and simple point-charge flexible water (SPC/Fw). Structural, translational, collective, and rotational dynamical observables are in quantitative agreement with those obtained with established electrostatic methods, including real-space P3M, and Ewald summation. The constrained formulation consistently requires fewer multigrid iterations than the corresponding real-space P3M solver while retaining the expected linear scaling with system size. These results establish P3MaZe as a promising new direction for scalable real-space electrostatics in large-scale molecular simulations.

Files

File preview

All files

Files (51.9 MiB)

Name Size
md5:736ec08e31137b5d3b8f0a3b71716738
51.3 MiB Preview Download
md5:481ee17230d979f72fe8690e978a21eb
4.1 KiB Preview Download
md5:84b83fecd6bc9be2c20678acd6f2f37b
578.5 KiB Preview Download

Funding

NCCR MARVEL
MARVEL/P3 - Digital Infrastructure of Open Simulations and Data pillar3

References

Preprint (Paper in which the method is described)
F. Troni, V. Gontran, D. Grassano, S. Bonella, arXiv:2606.31379 (2026)., doi: 10.48550/arXiv.2606.31379