Modeling transmission of SARS-CoV-2 Omicron in China: instructions for
code running
================
Deng Xiaowei[1]
2022-05-10
This is the instruction for readers to repeat and understand the
construction for the model simulating the transmission of SARS-CoV-2
Omicron in China and its according health impact. The details for the
methodology and results refer to our paper published
(https://www.nature.com/articles/s41591-022-01855-7).
## Running platform and software version
If you want to repeat our demo, you must deploy **C** compiler and
[**GSL**](https://www.gnu.org/software/gsl/) (a library for C and C++).
The detialed version information refers to below.
## OS and hardware
## OS: Microsoft Windows 10 家庭中文版
## OS Version: 10.0.19044
## CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
## Memory size: 15.80 GB
## Soft version
## R version 4.1.0 (2021-05-18)
## cygwin (3.2.0-1)
## gcc-core (10.2.0-1)
## gsl (2.3-2)
## Linelist for **C** code, input and output
We separate our code, input, and output into three folders named in “C”,
“INPUT\_CN”, and “OUTPUT”.
Codes in folder “C” consist of three files, func.c, head.h, main.c.
“main.c” is the main body for the model, “func.c” includes all functions
used to read files, to process transmission, to allocated vaccine, and
“head.h” declares all relevant STRUCT and functions.
Most parameters used in our model are deposited in folder “INPUT\_CN”.
Detailed description refers to table below.
| Folder | File | Dimentions(rows x columns) | Type | Description | Limits |
|:------------|:----------------------|:---------------------------|:-------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| CM/baseline | cm\_{i} | 14x14 | double | Contact matrix in baseline scenario setting | {i} in 0-199 |
| POP | contraindication\_{j} | 14x1 | double | Proportion for people cannot be vacccinated | {j}=YES indicates limits for limits in vaccinating elderly according to real-world data |
| POP | {k}\_sus | 200x14 | double | Susceptibility for 200 max times simulation | {k}=hetero indicates unequle susceptibility for 14 age-group |
| POP | population | 14x1 | int | Population number | |
| PROB\_SA | p\_symp | 14x1 | double | Probability for developing symptom (adjusted)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
2022数学建模校赛.zip (286个子文件)
MathModel.aux 5KB
ref.bib 7KB
main.c 22KB
func.c 10KB
gmcmthesis.cls 14KB
cm_0 2KB
cm_1 2KB
cm_10 2KB
cm_100 2KB
cm_101 2KB
cm_102 2KB
cm_103 2KB
cm_104 2KB
cm_105 2KB
cm_106 2KB
cm_107 2KB
cm_108 2KB
cm_109 2KB
cm_11 2KB
cm_110 2KB
cm_111 2KB
cm_112 2KB
cm_113 2KB
cm_114 2KB
cm_115 2KB
cm_116 2KB
cm_117 2KB
cm_118 2KB
cm_119 2KB
cm_12 2KB
cm_120 2KB
cm_121 2KB
cm_122 2KB
cm_123 2KB
cm_124 2KB
cm_125 2KB
cm_126 2KB
cm_127 2KB
cm_128 2KB
cm_129 2KB
cm_13 2KB
cm_130 2KB
cm_131 2KB
cm_132 2KB
cm_133 2KB
cm_134 2KB
cm_135 2KB
cm_136 2KB
cm_137 2KB
cm_138 2KB
cm_139 2KB
cm_14 2KB
cm_140 2KB
cm_141 2KB
cm_142 2KB
cm_143 2KB
cm_144 2KB
cm_145 2KB
cm_146 2KB
cm_147 2KB
cm_148 2KB
cm_149 2KB
cm_15 2KB
cm_150 2KB
cm_151 2KB
cm_152 2KB
cm_153 2KB
cm_154 2KB
cm_155 2KB
cm_156 2KB
cm_157 2KB
cm_158 2KB
cm_159 2KB
cm_16 2KB
cm_160 2KB
cm_161 2KB
cm_162 2KB
cm_163 2KB
cm_164 2KB
cm_165 2KB
cm_166 2KB
cm_167 2KB
cm_168 2KB
cm_169 2KB
cm_17 2KB
cm_170 2KB
cm_171 2KB
cm_172 2KB
cm_173 2KB
cm_174 2KB
cm_175 2KB
cm_176 2KB
cm_177 2KB
cm_178 2KB
cm_179 2KB
cm_18 2KB
cm_180 2KB
cm_181 2KB
cm_182 2KB
cm_183 2KB
共 286 条
- 1
- 2
- 3
资源评论
白话Learning
- 粉丝: 3275
- 资源: 2464
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功