-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimulation.carp
68 lines (58 loc) · 1.44 KB
/
simulation.carp
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
Simulation {
mesh : Mesh
input_file : string
output_folder : string
bidomain : bool
num_cores : int
stimulus : Stimulus // Needs to be linked to mesh in some way, partly for error checking that its valid
}
Mesh {
name : string // 'path/to/mesh'
heart_domains : list // ['Ventricle', 'Atrium', 'Purkinje']
tissue_domains : list
}
Heart {
cell_model : string // Check to make sure that this is valid
tag : list // Need to check all heart tags are here
} // Should also check that all tags are accounted for by the different tissue types
// or at least think of a warning (count extras as bath?)
Tissue {
tag : list
}
Ventricle {
tag : int
cell_model : string
g_kr : float
g_ks_factor : float
}
Atrium {
tag : int
cell_model : string
conductivity
}
Muscle {
tag : int
conductivity : float
}
Scar {
g_all : float
g_extracellular : float
}
Scar_1 {
tag: int
}
Scar_2 { // Define new areas of scar?
rho : float, float
phi : float, float
z : float, float
}
Stimulus {
tag_id : int // Want to define stimulus either by tagged domain, or by UVC or UAC
location : string // 'ventricle' | 'atrium'
rho : float, float
phi : float, float
z : float, float
current : float
duration : float
start : list of float
}