Release/towards2 0 - #98
Merged
Merged
Conversation
Multiple API, docs and bug-fix changes: - Introduce typed tensor API updates (Tensor2Type) and propagate to examples/plugins/tests; replace VoigtType use and add file-level tensor.hpp docstring. - Update UMAT documentation and catalog to explain modular engine/adapters and legacy name mapping. - Delete prototype example (examples/umat_prototype_tensor.cpp). - Bench: call Python core solver via sim._core.solver. - Python: fix in-memory file parsing by re-anchoring tabular times to match C++ reader; add detailed solver_run pybind11 signature docs. - C++: clamp SMA algorithmic tangent to continuum to avoid ill-conditioned FD Hessian; throw on missing mode-3 increment file; fix step_thermomeca file header and add generate_kin docs in step headers. - Tests: adjust reference driver to pass tangent_mode and update reference kernel file headers/names for clarity. These changes improve type safety for tensors, document modular UMAT behavior, align Python/C++ file parsing semantics, and harden solver behavior on edge cases.
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.
This pull request introduces several important updates and documentation clarifications for the upcoming 2.0 release of the
simcoonmechanics simulation library. The main changes include improved documentation for the modular UMAT engine and its legacy adapters, updates to tensor type tagging for improved clarity and safety, and a new utility to ensure consistent time anchoring when parsing legacy tabular input files. Additionally, the package version is bumped to2.0.0b1.Documentation and API updates:
docs/cpp_api/continuum_mechanics_overview.md,docs/simulation/umat_catalog.rst). [1] [2]tensor.hpp,step_meca.hpp,step_thermomeca.hpp). [1] [2] [3]Tensor type tagging and code safety:
VoigtTypewithTensor2Typein all tensor construction and conversion calls, improving clarity and type safety in both example and plugin UMATs (umat_tutorial_J2.cpp,umat_plugin_ext_EPICP.cpp,umat_plugin_ext_NEOHC.cpp). [1] [2] [3] [4] [5] [6] [7]Python interface improvements:
_reanchor_tabular_timesutility to the Python solver file parser to ensure legacy tabular input files are correctly time-anchored, matching C++ file reader behavior (files.py).Versioning:
2.0.0b1in preparation for the new release (pyproject.toml).Code cleanup:
umat_prototype_tensor.cppexample.