forked from jhdorsett/BforStrain
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparams.py
More file actions
executable file
·50 lines (42 loc) · 1.24 KB
/
params.py
File metadata and controls
executable file
·50 lines (42 loc) · 1.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
### Alpides configuration
gps_file = 'data/GNSS_velocities_alpides.txt'
creeping_file = []
origin = [32.5, 35]
lon_range = [-20,150]
lat_range = [5, 60]
nom_node_spacing = 400.
### West US configuration
gps_file = 'data/Zeng_vels_augmented_PA_JDF.txt'
creeping_file = 'data/creeping_faults.txt'
origin = [-120,34]
lon_range = [-127, -96]
lat_range = [26, 54]
nom_node_spacing = 100.
### Meshing parameters
# mesh decimation factor (speeds up runtime, useful for debugging large scenarios), set = 1 for no decimation
decimate = 1
# creeping patch length
patchL = 15.
#option to refine mesh in vicinity of GPS data
# 0 = no refinement, 1-4 provides some
refine_mesh = 0
refine = 1
nu = 0.25
Gshear = 1
betas = [35,40,45]
# Compute uncertainties?
uncertainty = False
# number of realizations of strain rate for each beta value
num = 50
# relative weight on fitting creep rate data (creeping faults)
Wcreep = 1
# optional two-step minimization of strain rates below threshold value
# set twostep = True or False
twostep = False
# relative weight (gamma) on minimizing strain rates below strain_threshold
# (micro-strain per year)
gamma = 400
#
strain_threshold = 9e-3 # micro-strain per year
minimize_xbound = [-600, 1000]
minimize_ybound = [-800, 1000]