ICON Community Interface 0.4.0
Loading...
Searching...
No Matches
comin_descrdata_query_global.inc
Go to the documentation of this file.
1! @authors 11/2023 :: ICON Community Interface <comin@icon-model.org>
2!
3! SPDX-License-Identifier: BSD-3-Clause
4!
5! Please see the file LICENSE in the root of the source tree for this code.
6! Where software is supplied by third parties, it is indicated in the
7! headers of the routines.
8
9! *** DO NOT EDIT MANUALLY! Generated by python script in utils/. DO NOT EDIT MANUALLY! *** !
10
12 & BIND(C, NAME="comin_descrdata_get_global_n_dom") &
13 & result(n_dom)
14
15 INTEGER(C_INT) :: n_dom
16 !
17 TYPE(t_comin_descrdata_global), POINTER :: p => null()
18
19 p => comin_descrdata_get_global()
20 IF (.NOT. .true.) THEN
21 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
22 & "ERROR: Pointer of n_dom not associated.")
23 END IF
24 n_dom = p%n_dom
26
28 & BIND(C, NAME="comin_descrdata_get_global_max_dom") &
29 & result(max_dom)
30
31 INTEGER(C_INT) :: max_dom
32 !
33 TYPE(t_comin_descrdata_global), POINTER :: p => null()
34
35 p => comin_descrdata_get_global()
36 IF (.NOT. .true.) THEN
37 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
38 & "ERROR: Pointer of max_dom not associated.")
39 END IF
40 max_dom = p%max_dom
42
44 & BIND(C, NAME="comin_descrdata_get_global_nproma") &
45 & result(nproma)
46
47 INTEGER(C_INT) :: nproma
48 !
49 TYPE(t_comin_descrdata_global), POINTER :: p => null()
50
51 p => comin_descrdata_get_global()
52 IF (.NOT. .true.) THEN
53 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
54 & "ERROR: Pointer of nproma not associated.")
55 END IF
56 nproma = p%nproma
58
60 & BIND(C, NAME="comin_descrdata_get_global_wp") &
61 & result(wp)
62
63 INTEGER(C_INT) :: wp
64 !
65 TYPE(t_comin_descrdata_global), POINTER :: p => null()
66
67 p => comin_descrdata_get_global()
68 IF (.NOT. .true.) THEN
69 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
70 & "ERROR: Pointer of wp not associated.")
71 END IF
72 wp = p%wp
74
76 & BIND(C, NAME="comin_descrdata_get_global_min_rlcell_int") &
77 & result(min_rlcell_int)
78
79 INTEGER(C_INT) :: min_rlcell_int
80 !
81 TYPE(t_comin_descrdata_global), POINTER :: p => null()
82
83 p => comin_descrdata_get_global()
84 IF (.NOT. .true.) THEN
85 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
86 & "ERROR: Pointer of min_rlcell_int not associated.")
87 END IF
88 min_rlcell_int = p%min_rlcell_int
90
92 & BIND(C, NAME="comin_descrdata_get_global_min_rlcell") &
93 & result(min_rlcell)
94
95 INTEGER(C_INT) :: min_rlcell
96 !
97 TYPE(t_comin_descrdata_global), POINTER :: p => null()
98
99 p => comin_descrdata_get_global()
100 IF (.NOT. .true.) THEN
101 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
102 & "ERROR: Pointer of min_rlcell not associated.")
103 END IF
104 min_rlcell = p%min_rlcell
106
108 & BIND(C, NAME="comin_descrdata_get_global_max_rlcell") &
109 & result(max_rlcell)
110
111 INTEGER(C_INT) :: max_rlcell
112 !
113 TYPE(t_comin_descrdata_global), POINTER :: p => null()
114
115 p => comin_descrdata_get_global()
116 IF (.NOT. .true.) THEN
117 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
118 & "ERROR: Pointer of max_rlcell not associated.")
119 END IF
120 max_rlcell = p%max_rlcell
122
124 & BIND(C, NAME="comin_descrdata_get_global_min_rlvert_int") &
125 & result(min_rlvert_int)
126
127 INTEGER(C_INT) :: min_rlvert_int
128 !
129 TYPE(t_comin_descrdata_global), POINTER :: p => null()
130
131 p => comin_descrdata_get_global()
132 IF (.NOT. .true.) THEN
133 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
134 & "ERROR: Pointer of min_rlvert_int not associated.")
135 END IF
136 min_rlvert_int = p%min_rlvert_int
138
140 & BIND(C, NAME="comin_descrdata_get_global_min_rlvert") &
141 & result(min_rlvert)
142
143 INTEGER(C_INT) :: min_rlvert
144 !
145 TYPE(t_comin_descrdata_global), POINTER :: p => null()
146
147 p => comin_descrdata_get_global()
148 IF (.NOT. .true.) THEN
149 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
150 & "ERROR: Pointer of min_rlvert not associated.")
151 END IF
152 min_rlvert = p%min_rlvert
154
156 & BIND(C, NAME="comin_descrdata_get_global_max_rlvert") &
157 & result(max_rlvert)
158
159 INTEGER(C_INT) :: max_rlvert
160 !
161 TYPE(t_comin_descrdata_global), POINTER :: p => null()
162
163 p => comin_descrdata_get_global()
164 IF (.NOT. .true.) THEN
165 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
166 & "ERROR: Pointer of max_rlvert not associated.")
167 END IF
168 max_rlvert = p%max_rlvert
170
172 & BIND(C, NAME="comin_descrdata_get_global_min_rledge_int") &
173 & result(min_rledge_int)
174
175 INTEGER(C_INT) :: min_rledge_int
176 !
177 TYPE(t_comin_descrdata_global), POINTER :: p => null()
178
179 p => comin_descrdata_get_global()
180 IF (.NOT. .true.) THEN
181 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
182 & "ERROR: Pointer of min_rledge_int not associated.")
183 END IF
184 min_rledge_int = p%min_rledge_int
186
188 & BIND(C, NAME="comin_descrdata_get_global_min_rledge") &
189 & result(min_rledge)
190
191 INTEGER(C_INT) :: min_rledge
192 !
193 TYPE(t_comin_descrdata_global), POINTER :: p => null()
194
195 p => comin_descrdata_get_global()
196 IF (.NOT. .true.) THEN
197 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
198 & "ERROR: Pointer of min_rledge not associated.")
199 END IF
200 min_rledge = p%min_rledge
202
204 & BIND(C, NAME="comin_descrdata_get_global_max_rledge") &
205 & result(max_rledge)
206
207 INTEGER(C_INT) :: max_rledge
208 !
209 TYPE(t_comin_descrdata_global), POINTER :: p => null()
210
211 p => comin_descrdata_get_global()
212 IF (.NOT. .true.) THEN
213 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
214 & "ERROR: Pointer of max_rledge not associated.")
215 END IF
216 max_rledge = p%max_rledge
218
220 & BIND(C, NAME="comin_descrdata_get_global_grf_bdywidth_c") &
221 & result(grf_bdywidth_c)
222
223 INTEGER(C_INT) :: grf_bdywidth_c
224 !
225 TYPE(t_comin_descrdata_global), POINTER :: p => null()
226
227 p => comin_descrdata_get_global()
228 IF (.NOT. .true.) THEN
229 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
230 & "ERROR: Pointer of grf_bdywidth_c not associated.")
231 END IF
232 grf_bdywidth_c = p%grf_bdywidth_c
234
236 & BIND(C, NAME="comin_descrdata_get_global_grf_bdywidth_e") &
237 & result(grf_bdywidth_e)
238
239 INTEGER(C_INT) :: grf_bdywidth_e
240 !
241 TYPE(t_comin_descrdata_global), POINTER :: p => null()
242
243 p => comin_descrdata_get_global()
244 IF (.NOT. .true.) THEN
245 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
246 & "ERROR: Pointer of grf_bdywidth_e not associated.")
247 END IF
248 grf_bdywidth_e = p%grf_bdywidth_e
250
252 & BIND(C, NAME="comin_descrdata_get_global_lrestartrun") &
253 & result(lrestartrun)
254
255 LOGICAL(C_BOOL) :: lrestartrun
256 !
257 TYPE(t_comin_descrdata_global), POINTER :: p => null()
258
259 p => comin_descrdata_get_global()
260 IF (.NOT. .true.) THEN
261 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
262 & "ERROR: Pointer of lrestartrun not associated.")
263 END IF
264 lrestartrun = p%lrestartrun
266
267 SUBROUTINE comin_descrdata_get_global_vct_a( vct_a, arr_size) &
268 & BIND(C, NAME="comin_descrdata_get_global_vct_a")
269
270 TYPE(c_ptr), INTENT(OUT) :: vct_a
271 INTEGER(C_INT), INTENT(INOUT) :: arr_size(1)
272 !
273 TYPE(t_comin_descrdata_global), POINTER :: p => null()
274 p => comin_descrdata_get_global()
275 IF (.NOT. ALLOCATED(p%vct_a)) THEN
276 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
277 & "ERROR: Pointer of vct_a not associated.")
278 END IF
279 arr_size = shape(p%vct_a)
280 vct_a = c_loc(p%vct_a)
282
284 & BIND(C, NAME="comin_descrdata_get_global_yac_instance_id") &
285 & result(yac_instance_id)
286
287 INTEGER(C_INT) :: yac_instance_id
288 !
289 TYPE(t_comin_descrdata_global), POINTER :: p => null()
290
291 p => comin_descrdata_get_global()
292 IF (.NOT. .true.) THEN
293 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
294 & "ERROR: Pointer of yac_instance_id not associated.")
295 END IF
296 yac_instance_id = p%yac_instance_id
298
299 SUBROUTINE comin_descrdata_get_global_host_git_remote_url( host_git_remote_url, arr_size) &
300 & BIND(C, NAME="comin_descrdata_get_global_host_git_remote_url")
301
302 TYPE(c_ptr), INTENT(OUT) :: host_git_remote_url
303 INTEGER(C_INT), INTENT(INOUT) :: arr_size(1)
304 !
305 TYPE(t_comin_descrdata_global), POINTER :: p => null()
306 p => comin_descrdata_get_global()
307 IF (.NOT. ALLOCATED(p%host_git_remote_url)) THEN
308 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
309 & "ERROR: Pointer of host_git_remote_url not associated.")
310 END IF
311 arr_size(1) = len_trim(p%host_git_remote_url)
312 host_git_remote_url = c_loc(p%host_git_remote_url)
314
315 SUBROUTINE comin_descrdata_get_global_host_git_branch( host_git_branch, arr_size) &
316 & BIND(C, NAME="comin_descrdata_get_global_host_git_branch")
317
318 TYPE(c_ptr), INTENT(OUT) :: host_git_branch
319 INTEGER(C_INT), INTENT(INOUT) :: arr_size(1)
320 !
321 TYPE(t_comin_descrdata_global), POINTER :: p => null()
322 p => comin_descrdata_get_global()
323 IF (.NOT. ALLOCATED(p%host_git_branch)) THEN
324 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
325 & "ERROR: Pointer of host_git_branch not associated.")
326 END IF
327 arr_size(1) = len_trim(p%host_git_branch)
328 host_git_branch = c_loc(p%host_git_branch)
330
331 SUBROUTINE comin_descrdata_get_global_host_git_tag( host_git_tag, arr_size) &
332 & BIND(C, NAME="comin_descrdata_get_global_host_git_tag")
333
334 TYPE(c_ptr), INTENT(OUT) :: host_git_tag
335 INTEGER(C_INT), INTENT(INOUT) :: arr_size(1)
336 !
337 TYPE(t_comin_descrdata_global), POINTER :: p => null()
338 p => comin_descrdata_get_global()
339 IF (.NOT. ALLOCATED(p%host_git_tag)) THEN
340 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
341 & "ERROR: Pointer of host_git_tag not associated.")
342 END IF
343 arr_size(1) = len_trim(p%host_git_tag)
344 host_git_tag = c_loc(p%host_git_tag)
346
347 SUBROUTINE comin_descrdata_get_global_host_revision( host_revision, arr_size) &
348 & BIND(C, NAME="comin_descrdata_get_global_host_revision")
349
350 TYPE(c_ptr), INTENT(OUT) :: host_revision
351 INTEGER(C_INT), INTENT(INOUT) :: arr_size(1)
352 !
353 TYPE(t_comin_descrdata_global), POINTER :: p => null()
354 p => comin_descrdata_get_global()
355 IF (.NOT. ALLOCATED(p%host_revision)) THEN
356 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
357 & "ERROR: Pointer of host_revision not associated.")
358 END IF
359 arr_size(1) = len_trim(p%host_revision)
360 host_revision = c_loc(p%host_revision)
362
364 & BIND(C, NAME="comin_descrdata_get_global_has_device") &
365 & result(has_device)
366
367 LOGICAL(C_BOOL) :: has_device
368 !
369 TYPE(t_comin_descrdata_global), POINTER :: p => null()
370
371 p => comin_descrdata_get_global()
372 IF (.NOT. .true.) THEN
373 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
374 & "ERROR: Pointer of has_device not associated.")
375 END IF
376 has_device = p%has_device
378
379 SUBROUTINE comin_descrdata_get_global_device_name( device_name, arr_size) &
380 & BIND(C, NAME="comin_descrdata_get_global_device_name")
381
382 TYPE(c_ptr), INTENT(OUT) :: device_name
383 INTEGER(C_INT), INTENT(INOUT) :: arr_size(1)
384 !
385 TYPE(t_comin_descrdata_global), POINTER :: p => null()
386 p => comin_descrdata_get_global()
387 IF (.NOT. ALLOCATED(p%device_name)) THEN
388 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
389 & "ERROR: Pointer of device_name not associated.")
390 END IF
391 arr_size(1) = len_trim(p%device_name)
392 device_name = c_loc(p%device_name)
394
395 SUBROUTINE comin_descrdata_get_global_device_vendor( device_vendor, arr_size) &
396 & BIND(C, NAME="comin_descrdata_get_global_device_vendor")
397
398 TYPE(c_ptr), INTENT(OUT) :: device_vendor
399 INTEGER(C_INT), INTENT(INOUT) :: arr_size(1)
400 !
401 TYPE(t_comin_descrdata_global), POINTER :: p => null()
402 p => comin_descrdata_get_global()
403 IF (.NOT. ALLOCATED(p%device_vendor)) THEN
404 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
405 & "ERROR: Pointer of device_vendor not associated.")
406 END IF
407 arr_size(1) = len_trim(p%device_vendor)
408 device_vendor = c_loc(p%device_vendor)
410
411 SUBROUTINE comin_descrdata_get_global_device_driver( device_driver, arr_size) &
412 & BIND(C, NAME="comin_descrdata_get_global_device_driver")
413
414 TYPE(c_ptr), INTENT(OUT) :: device_driver
415 INTEGER(C_INT), INTENT(INOUT) :: arr_size(1)
416 !
417 TYPE(t_comin_descrdata_global), POINTER :: p => null()
418 p => comin_descrdata_get_global()
419 IF (.NOT. ALLOCATED(p%device_driver)) THEN
420 CALL comin_plugin_finish("Message of comin_descrdata_query_global", &
421 & "ERROR: Pointer of device_driver not associated.")
422 END IF
423 arr_size(1) = len_trim(p%device_driver)
424 device_driver = c_loc(p%device_driver)
subroutine comin_descrdata_get_global_device_driver(device_driver, arr_size)
subroutine comin_descrdata_get_global_device_name(device_name, arr_size)
integer(c_int) function comin_descrdata_get_global_n_dom()
integer(c_int) function comin_descrdata_get_global_max_rledge()
subroutine comin_descrdata_get_global_host_git_branch(host_git_branch, arr_size)
integer(c_int) function comin_descrdata_get_global_grf_bdywidth_c()
integer(c_int) function comin_descrdata_get_global_min_rlcell_int()
integer(c_int) function comin_descrdata_get_global_min_rlcell()
logical(c_bool) function comin_descrdata_get_global_has_device()
integer(c_int) function comin_descrdata_get_global_wp()
integer(c_int) function comin_descrdata_get_global_nproma()
integer(c_int) function comin_descrdata_get_global_min_rledge()
integer(c_int) function comin_descrdata_get_global_yac_instance_id()
integer(c_int) function comin_descrdata_get_global_min_rledge_int()
subroutine comin_descrdata_get_global_host_git_remote_url(host_git_remote_url, arr_size)
subroutine comin_descrdata_get_global_host_revision(host_revision, arr_size)
integer(c_int) function comin_descrdata_get_global_min_rlvert()
subroutine comin_descrdata_get_global_device_vendor(device_vendor, arr_size)
integer(c_int) function comin_descrdata_get_global_max_dom()
integer(c_int) function comin_descrdata_get_global_grf_bdywidth_e()
subroutine comin_descrdata_get_global_vct_a(vct_a, arr_size)
subroutine comin_descrdata_get_global_host_git_tag(host_git_tag, arr_size)
integer(c_int) function comin_descrdata_get_global_max_rlcell()
integer(c_int) function comin_descrdata_get_global_min_rlvert_int()
logical(c_bool) function comin_descrdata_get_global_lrestartrun()
integer(c_int) function comin_descrdata_get_global_max_rlvert()