-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparameters.h
More file actions
138 lines (132 loc) · 2.24 KB
/
Copy pathparameters.h
File metadata and controls
138 lines (132 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
#ifndef PARAMETERS_H
#define PARAMETERS_H
#include <string>
#include <iostream>
#include <vector>
#include "setparam.h"
using namespace std;
//Name of parameters
enum {
//A
agSaturation ,
AgAmountperFDC ,
Ag_threshold,
//B
Bcell_speed ,
Bcell_tp ,
Bcell_stddev ,
Bcell_tp_stddev ,
BCR_pool,
BCR_Length ,
//C
chemo_dx ,
chemmax ,
chemosteep ,
chemohalf ,
CXCL12crit ,
CXCL13crit ,
CXCL12recrit ,
CXCL13recrit ,
c_G1 ,
c_S ,
c_G2 ,
c_M ,
c_G1_stddev ,
c_S_stddev ,
c_G2_stddev ,
c_M_stddev ,
collectionFDCperiod ,
Ccdif_delay_stddev ,
CB_radius,
//D
difDelay ,
dimension,
dx ,
dt ,
DendriteLength ,
DeleteAgInFreshCC ,
//E
expMin ,
expMax ,
eta ,
//G
Gamma ,
//I
InitialNumberSC ,
InitialNumberFDC ,
InitialNumberTC ,
InitialNumberCB ,
//K
kon ,
koff,
//M
// Memorycell_tp ,
// Memorycell_speed ,
// Memorycell_tp_stddev ,
macrophage ,
//N
Nmax ,
nDiv ,
nDiv_stddev ,
nDivinflow ,
NoMutFounderCells ,
//P
Plasmacell_tp ,
Plasmacell_speed ,
Plasmacell_tp_stddev ,
pSel ,
pApoCC ,
pApoCB ,
p_dif ,
pMHCdepHill ,
pMHCdepMin ,
pMHCdepMax ,
pMHCdepK ,
pmutB4StartMut ,
pmutAfterStartMut ,
pmutAfterSelection ,
pmutAffinityExponent ,
pDivideAgAssymetric ,
polarityIndex ,
//R
radius ,
rateCBinflow ,
//S
StartMutation ,
smoothnessStopCBinflow ,
//T
timeStopCBinflow ,
Tcell_speed ,
Tcell_tp ,
Tcell_stddev ,
Tcell_tp_stddev ,
tcTime ,
tcRescueTime ,
tmax ,
tolight ,
testDelay ,
//W
widthPI ,
//Z
zoneRatioGC,
//------------------------End---------
N_par // Parameter counter, should be at the end always
};
class parameters
{
public:
parameters(int ,string );
parameters();
~parameters();
vector <double> par;
vector <string> names;
void init_param();
void writeparameters(string fname);
bool readparameters(string fname);
void convert_parameters ();
string parameter_file_name;
void matchFromHyphasma(hyphasmaParameter &hypar);
double Avogadro_constant;
string print();
};
#endif // PARAMETERS_H