https://github.com/devanshr/Epidemics Skip to content Sign up * Why GitHub? + Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Issues - + Integrations - + GitHub Sponsors - + Customer stories - * Team * Enterprise * Explore + Explore GitHub - + Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - + Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing + Plans - + Compare plans - + Contact Sales - + Education - [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} devanshr / Epidemics Public * Notifications * Star 60 * Fork 2 * Epidemics Plugin for the UG4 software 60 stars 2 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show Loading {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default Loading View all tags 4 branches 0 tags Code Loading Latest commit CowFreedom Added one gui sample ... 027cbbc Aug 23, 2021 Added one gui sample 027cbbc Git stats * 198 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time EpidemicsRunner Added Hesse example Aug 22, 2021 Samples Added one gui sample Aug 23, 2021 documents Small changes in examples and documentation Aug 22, 2021 models Added one gui sample Aug 23, 2021 .gitignore Added one gui sample Aug 23, 2021 CMakeLists.txt Changed CMakrLists.txt May 26, 2021 Doxyfile Added more comments for the doxygen file (utility.h and seird_pde.h) Aug 11, 2021 Readme.md Small changes in examples and documentation Aug 22, 2021 epidemics_plugin.cpp Added doxygen file and added comments Jul 27, 2021 View code Epidemics Contents Installation Notes General Installation notes for GCC Installation notes for Clang Description Readme.md Epidemics Epidemics is a UG4 Plugin that provides various algorithms for epidemics modeling. Contents This document should give a broad overview on Epidemics combined with some usage examples. It also provides some brief notes concerning the installation of the plugin. * Installation Notes * Description * Example Sample problems can be found in the Sample Folder. For Windows users, an optional GUI has been created for the use of estimation or prototyping. drawing drawing drawing Installation Notes General The installation equals the standard process for adding UG4 plugins described on the ughub GitHub page. Due to the usage of OS specific functions for process generation, the plugin is not necessarily multiplatform. In its current form, the package has been shown to work on Windows 10, Linux Ubuntu and Raspberry Pi OS. The GCC, Apple Clang and MSVC compilers were tested. It is assumed that the package also works for older compiler versions that support C++17. On Linux Ubuntu, only GCC was tested. GCC and Clang might require special flags set in the build process, which is explained below. The utilized Visual Studio compiler has not exhibited such necessities but older versions might. Installation notes for GCC Follow the steps on the ughub GitHub page. If errors occur, proceed with this text. The plugin makes use of C++ std::threads. This might necessitates activating the -pthread flag to the build process for ug4. Within your UG4 install library, go to cd ug4/ugcore/cmake/ and open ug_includes.cmake Now search for elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") add_cxx_flag("-Wall") add_cxx_flag("-Wno-multichar") add_cxx_flag("-Wno-unused-local-typedefs") add_cxx_flag("-Wno-maybe-uninitialized") and add add_cxx_flag("-pthread") to the GNU include statements. Now rebuild UG4 as described on the ughub GitHub page. The plugin should now be installed without any issues. Installation notes for Clang Follow the steps on the ughub GitHub page.. If errors occur, proceed with this text. The plugin makes use of C++11 features, like std::threads and constexpr. This might necessitates activating the -std=c++11 flag to the build process for ug4. Within your UG4 install library, go to cd ug4/ugcore/cmake/ and open ug_includes.cmake Now search for elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") add_cxx_flag("-Wall") add_cxx_flag("-Wno-multichar") and add set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") to the Clang include statements. This ensures that the -std=c++11 flag is only added to the C++ compiler and not the C compiler in the build process. Now rebuild UG4 as described on the ughub GitHub page. . The plugin should now be installed without any issues. Description The following algorithms are currently implemented: Name Description SIR Classical Susceptible-Infected-Recovered-Deaths ODE Model SEIRD Extended SIR model accounting for a new class (Exposed) amongst other additions SEIRD_VARA Extended SRI model paired with variable (over time) infection rate SEIRD_PDE A PDE formulation of the SEIRD model, discretized using Finite Differences About Epidemics Plugin for the UG4 software Resources Readme Releases No releases published Packages 0 No packages published Contributors 4 * @devanshr devanshr * @CowFreedom CowFreedom * @RefreshingAutoMate RefreshingAutoMate * @HeinzHermann HeinzHermann Languages * C++ 45.5% * HTML 42.1% * TeX 7.2% * CSS 2.5% * JavaScript 2.5% * CMake 0.1% * Other 0.1% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.