Use absolute sccache and Ninja; add modular docs - #100
Open
chemiskyy wants to merge 2 commits into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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).