Find monitor position an writes MLST.input or MPGM.
input files.
26
29
30
31 implicit none
32
33 include 'SPEED.MPI'
34
35
36
37
38
39
40
41
42
43
47 endif
51 endif
52
53
55 write(*,'(A)')
56 write(*,'(A)') '--------------------Monitored points------------------'
57 endif
58
59
60
61
62
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
168 write(*,'(A)')
169 write(*,
'(A,I10)')
'Monitored points Peak Ground Map: ',
nmonitors_pgm
171 endif
172
173
174
175
176
177
178
179
182
183
186
190
191
193
196
198
199 !
write(*,*)
'mon' ,
i
203
212
213
219
220
221 enddo
222
223
224
225
228
229
233
235
245
246
247
249
250
251
252
254
263
266 enddo
268
276
277
278 endif
280
281 else
282
286
287 endif
288
289
291
292 else
293 write(*,'(A)') 'MLST key not found!'
294
295 endif
296
297
299 write(*,'(A)')
302 endif
303
305
306
307
308
309
311
314
317 enddo
318
321 else
323 endif
324
325
333 enddo
334 close(50)
335
337 endif
338
339
340
341
subroutine get_highest_node(nn_loc, ne_loc, zz_loc, loc_n_num, nnz
Computes the highest node of the mesh (z-dir)
subroutine get_indloc_from_indglo(local_el, nel_loc, ie, ic)
Returns local id from global id.
subroutine get_minvalues(i_glo, v_glo, n_glo, i_loc, n_loc, np)
Computes positions of minimum values.
subroutine get_nearest_node_pgm(nloc, xs, ys, zs, xt, yt, zt, nt, dist_min
Computes the nearest node with respet to (xt,yt,zt) starting from a given elevation.
subroutine get_pnt_pos_pgm(nb_el, aa11, aa12, aa13, aa21, aa22, aa23, aa31, aa32, aa33, bb11, bb12, bb13, bb21, bb22, bb23, bb31, bb32, bb33, gg1, gg2, gg3, dd1, dd2, dd3, x_true, y_true, z_true, el, xref, yref, zref,
Findes node coordinates in the reference element.
subroutine read_dime_filepg(filec, num_nodes)
Reads dimension of monitor files.
subroutine read_filepg(filec, num_nodes, x, y, z)
Reads LS.input file.
subroutine read_file_mpgm(filec, nmonitors_pgm, n_monitor_pgm, el_monitor_pgm, xr_monitor_pgm, yr_monitor_pgm, zr_monitor_pgm)
Reads files such as MLST.input, MLST.position or MPGM.input.
Contains SPEED PARAMETERS used in (SPEED, READ_INPUT_FILES, MAKE_PARTION_AND_MPI_FILES,...
real *8, dimension(:), allocatable y_monitor_lst
real *8, dimension(:), allocatable x_monitor_lst
real *8, dimension(:), allocatable dist_glo
real *8, dimension(:), allocatable delta2
real *8, dimension(:), allocatable gamma3
integer *4, dimension(:), allocatable local_el_num
real *8, dimension(:), allocatable gamma2
real *8, dimension(:), allocatable delta3
real *8, dimension(:), allocatable alfa23
real *8, dimension(:), allocatable beta13
character *70 monitor_file_new
real *8, dimension(:), allocatable alfa33
real *8, dimension(:), allocatable alfa11
real *8, dimension(:), allocatable beta21
real *8, dimension(:), allocatable yr_glo
real *8, dimension(:), allocatable dist_monitor_lst
real *8, dimension(:), allocatable delta1
real *8, dimension(:), allocatable zr_monitor_lst
real *8, dimension(:), allocatable beta23
real *8, dimension(:), allocatable zz_spx_loc
real *8, dimension(:), allocatable z_glo_real
real *8, dimension(:), allocatable yy_spx_loc
real *8, dimension(:), allocatable alfa13
integer *4, dimension(:), allocatable el_monitor_lst
real *8, dimension(:), allocatable y_glo_real
real *8, dimension(:), allocatable beta12
real *8, dimension(:), allocatable xr_glo
character *70 monitor_file
real *8, dimension(:), allocatable beta11
real *8, dimension(:), allocatable alfa31
integer *4, dimension(:), allocatable local_node_num
integer *4, dimension(:), allocatable el_glo
integer *4, dimension(:), allocatable sdeg_mat
real *8, dimension(:), allocatable x_glo_real
real *8, dimension(:), allocatable beta22
real *8, dimension(:), allocatable beta31
real *8, dimension(:), allocatable x_monitor_real
integer *4, dimension(:), allocatable con_spx_loc
real *8, dimension(:), allocatable alfa21
real *8, dimension(:), allocatable zr_glo
integer *4, dimension(:), allocatable n_monitor_lst
real *8, dimension(:), allocatable z_monitor_lst
real *8, dimension(:), allocatable alfa22
real *8, dimension(:), allocatable highest_lst_loc
real *8, dimension(:), allocatable beta33
integer *4, dimension(:), allocatable tag_mat
integer *4, dimension(:), allocatable n_glo
real *8, dimension(:), allocatable z_monitor_real
real *8, dimension(:), allocatable gamma1
real *8, dimension(:), allocatable xr_monitor_lst
real *8, dimension(:), allocatable alfa32
real *8, dimension(:), allocatable y_monitor_real
real *8, dimension(:), allocatable yr_monitor_lst
real *8, dimension(:), allocatable xx_spx_loc
integer *4, dimension(:), allocatable monit_files
real *8, dimension(:), allocatable beta32
real *8 depth_search_mon_lst
integer *4, dimension(:), allocatable elem_domain
real *8, dimension(:), allocatable alfa12