{"id":15401235,"url":"https://github.com/tmcdonell/fisher-accelerate","last_synced_at":"2025-07-27T13:17:57.972Z","repository":{"id":146157789,"uuid":"105235488","full_name":"tmcdonell/fisher-accelerate","owner":"tmcdonell","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-06T07:27:20.000Z","size":106,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T21:04:38.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tmcdonell.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}},"created_at":"2017-09-29T05:59:19.000Z","updated_at":"2018-04-26T16:47:51.000Z","dependencies_parsed_at":"2023-03-30T08:22:33.507Z","dependency_job_id":null,"html_url":"https://github.com/tmcdonell/fisher-accelerate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcdonell%2Ffisher-accelerate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcdonell%2Ffisher-accelerate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcdonell%2Ffisher-accelerate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcdonell%2Ffisher-accelerate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmcdonell","download_url":"https://codeload.github.com/tmcdonell/fisher-accelerate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247319839,"owners_count":20919661,"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-01T15:56:59.161Z","updated_at":"2025-04-05T10:21:37.720Z","avatar_url":"https://github.com/tmcdonell.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cscript type=\"text/javascript\" src=\"https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full\"\u003e\u003c/script\u003e\n# A Mini-App for teaching Accelerate\n\nThis is a simple application which solves a reaction-diffusion equation in\ntwo-dimensions, using some common computational kernel to teach programming in\nAccelerate.\n\nThe equation is [Fisher's equation](https://en.wikipedia.org/wiki/Fisher%27s_equation),\na simple non-linear reaction diffusion equation that is used to model simple\npopulation dynamics.\n\n\\\\[ \\frac{\\partial u}{\\partial t} = D \\frac{\\partial^2 u}{\\partial^2 x} + R u (1 - u) \\\\]\n\nWhere the diffusion parameter \\\\(D\\\\) and growth rate \\\\(R\\\\) will be hard coded\nfor this example to give stable and interesting results.\n\nThe C implementation taken from: [bcummings/summer-school](https://github.com/bcumming/summer-school)\n\n\n## Implementation notes\n\nA 5-point Laplacian stencil is used for the spatial derivative. An implicit\ntemporal discritisation is employed, requiring the solution of a non-linear\nsystem of equations at each time step.\n\n## How to build\n\nThe Accelerate program can be built with the Haskell [`stack`](http://haskellstack.org) tool:\n\n```sh\n$ stack build\n$ stack exec fisher-accelerate\n```\n\n## Visualising the results\n\nThe application outputs the final solution in the \"brick of values\" format,\nwhich is stored in the two files __output.bin__ and __output.bov__. These can be\nviewed using the popular visualization packages Paraview and Visit.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcdonell%2Ffisher-accelerate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmcdonell%2Ffisher-accelerate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcdonell%2Ffisher-accelerate/lists"}