Fixes to Slab Failure Criterion & Weak Layer Presets
This update fixes slab failure criterion calculations and introduces standardized presets for quicker model setup. Key improvements include:
- Slab Criterion Fix: Bug Fix + Finer resolution ($dz=1$ instead of $dz=5$) for more accurate tensile criterion evaluation.
-
Weak Layer Presets: Added a library of named presets (e.g.,
VERY_WEAK_LAYER,WEAK_LAYER) and a factory helper for easier instantiation. -
Strict Config Validation: Implemented model validators to ensure
touchdown=Trueis only permitted when using theclassicbackend, preventing invalid simulation states.
๐ ๏ธ Code Maintenance
- Dependency Update: Bumped
ipykernelminimum version for better environment compatibility. - Refactored Tests: Standardized force decomposition tests to explicitly include the
thetaparameter.
๐งช Testing
Expanded regression testing for the SteadyState module and added comprehensive validation tests to ensure the new configuration constraints and backend logic are enforced at runtime.
๐ฆ Pull Requests Included
PR #45: Bugfix slab criterion + Weak Layer Presets + Regression Test Steady State.
Full Changelog: v3.1.3...v3.1.4