{"id":25561235,"url":"https://github.com/olaszpl/finite_element_method","last_synced_at":"2026-03-05T06:30:25.496Z","repository":{"id":278419911,"uuid":"935563531","full_name":"OlaszPL/Finite_element_method","owner":"OlaszPL","description":"Implementation of the Finite Element Method (FEM) for solving electromagnetic potential problem.","archived":false,"fork":false,"pushed_at":"2025-02-19T17:12:20.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T17:42:47.313Z","etag":null,"topics":["agh-wi","differential-equations","fem","matplotlib","python","scipy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OlaszPL.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":"2025-02-19T16:43:46.000Z","updated_at":"2025-02-19T17:12:24.000Z","dependencies_parsed_at":"2025-02-19T17:52:54.979Z","dependency_job_id":null,"html_url":"https://github.com/OlaszPL/Finite_element_method","commit_stats":null,"previous_names":["olaszpl/finite_element_method"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlaszPL%2FFinite_element_method","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlaszPL%2FFinite_element_method/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlaszPL%2FFinite_element_method/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlaszPL%2FFinite_element_method/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OlaszPL","download_url":"https://codeload.github.com/OlaszPL/Finite_element_method/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239889025,"owners_count":19713702,"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":["agh-wi","differential-equations","fem","matplotlib","python","scipy"],"created_at":"2025-02-20T18:19:26.147Z","updated_at":"2026-03-05T06:30:25.348Z","avatar_url":"https://github.com/OlaszPL.png","language":"Python","readme":"# Finite Element Method (FEM) for Electromagnetic Potential\n\nThis repository contains a Python implementation of the Finite Element Method (FEM) for solving electromagnetic potential problem. The project was developed as part of the Differential Equations course at AGH University of Krakow.\n\n![obraz](https://github.com/user-attachments/assets/ed45b92c-41a2-403c-98f0-dccdc8eb8247)\n\n## Overview\n\nThe repository includes the following key components:\n\n- **main.py**: Sets up a graphical user interface using Matplotlib and Seaborn for visualizing the FEM solution. It provides interactive elements such as a text box for inputting the number of points and a button to trigger the drawing of the solution plot.\n- **solver.py**: Contains the core functions for calculating the FEM solution. It defines various helper functions for basis functions, their derivatives, and the assembly of matrices required for solving the FEM equation. The `solve` function computes the solution for a specified number of points.\n\n## Getting Started\n\n### Prerequisites\n\nMake sure you have the required Python libraries installed. You can install them using the `requirements.txt` file:\n```bash\npip install -r requirements.txt\n```\n\n## Running the Project\n\n**Clone the repository:**\n\n```bash\ngit clone https://github.com/OlaszPL/Finite_element_method.git\ncd Finite_element_method\n```\n\n**Run the main script:**\n\n```bash\npython main.py\n```\n\nEnter the desired number of points in the text box and click the **\"Draw\"** button to visualize the FEM solution.\n\n## Files\n\n* **main.py**: Sets up the GUI and handles user interactions.\n* **solver.py**: Contains the implementation of the FEM solver.\n* *wyliczenia sformułowania wariacyjnego.pdf*: Documentation of the variational formulation calculations (in Polish).\n\n## License\n\nThis project is licensed under the MIT [License](https://github.com/OlaszPL/Finite_element_method/blob/main/LICENSE).\n\n![obraz](https://github.com/user-attachments/assets/72d2d6a9-a2b6-470c-a43e-7122a7f8295a)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folaszpl%2Ffinite_element_method","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folaszpl%2Ffinite_element_method","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folaszpl%2Ffinite_element_method/lists"}