Skip to content

Use absolute sccache and Ninja; add modular docs - #100

Open
chemiskyy wants to merge 2 commits into
masterfrom
doc/modular
Open

Use absolute sccache and Ninja; add modular docs#100
chemiskyy wants to merge 2 commits into
masterfrom
doc/modular

Conversation

@chemiskyy

Copy link
Copy Markdown
Member

Use the absolute SCCACHE_PATH (forward-slash normalized) for CMake compiler launchers, enable SCCACHE_IDLE_TIMEOUT=0 and set CMAKE_GENERATOR=Ninja so scikit-build-core picks Ninja. Install/ensure ninja on Windows, show sccache stats after builds, and update CMake invocations to use the SCCACHE_PATH on Unix/Windows. Also add new documentation for the modular Python builder and include it in the simulation docs index (docs/simulation/modular_python.rst, index.rst).

Use the absolute SCCACHE_PATH (forward-slash normalized) for CMake compiler launchers, enable SCCACHE_IDLE_TIMEOUT=0 and set CMAKE_GENERATOR=Ninja so scikit-build-core picks Ninja. Install/ensure ninja on Windows, show sccache stats after builds, and update CMake invocations to use the SCCACHE_PATH on Unix/Windows. Also add new documentation for the modular Python builder and include it in the simulation docs index (docs/simulation/modular_python.rst, index.rst).
Introduce a drift-guard and per-mechanism commit checks for the modular UMAT: cache guarded constraint rows in ModularUMAT, arm the guard when >=2 guarded rows are present, and reject increments on non-finite stress, runaway committed multipliers or excessive state drift. Add virtual hooks to StrainMechanism (guarded_constraints, multiplier_cap, committed_multiplier, drift_tolerance, state_drift) and mark viscoelastic/damage rows as unguarded. Implement PlasticityMechanism's state_drift, drift_tolerance, multiplier_cap and committed_multiplier. Add YieldCriterion::has_stable_flow_direction to classify criteria. Keep the incremental CCP update and document rationale for the commit semantics. Other changes: clarify modular Python docs (yield P admissibility, damage evolution params, corate choice), update example thermal files (initial temp -> 323.15), simplify CI Windows pip install (remove ninja), and tighten THYPER test to assert reference/output loads and dimensions instead of copying reference files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant