OSCR

Block oscr:b:R4Y75F9WFTZRW-5

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:R4Y75F9WFTZRW-5
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s43588-024-00745-x · its page here
Code
github.com/rangamanilabucsd/smart, smart/model.py, lines 1180 to 1311 (Model.initialize_discrete_variational_problem_and_solver)
Commit read
2e47c913dbf32068704723f25ddc8f5e53704804
SWHID
swh:1:cnt:24d07cfb8b041cd154cb2671b92915d89e0c6bc8;origin=https://github.com/rangamanilabucsd/smart;anchor=swh:1:rev:2e47c913dbf32068704723f25ddc8f5e53704804;path=/smart/model.py;lines=1180-1311 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 42 (Methods › Numerical approximation and solution strategies)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:R4Y75F9WFTZRW-5 (https://openscicode.org/b/oscr:b:R4Y75F9WFTZRW-5)
smart/model.py, lines 1180 to 1311, in github.com/rangamanilabucsd/smart (https://github.com/rangamanilabucsd/smart), commit 2e47c913dbf32068704723f25ddc8f5e53704804.
Paper: https://doi.org/10.1038/s43588-024-00745-x
SWHID: swh:1:cnt:24d07cfb8b041cd154cb2671b92915d89e0c6bc8;origin=https://github.com/rangamanilabucsd/smart;anchor=swh:1:rev:2e47c913dbf32068704723f25ddc8f5e53704804;path=/smart/model.py;lines=1180-1311