Crates.io | sir_ddft |
lib.rs | sir_ddft |
version | 2.0.0 |
source | src |
created_at | 2021-04-19 23:33:21.225209 |
updated_at | 2024-05-14 09:17:12.850379 |
description | A Rust implementation of the SIR-DDFT model |
homepage | |
repository | https://github.com/jjegg01/sir_ddft |
max_upload_size | |
id | 386854 |
size | 166,313 |
sir_ddft
- A Rust implementation of the SIR-DDFT modelThis repository contains a numerical implementation of the SIR-DDFT model as described in the article
For comparison an implementation of the standard SIR model and a spatial SIR model with diffusion are included as well.
Bindings of this library to Python and JavaScript/WebAssembly exist in their respective crates sir_ddft_py
and sir_ddft_js
within this repository.
Examples of the usage of this library and its bindings can be found in the examples
subfolder of the corresponding crate.
For ease of use we also include a web-based demonstration which is suitable for small scale / low resolution simulations. For more advanced usage, we recommend using the Rust or Python API.
All code in this repository is license under the GNU Affero General Public License Version 3 with the exception of the code in sir_ddft_js/www/lib
, which is licensed under the MIT License. We gratefully acknowledge the copyright holders of these libraries: