new tutorials for C api - #320
Draft
EricBoittier wants to merge 17 commits into
Draft
Conversation
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>
4 tasks
… performance. Removed unnecessary math.h dependency and error handling for energy comparison has also been simplified for better readability.
Luthaf
force-pushed
the
metatomic-core
branch
from
September 9, 2026 09:09
fd943bc to
eb2c093
Compare
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.
short summary about what this pull request is doing,
and merge order ... blah blah blah
Contributor (creator of pull-request) checklist
Reviewer checklist