{"id":19708752,"url":"https://github.com/bendudson/pybout","last_synced_at":"2026-06-12T00:31:39.205Z","repository":{"id":137712359,"uuid":"261491633","full_name":"bendudson/pybout","owner":"bendudson","description":"Code generator for BOUT++","archived":false,"fork":false,"pushed_at":"2020-05-05T14:16:09.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T18:31:08.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/bendudson.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-05-05T14:15:40.000Z","updated_at":"2020-05-05T14:16:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"65c078be-4012-4a2b-bf25-76c72906f37a","html_url":"https://github.com/bendudson/pybout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bendudson/pybout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Fpybout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Fpybout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Fpybout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Fpybout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendudson","download_url":"https://codeload.github.com/bendudson/pybout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Fpybout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34224103,"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":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-11T21:44:45.514Z","updated_at":"2026-06-12T00:31:39.104Z","avatar_url":"https://github.com/bendudson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"* PyBOUT\n\nCode generator for [[https://github.com/boutproject/BOUT-dev/][BOUT++]] in python. Example:\n\n#+BEGIN_SRC python :results output\nimport pybout\n\nf = pybout.Field(\"f\")\ng = pybout.Field(\"g\")\n\nf.ddt = g\ng.ddt = -f\n\nmodel = pybout.PhysicsModel(f, g)\n\nprint(str(model))  # Generates C++ code\n#+END_SRC\n\n#+RESULTS:\n#+begin_example c++\n\n        #include \"bout/physicsmodel.hxx\"\n        \n        class Model : public PhysicsModel {\n        private:\n          // Evolving fields\n          Field3D f;\nField3D g;\n        \n        protected:\n          int init(bool restarting) override {\n        \n            // Evolving quantities\n            SOLVE_FOR(f);\nSOLVE_FOR(g);\n            return 0;\n          }\n        \n          int rhs(BoutReal time) override {\n            ddt(f) = g;\nddt(g) = f;\n            return 0;\n          }\n        };\n\n        BOUTMAIN(Model);\n        \n#+end_example\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendudson%2Fpybout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendudson%2Fpybout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendudson%2Fpybout/lists"}