{"id":34504758,"url":"https://github.com/blegouix/similie","last_synced_at":"2026-05-27T01:31:34.991Z","repository":{"id":258626685,"uuid":"860571199","full_name":"blegouix/similie","owner":"blegouix","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-22T17:03:01.000Z","size":13883,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-22T21:26:05.869Z","etag":null,"topics":["cpp","ddc","electromagnetism","gravitation","hpc","kokkos","mechanics","physics-simulation"],"latest_commit_sha":null,"homepage":"https://blegouix.github.io/similie/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blegouix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/MIT.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-09-20T17:29:01.000Z","updated_at":"2026-05-15T15:48:19.000Z","dependencies_parsed_at":"2024-11-03T11:19:58.212Z","dependency_job_id":"8e7e5fc3-65e1-4715-bdaa-ce86804ca282","html_url":"https://github.com/blegouix/similie","commit_stats":null,"previous_names":["blegouix/similie"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blegouix/similie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blegouix%2Fsimilie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blegouix%2Fsimilie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blegouix%2Fsimilie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blegouix%2Fsimilie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blegouix","download_url":"https://codeload.github.com/blegouix/similie/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blegouix%2Fsimilie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33546836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cpp","ddc","electromagnetism","gravitation","hpc","kokkos","mechanics","physics-simulation"],"created_at":"2025-12-24T02:52:17.375Z","updated_at":"2026-05-27T01:31:34.985Z","avatar_url":"https://github.com/blegouix.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2024 Baptiste Legouix\nSPDX-License-Identifier: MIT\n--\u003e\n\n# SimiLie\n\n![](docs/images/scalar_field_hamiltonian.gif)\n\nDocumentation [here](https://blegouix.github.io/similie/).\n\nSimiLie is a performance-portable (CPU \u0026 GPU) C++20 library aiming to extent the capabilities of [Kokkos](https://github.com/kokkos/kokkos) and [DDC](https://github.com/CExA-project/ddc) to offer a complete toolkit able to perform tensor calculus, differential calculus and solving PDE. A key paradigm is the exclusive support of structured meshes to avoid sparse linear algebra and produce mostly-embarrassing parallel code. It should be able to address any multiphysical problem on fixed grid from eventually-relativistic classical field theory (in particular: solid \u0026 fluid mechanics, electromagnetism and gravitation)\n\n**Absolute WIP, there is no guarantee for proper working. Only OPENMP and CUDA backends have been tested.**\n\n## AI-operability\n\nCoding agents are extensively used to develop SimiLie. The `AGENTS.md` file provides the procedure to operate and develop with SimiLie, with the instruction to automatically detect the presence of a GPU and use the `similie_env` Dockerfile with `OPENMP` or `CUDA` environment/compilation. Ie.:\n\n```\nvibe\nrun tests\n```\n\nShould detect the presence of a GPU, build the corresponding docker image, compile Similie with `g++` or `nvcc` and run the tests.\n\n## Development plan\n\n1. Short term: simulate electromagnetism on manifold.\n2. Mid term (months): simulate geometrodynamics.\n3. Long term: generalize to all kinds of *classical* gauge theories.\n4. Extra-long term (years): quantization.\n\n## Initial roadmap\n\nDONE:\n- Tensors (any dimension, rank and structure), tensor fields, tensor product, covariant/contravariant character, metric.\n- Differential forms: (co)simplices, (co)chains, (co)boundary operator, discrete Hodge star.\n- GPU support.\n\nTODO:\n- Finite elements solver.\n- Application to an electromagnetism problem on manifold.\n- ...\n\n## Contact\n\nSend an email to baptistelegouix@gmail.com\n\n## References\n\n- Desbrun, M., Kanso, E., Tong, Y. (2008). [Discrete Differential Forms for Computational Modeling](https://link.springer.com/chapter/10.1007/978-3-7643-8621-4_16). In: Bobenko, A.I., Sullivan, J.M., Schröder, P., Ziegler, G.M. (eds) Discrete Differential Geometry. Oberwolfach Seminars, vol 38. Birkhäuser Basel.\n- [Finite element exterior calculus](https://doi.org/10.1137/1.9781611975543). Douglas N. Arnold. CBMS-NSF Regional Conference Series in Applied Mathematics. SIAM 2018.\n- [Gravitation](https://ui.adsabs.harvard.edu/abs/1973grav.book.....M/abstract). By C.W. Misner, K.S. Thorne and J.A. Wheeler. ISBN 0-7167-0334-3, ISBN 0-7167-0344-0 (pbk). San Francisco: W.H. Freeman and Company, 1973\n- Celada, M., González, D., \u0026 Montesinos, M. (2016). [BF gravity](https://arxiv.org/abs/1610.02020). Classical and Quantum Gravity, 33(21), 213001.\n- [Group Theory, Birdtracks, Lie’s, and Exceptional Groups](https://birdtracks.eu/), Predrag Cvitanović, Princeton University Press July 2008.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblegouix%2Fsimilie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblegouix%2Fsimilie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblegouix%2Fsimilie/lists"}