Skip to content

docs: clarify install routes and fix q6-bar description - #8

Merged
HaoZeke merged 2 commits into
mainfrom
docs/rs-docs-acc-r2
Nov 19, 2026
Merged

HaoZeke merged 2 commits into
mainfrom
docs/rs-docs-acc-r2

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Clarifies the bundled and system libseams install routes in the book, and fixes the q6-bar prose, equations and rustdoc to match the implementation.


Note

Low Risk
Documentation, mdBook config, and rustdoc comment updates only; no runtime or API behavior changes.

Overview
Documentation-only PR that corrects user-facing guidance and scientific descriptions; no analysis or linking behavior changes.

Install paths: development.md now states that plain cargo add dseams does not enable the bundled engine, and spells out the two supported routes: cargo add dseams --features bundled (vendored seams-core + toolchain requirements) or linking an installed libseams via SEAMS_LIBDIR / pkg-config, with a pointer to the link guide.

q6-bar / Lechner–Dellago accuracy: The book and rustdoc replace vague “neighbour mean of q6” wording with q_l-bar formed by averaging complex q_lm over {i} ∪ N(i), then taking the normalized modulus. nucleation.md adds the full equations (enabled by mathjax-support = true in book.toml), ties steinhardt(..., average: true) to q6bar, and revises the ice-vs-liquid intuition (component cancellation vs scalar averaging). Matching tweaks appear in api.md and field docs on SteinhardtOptions, OrderOptions, and Steinhardt::average.

A fragment changelog entry records the fix.

Reviewed by Cursor Bugbot for commit ade18ab. Bugbot is set up for automated code reviews on this repo. Configure here.

Plain `cargo add dseams` does not enable the opt-in `bundled` feature from Cargo.toml, so building without it requires an installed libseams found via SEAMS_LIBDIR (or SEAMS_LIB_DIR with optional SEAMS_INCLUDE) or pkg-config module `seams`, per dseams-sys/build.rs.
…stdoc

Describe q6-bar accurately as the rotational invariant with 4*pi/(2*l+1) normalization formed from complex q_lm components averaged over {i} U N(i) (self plus non-self neighbours), matching seams_q6bar, seams_steinhardt, chill::steinhardtQlCutoff, cutoffSolid, qlmOneAtomDr, and qlOneAtom.
@HaoZeke
HaoZeke merged commit b04e4f8 into main Nov 19, 2026
9 checks passed
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.

1 participant