{"id":17143837,"url":"https://github.com/asem000/high-performance-adi-solver-using-numba","last_synced_at":"2026-02-12T00:04:12.311Z","repository":{"id":140101838,"uuid":"295934862","full_name":"ASEM000/High-performance-ADI-solver-using-numba","owner":"ASEM000","description":"2D diffusion equation numba accelerated solver using ADI method ","archived":false,"fork":false,"pushed_at":"2020-11-07T20:22:37.000Z","size":24996,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T15:13:18.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/ASEM000.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":"2020-09-16T05:44:21.000Z","updated_at":"2021-01-15T11:09:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcd6b03a-b65c-4e44-ab21-e85349fd6c44","html_url":"https://github.com/ASEM000/High-performance-ADI-solver-using-numba","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHigh-performance-ADI-solver-using-numba","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHigh-performance-ADI-solver-using-numba/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHigh-performance-ADI-solver-using-numba/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASEM000%2FHigh-performance-ADI-solver-using-numba/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ASEM000","download_url":"https://codeload.github.com/ASEM000/High-performance-ADI-solver-using-numba/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245248013,"owners_count":20584460,"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-10-14T20:42:25.629Z","updated_at":"2026-02-12T00:04:07.286Z","avatar_url":"https://github.com/ASEM000.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/295934862.svg)](https://zenodo.org/badge/latestdoi/295934862)\n\n# High performance ADI solver using numba\n2D diffusion equation solver using ADI method and accelerated by numba\n\n#### Comparison between the execution time between numpy and numba implementation\n\n\n\n\n![Image](https://i.imgur.com/hlpckHG.png)\n\n### How to use\n\n** Example : Solve a grid of 10x10 (boundaries inclusive) with**\n* boundary conditions of ( 100c Top,  50c right ,  0c bottom , 75c left  ) \n* initial condition of 0c\n* Lambda = Kdt/(dx^2)=0.0835\n* time steps = 1000\n\n### 1.Generate grid\n\ngenerate grid 10x10 \n\n` grid = utils.generate_grid(n = 8 , bc=(100,50,0,75) , ic=0) ` \u003cbr\u003e\n` utils.showHeatMap(grid,annotate=True,figsize=(15,15)) `\n\n![Image](https://i.imgur.com/xTO5MPd.png)\n\n### 2.Solve \n\n` steps = True =\u003e means keep the intermediate solution steps `  \u003cbr\u003e\n` solution = ADI_SOLVER.solve(grid,Lambda=0.0835,iters=1000,steps = True) `\n\n##### The solution output array is in form of (time_step,row,col ) , where time_step = 0 is the initial grid\n**Show result**\n\n` time_step = 50 ` \u003cbr\u003e\n` utils.showHeatMap(solution[time_step,:,:], annotate=True,figsize=(15,15)) `\n\n\n![Image](https://i.imgur.com/JV3mJUf.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasem000%2Fhigh-performance-adi-solver-using-numba","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasem000%2Fhigh-performance-adi-solver-using-numba","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasem000%2Fhigh-performance-adi-solver-using-numba/lists"}