Skip to content

REFAC: extract stress/strain/rotation into C APIs and call them from Python - #277

Merged
Dengda98 merged 1 commit into
mainfrom
c-api
Aug 4, 2026
Merged

REFAC: extract stress/strain/rotation into C APIs and call them from Python#277
Dengda98 merged 1 commit into
mainfrom
c-api

Conversation

@Dengda98

@Dengda98 Dengda98 commented Aug 4, 2026

Copy link
Copy Markdown
Owner
  • Extract dynamic/static stress, strain, and rotation post-processing into reusable C APIs (grt_compute_* / grt_static_compute_*), with dedicated headers dyn_postprocess.h and static_postprocess.h.
  • Expose these APIs through c_interfaces.py and switch Python utils.py helpers to call the C implementations instead of duplicating the tensor formulas in Python. THIS BOOST PYTHON EXECUTION!!!
  • Keep CLI modules as thin wrappers over the shared C functions so C and Python paths stay consistent.

@Dengda98
Dengda98 merged commit 45b5ac8 into main Aug 4, 2026
9 checks passed
@Dengda98
Dengda98 deleted the c-api branch August 4, 2026 05:56
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