{"id":21453088,"url":"https://github.com/mm318/fem-solver-2d-poisson","last_synced_at":"2025-07-25T11:15:17.245Z","repository":{"id":186222021,"uuid":"620040865","full_name":"mm318/fem-solver-2d-poisson","owner":"mm318","description":"Finite Element Method solver for 2D Poisson problems","archived":false,"fork":false,"pushed_at":"2023-08-28T15:40:06.000Z","size":2435,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T03:12:18.613Z","etag":null,"topics":["finite-element-method","finite-elements","poisson-equation","pure-c","visualization"],"latest_commit_sha":null,"homepage":"","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/mm318.png","metadata":{"files":{"readme":"README.md","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":"2023-03-27T23:06:48.000Z","updated_at":"2023-09-03T07:52:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f75d7bf2-e7f8-4af8-9714-b9561ea61c57","html_url":"https://github.com/mm318/fem-solver-2d-poisson","commit_stats":null,"previous_names":["mm318/fem-solver-2d-poisson"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mm318/fem-solver-2d-poisson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mm318%2Ffem-solver-2d-poisson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mm318%2Ffem-solver-2d-poisson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mm318%2Ffem-solver-2d-poisson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mm318%2Ffem-solver-2d-poisson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mm318","download_url":"https://codeload.github.com/mm318/fem-solver-2d-poisson/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mm318%2Ffem-solver-2d-poisson/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266997209,"owners_count":24018935,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":["finite-element-method","finite-elements","poisson-equation","pure-c","visualization"],"created_at":"2024-11-23T04:38:14.670Z","updated_at":"2025-07-25T11:15:17.216Z","avatar_url":"https://github.com/mm318.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Finite Element Method Solver for 2D Poisson Problems\n\n![build](https://github.com/mm318/fem-solver-2d-poisson/actions/workflows/build.yml/badge.svg)\n\nThis package takes a .poly file that defines the problem boundary\n(see [here](https://www.cs.cmu.edu/~quake/triangle.poly.html) to understand the file format)\nand solves the 2D screened Poisson equation:\n```math\n\\Delta u(x,y) - u(x,y) = -{x^2 + y^2 - 4 \\over 250000}\n```\n\nsubject to the Dirichlet boundary condition:\n```math\nu(x,y) = {x^2 + y^2 \\over 250000}\n```\n\n(The problem can be modified by editing `prob_def.c`)\n\nThis was for a university project in 2011.\n\n\n## Usage\n\n### Installation\n```bash\n# in \u003croot\u003e/\ngit clone https://github.com/mm318/fem-solver-2d-poisson.git\n```\n\n### Build\n```bash\n# from \u003croot\u003e/\nmkdir build\ncd build\ncmake ../fem-solver-2d-poisson\nmake\n```\n\n### Run\nUsage:\n```text\nFEM_Solver \u003c.poly file\u003e\n```\n\nExample:\n```bash\n# from \u003croot\u003e/build/\ncd bin  # current working directory needs to have the plstnd5.fnt and plxtnd5.fnt files\n./FEM_Solver bicycle_seat # exclude the .poly extension\n```\n\nResulting mesh:  \n![bicycle_seat mesh](bin/bicycle_seat_example_mesh.png \"bicycle_seat mesh\")\n\nResulting solution:  \n![bicycle_seat solution](bin/bicycle_seat_example.png \"bicycle_seat solution\")  \n![bicycle_seat solution plot](bin/bicycle_seat_example_plot.png \"bicycle_seat solution plot\")\n\n\n## Requirements\n\nTested on Ubuntu 20.04 and Ubuntu 22.04.\n\n## Dependencies\n\n- [FEM2D_POISSON](https://people.math.sc.edu/Bu/rkardt/cpp_src/fem2d_poisson_cg/fem2d_poisson_cg.html) - LGPL\n- [Triangle](https://www.cs.cmu.edu/~quake/triangle.html) - Non-commercial use\n- [PLplot](https://plplot.sourceforge.net/) - LGPL\n- [libgd](https://libgd.github.io/) - BSD-like\n- [libpng](http://www.libpng.org/pub/png/libpng.html) - The zlib/libpng License\n- [zlib](https://zlib.net/) - The zlib/libpng License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmm318%2Ffem-solver-2d-poisson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmm318%2Ffem-solver-2d-poisson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmm318%2Ffem-solver-2d-poisson/lists"}