{"id":22669863,"url":"https://github.com/astrobarker/athelas","last_synced_at":"2026-03-05T23:03:07.291Z","repository":{"id":243761650,"uuid":"358778582","full_name":"AstroBarker/athelas","owner":"AstroBarker","description":"Lagrangian radiation-hydrodynamics code using discontinuous Galerkin methods written in C++","archived":false,"fork":false,"pushed_at":"2025-04-12T06:26:59.000Z","size":1014,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T07:23:02.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AstroBarker.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,"zenodo":null}},"created_at":"2021-04-17T03:49:44.000Z","updated_at":"2025-04-12T06:27:03.000Z","dependencies_parsed_at":"2024-06-11T03:01:13.055Z","dependency_job_id":"19196e10-7575-4006-8271-f5731663caab","html_url":"https://github.com/AstroBarker/athelas","commit_stats":null,"previous_names":["astrobarker/athelas"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroBarker%2Fathelas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroBarker%2Fathelas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroBarker%2Fathelas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstroBarker%2Fathelas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AstroBarker","download_url":"https://codeload.github.com/AstroBarker/athelas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248563091,"owners_count":21125201,"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-12-09T15:41:46.755Z","updated_at":"2026-03-05T23:03:07.287Z","avatar_url":"https://github.com/AstroBarker.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# athelas (Astrophysical Transients with Hydrodynamics and Emission using a Lagrangian Adaptive-order Scheme )\n\n\u003cp align=\"center\"\u003e1D Lagrangian radiation-hydrodynamics solver written in C++ \u003c/p\u003e\n\n[![Build](https://github.com/AstroBarker/athelas/actions/workflows/cmake-multi-platform.yml/badge.svg)](https://github.com/AstroBarker/athelas/actions/workflows/cmake-multi-platform.yml)\n\u003cp align=\"center\"\u003e\n\u003ca href=\"./LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-GPL-blue.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n`Athelas` solves the 1D Lagrangian equation of non-relativistic radiation hydrodynamics using a discontinuous Galerkin scheme. \nLTE Saha ionization is included.\nIt includes planar geometry and spherical symmetry. Self gravity is included.\nIt will be extended to special relativistic hydrodynamics.\n\n\n# Installation\n`athelas` uses submodules to include dependencies. \nThe best way to get the source is the following \n```sh\ngit clone --recursive git@github.com:AstroBarker/athelas.git\n```\n\n# Building\n`athelas` is built using `cmake`. From the root directory of `athelas`, run the following:\n\n```sh\nmkdir build \u0026\u0026 cd build\ncmake ..\ncmake --build . # or make -j\n```\n\n# Running\nTo run `athelas` simply execute `./athelas -i ../inputs/sod.toml`, for instance.\n\n# Tests\nRegression tests live in `test/regression`. To run all test, run \n`python run_regression_tests.py`. Pass `-e /path/to/athelas/executable` to \navoid rebuilding each test. To run a specific test, run \n`python run_regression_tests.py --test test_sod -e /path/to/athelas/executable` etc.\n\n\n# Kokkos\nWe use [Kokkos](https://github.com/kokkos) for shared memory parallelism. \n\n# TOML++\nWe use [toml++](https://github.com/marzer/tomlplusplus) for parsing input files in the `.toml` format.\n\n# Code Style\n\nWe use `clang format` and `ruff` for code cleanliness. \nRules are listed in `.clang-format`.\nThe current version of `clang-format` used is 20.1.0.\nSimply call `tools/bash/format.sh` to format the `.hpp` and `.cpp` files.\n\nPython code linting and formatting is done with `ruff`. \nRules are listed in `ruff.toml`. \nTo check all python in the current directory, you may `ruff ..`\nTo format a given file according to `ruff.toml`, run `ruff format file.py`. \n\nChecks for formatting are performed on each PR.\n\nThere is also a Git pre-commit hook available in `scripts/hooks` that will \nperform this formatting on a commit. You can enable this simply by \n\n```bash\n./scripts/hooks/install-hooks.sh\n```\nwhich will automatically symlink the hook into `.git/hooks`.\n\n# Dependencies\n* Eigen (submodule)\n* Kokkos (submodule)\n* TOML++ (submodule)\n* HDF5\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrobarker%2Fathelas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrobarker%2Fathelas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrobarker%2Fathelas/lists"}