-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparameters.py
More file actions
41 lines (25 loc) · 749 Bytes
/
parameters.py
File metadata and controls
41 lines (25 loc) · 749 Bytes
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
#!/usr/bin/python
"""
Builds a parameter dictionary
"""
def get_parameters(lx, ly, ka, gamma, Lambda, eta, xi, lmin, delta_t):
parameters = {}
# Side length of box in x direction
parameters['lx'] = lx
# Side length of box in y directions
parameters['ly'] = ly
# ka - elastic area coefficient
parameters['ka'] = ka
# gamma - actin myosin contraction coefficient
parameters['gamma'] = gamma
# lambda - line tension coefficient
parameters['Lambda'] = Lambda
# eta - noise scaling coefficient
parameters['eta'] = eta
# xi - motility coefficient
parameters['xi'] = xi
# lmin - minimum bond length between two vertices
parameters['lmin'] = lmin
# delta t - time step
parameters['delta_t'] = delta_t
return parameters