amangkurat: A Python Library for Simulating Nonlinear Klein-Gordon Equation

Published:Dec 27, 2025 16:15
1 min read
ArXiv

Analysis

This paper introduces a new open-source Python library, amangkurat, for simulating the nonlinear Klein-Gordon equation. The library uses a hybrid numerical method (Fourier pseudo-spectral spatial discretization and a symplectic Størmer-Verlet temporal integrator) to ensure accuracy and long-term stability. The paper validates the library's performance across various physical regimes and uses information-theoretic metrics to analyze the dynamics. This work is significant because it provides a readily available and efficient tool for researchers and educators in nonlinear field theory, enabling exploration of complex phenomena.

Reference

The library's capabilities are validated across four canonical physical regimes: dispersive linear wave propagation, static topological kink preservation in phi-fourth theory, integrable breather dynamics in the sine-Gordon model, and non-integrable kink-antikink collisions.