Skip to content

Label chart axes with LAMMPS units (#78) - #432

Merged
andeplane merged 3 commits into
mainfrom
fix/78-chart-units
Sep 11, 2026
Merged

Label chart axes with LAMMPS units (#78)#432
andeplane merged 3 commits into
mainfrom
fix/78-chart-units

Conversation

@andeplane

Copy link
Copy Markdown
Owner

Charts now label time, pressure, temperature, energy, RDF distance, MSD, and VACF using the active LAMMPS unit system reported at runtime. This supports included scripts and restart inputs without guessing from the top-level source. Labels are stored with the existing saved analysis data.

Selected-atom measurements use the same length units, and their plots correctly label the horizontal axis as Timestep. Custom variables/fixes identify their units as user-defined; unavailable metadata stays explicitly in simulation units.

Closes #78.

Validation: typecheck, 478 unit tests, production build, and two real-engine browser tests using included unit settings (real: fs/atm; metal: ps/bar). Unit mappings follow the LAMMPS units reference, including electron units' distinct velocity time scale.

@andeplane
andeplane merged commit 72d291f into main Sep 11, 2026
2 checks passed
@andeplane
andeplane deleted the fix/78-chart-units branch September 11, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add units to axis titles in plots

1 participant