{"id":17975330,"url":"https://github.com/chris00/rust-sundials","last_synced_at":"2025-07-19T16:36:13.078Z","repository":{"id":145112697,"uuid":"495990691","full_name":"Chris00/rust-sundials","owner":"Chris00","description":"High level bindings to the Sundials library for Rust","archived":false,"fork":false,"pushed_at":"2024-12-17T22:29:28.000Z","size":76,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-17T23:25:16.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chris00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-24T21:16:59.000Z","updated_at":"2024-12-17T22:29:33.000Z","dependencies_parsed_at":"2024-04-02T16:35:43.167Z","dependency_job_id":null,"html_url":"https://github.com/Chris00/rust-sundials","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris00%2Frust-sundials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris00%2Frust-sundials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris00%2Frust-sundials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris00%2Frust-sundials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chris00","download_url":"https://codeload.github.com/Chris00/rust-sundials/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236521021,"owners_count":19162488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-29T17:19:10.909Z","updated_at":"2025-07-19T16:36:13.061Z","avatar_url":"https://github.com/Chris00.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rust Sundials\n=============\n\n[Sundials][] is a s̲u̲ite of n̲onlinear and d̲i̲fferential/a̲l̲gebraic\nequation s̲olvers.\n\n\n# Example\n\nThe following code solves the equation ∂ₜu = f(t,u) where f is the\nfunction (t,u) ↦ 1 using Adams' method.\n\n```rust\nuse sundials::{context, cvode::{CVode, Solver as _}};\nfn main() -\u003e Result\u003c(), Box\u003csundials::Error\u003e\u003e {\n    let mut ode = CVode::adams(0., \u0026[0.], |t, u, du| *du = [1.])\n        .build(context!()?)?;\n    let mut u1 = [f64::NAN];\n    ode.solve(2., \u0026mut u1);\n    assert_eq!(u1, [2.]);\n    let (_t2, u2) = ode.cauchy(0., \u0026[0.], 1.)?;\n    assert_eq!(u2[0], 1.);\n    Ok(())\n}\n```\n\nThen `u[0]` contains the solution u at time t=1 and `u[1]` the\nspeed ∂ₜu(1).\n\n\n[Sundials]: https://computing.llnl.gov/projects/sundials\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris00%2Frust-sundials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris00%2Frust-sundials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris00%2Frust-sundials/lists"}