Amorphous carbon, A.3.1 Appendix MP-0 #319
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pre-review checklist for PR author
PR author must check the checkboxes below when creating the PR.
Summary
Adds the amorphous carbon melt–quench benchmark: NVT melt at 8000 K, fast quench to
300 K, geometry optimization, and sp3 fraction vs density comparison to DFT and
experimental references. Corresponds to test A.3.1 in MP-0 paper.
Linked issue
Resolves #296
Progress
Testing
Tested models: not run yet (analysis/app only).
New rendering options
We extended generate_weas_html in ml_peg/app/utils/weas.py to accept optional visualization controls: color_by, color_ramp, legend_items, show_controls, and show_bounds. These parameters inject the corresponding JavaScript into the WEAS viewer (e.g., editor.avr.color_by, editor.avr.color_ramp, GUI toggle, and cell bounds), and optionally render a lightweight HTML legend overlay. This lets benchmark apps pass per-structure coloring metadata and display an in‑viewer legend without modifying the underlying structure files.