-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathinputModel.m
71 lines (65 loc) · 1.87 KB
/
inputModel.m
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
% This is an input file for the GSHA procedure
%
% It should contain a list of names and location of geometry boundaries followed by a
% list of names for density values
%
% Single values for density files are allowed.
HOME = pwd;
Model = struct();
Model.number_of_layers = 9;
Model.name = 'Crust10_crust';
% Additional variables
Model.GM = 3.9860004415E14;
Model.Re_analyse = 6378136.30;
Model.Re = 6378136.30;
Model.geoid = 'none';
Model.nmax = 179;
Model.correct_depth = 0;
% % Topo layer
Model.l1.bound = [HOME '/Data/crust1.bd1.gmt'];
Model.l1.dens = [HOME '/Data/crust1.rho1.gmt'];
% %Model.l1.alpha =
% Bath layer
Model.l2.bound = [HOME '/Data/crust1.bd2.gmt'];
Model.l2.dens = [HOME '/Data/crust1.rho2.gmt'];
% %Model.l2.alpha =
%
% % Sediment layer
Model.l3.bound = [HOME '/Data/crust1.bd3.gmt'];
Model.l3.dens = [HOME '/Data/crust1.rho3.gmt'];
% %Model.l3.alpha =
%
% %Upper crustal layer
Model.l4.bound = [HOME '/Data/crust1.bd4.gmt'];
Model.l4.dens = [HOME '/Data/crust1.rho4.gmt'];
% %Model.l4.alpha =
%
% % Middle crustal layer
Model.l5.bound = [HOME '/Data/crust1.bd5.gmt'];
Model.l5.dens = [HOME '/Data/crust1.rho5.gmt'];
% %Model.l5.alpha =
%
% % Lower crustal layer
Model.l6.bound = [HOME '/Data/crust1.bd6.gmt'];
Model.l6.dens = [HOME '/Data/crust1.rho6.gmt'];
% %Model.l6.alpha =
%
% % Lower crustal body layer
Model.l7.bound = [HOME '/Data/crust1.bd7.gmt'];
Model.l7.dens = [HOME '/Data/crust1.rho7.gmt'];
% %Model.l7.alpha =
%
% % Lithosphere layer
Model.l8.bound = [HOME '/Data/crust1.bd8.gmt'];
Model.l8.dens = [HOME '/Data/crust1.rho8.gmt'];
% %Model.l8.alpha =
%
% % Asthenosphere crustal layer
Model.l9.bound = [HOME '/Data/crust1.bd9.gmt'];
Model.l9.dens = 3300;
% %Model.l9.alpha =
%
% % Bottom
Model.l10.bound = [HOME '/Data/crust1.100km.gmt'];
% Save model in .mat file for use of the new software
save([HOME '/Data/' Model.name '.mat'],'Model')