Skip to content

new tutorials for C api - #320

Draft
EricBoittier wants to merge 17 commits into
metatensor:metatomic-corefrom
EricBoittier:repairHistory
Draft

new tutorials for C api #320
EricBoittier wants to merge 17 commits into
metatensor:metatomic-corefrom
EricBoittier:repairHistory

Conversation

@EricBoittier

@EricBoittier EricBoittier commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

short summary about what this pull request is doing,
and merge order ... blah blah blah

Contributor (creator of pull-request) checklist

  • Tests updated (for new features and bugfixes)?
  • Documentation updated (for new features)?
  • Issue referenced (for PRs that solve an issue)?

Reviewer checklist

  • CHANGELOG updated with public API or any other important changes?

Luthaf and others added 13 commits August 31, 2026 16:40
Co-authored-by: Rocco Meli <r.meli@bluemail.ch>
Co-authored-by: Rocco Meli <r.meli@bluemail.ch>
Co-authored-by: Rocco Meli <r.meli@bluemail.ch>
Stacked on the gallery scaffolding: shifted LJ vtable and pair list, in-process plugin loading, and the string/error/unit helpers. execute_inner stays a stub until TensorMaps.

Co-authored-by: Cursor <cursoragent@cursor.com>
Link the DLPack docs, check mta_system_free, keep extra system queries out of the engine example, and fail loudly on unexpected values instead of relying on printed output.

Co-authored-by: Cursor <cursoragent@cursor.com>
execute_inner now reads the engine pair list and writes a system energy TensorMap. mta_execute_model is still todo!() on this branch, so the example calls the callback directly. Forces remain TODO.

Co-authored-by: Cursor <cursoragent@cursor.com>
Fail the examples when plugins, neighbor lists, or invalid arguments
are handled incorrectly, using explicit status checks that survive
release builds.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Luthaf Luthaf mentioned this pull request Sep 8, 2026
4 tasks
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.

2 participants