Treating viruses and infections is important for the general welfare. Everyone gets sick and illness negatively affects all aspects of life. Most viral infections can last for weeks, even influenza (the flu). During infections, healthy cells can grow in order to replenish the cells dying from the virus. Past viral models, especially those for influenza, tend to ignore cellular regeneration – even when it occurs in short duration infections like the flu. This research accounts for cellular regeneration, using an agent-based framework, and varies the regeneration rate in order to understand how this regeneration affects viral infections. The model used represents virus infections and spread in a two-dimensional layer of cells in order to generate total virus over time graphs for corresponding regeneration rates.
Warning: Depending on the run parameters, log files can be in excess of 30GB!
Download/clone (and extract) to any directory, which will be referenced as base/
cd to base/CViralTrans/viralTransv2.0
run:
$ nvcc ViralTransmission.cu -o program.out && ./program.out ***
*** = the value passed through the command line as a parameter for cell regeneration
cd to base/CViralTrans/viralTransv2.0
run:
$ chmod +x multirun.sh
$ ./multirun.sh
C code requirements:
- Nvidia Cuda Toolkit
- GCC (C Compiler)
- Cuda capable GPU with compute capability > 1.0
Python graphing code requirements:
- python 3.7 (I recommend just downloading anaconda 3.7)
- numpy (included in Anaconda)
- matplotlib